List an agent's runs

Returns a paginated list of the agent's runs, newest first. Transcripts are omitted — fetch a single run to get its transcript.

get/agents/{id}/runs

Path parameters

idstring required

The unique identifier of the agent

Query parameters

cursorstring

Opaque cursor from a previous response's next_cursor. Omit for the first page.

limitinteger

Response

Paginated list of runs

next_cursorstring nullable

Opaque cursor for the next page. Null when no more pages.

limitinteger

Changes