List Agent Runs
List an agent’s runs, newest first.
The filters are exactly the ones listed here. A query parameter this list does not accept is a 400 naming it, never silently ignored.
This endpoint is in beta: it is available to workspaces granted
durable_runs_access, and every other workspace receives
402 durable_runs_not_in_plan.
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
Agent id (prefixed external id, agent_...).
Headers
Query parameters
Narrow the list to one run status. Omit for every status. A value
outside the enum is rejected with a 400 naming status, rather than
quietly widening to everything - a filter that ignores a typo is how a
surface reports “nothing waiting” while a run waits.
Narrow the list to runs acting for one person - the user_identity
they were started with, matched exactly. Omit for every run. A
scheduled run started by a trigger carrying user_identity is found
here too.
Max items per page (default 50, max 200).
Response headers
Response
Opaque keyset cursor for the next page. Pass back as the
cursor request parameter. null when the caller has
reached the end of the list (has_more is also false
in that case).