# GET /opportunities/:opportunity_id/timeline

**Resource:** [JOB_COSTING](./job-costing.md)  
**MCP tool:** `get_job_timeline`  
**Scopes:** `work-orders:read`  
**Write operation:** no

A job's work orders as a timeline (Gantt): each with its title, status, start day (schedule_date) and end day (end_date, or the start day for a one-day job; both null when it has no schedule date yet), whether it is a milestone, the work orders it waits for (depends_on), and clash (the ids of those it is booked to start before the last day of). Ordered by start day. Free read.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `opportunity_id` | path | string | yes | UUID of the opportunity (the job), from list_opportunities. |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/opportunities/:opportunity_id/timeline"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`