Skip to main content
GET
List a run's structural timeline
The reference panel describes the current v3 operation. The notes below describe its v2 compatibility API. Follow the v3 request schema for current calls: v3 can move identifiers from the body or query into the URL. Keep the v2 method, path, and payload together when using the compatibility API.

v2 compatibility notes

Milestones only

The structural timeline is the run’s milestones. Tool calls, model messages, error payloads and cost amounts are not returned; use GET /api/v2/runs/get for status and outputs and GET /api/v2/cost/summary for cost. Each item is one milestone, oldest first by sequence: a checkpoint, handoff_initiated, handoff_completed, guardrail_tripped, intervention, cost_milestone, error or completion, with its timestamp and, when the runtime recorded them, durationMs, traceId and spanId (otherwise null). An item never names the agent, the tool, the runtime provider or a token or cost amount.

Visibility and paging

You need runs:read at the run’s home (its own org unit, else its workflow’s owning org unit) and at every company it carries, the same rule as GET /api/v2/runs/get. Any other run, and a run with neither home, answers 404 like a missing one. limit is 1 to 100 (default 25; a larger value is 400 too_big). A page may be shorter than limit while meta.hasMore is true; follow meta.nextCursor as cursor until hasMore is false. A cursor the server cannot read answers 400. A running run’s timeline grows; the last page ends with meta.nextCursor: null, so read again from the start (without cursor) to pick up later milestones, and use sequence to skip the ones you already have.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Path Parameters

runId
string
required

Query Parameters

cursor
string
limit
integer
default:25
Required range: 1 <= x <= 100

Response

One page of the run's milestones

data
object[]
required
meta
object
required

A list page's continuation. While hasMore is true, nextCursor is a string: pass it as cursor for the next page. hasMore: false ends the list; with truncated: true, more exist past what this list reads, and no cursor reaches them.