List agent runs
Changed onRetrieve a paginated list of agent runs with optional filtering. Results default to sort_by=updated_at and sort_order=desc.
Request
- Base URLhttps://app.warp.dev/api/v1
- AuthHTTP bearer
Query parameters
Maximum number of runs to return
Pagination cursor from previous response
Sort field for results.
- updated_at: Sort by last update timestamp (default)
- created_at: Sort by creation timestamp
- title: Sort alphabetically by run title
- agent: Sort alphabetically by skill. Runs without a skill are grouped last.
Sort direction
Filter by run state. Can be specified multiple times to match any of the given states.
Filter by high-level task status. Can be specified multiple times to match any value. running matches when the root or any descendant is queued, pending, claimed, or in progress. failed, blocked, cancelled, and complete match the root state only.
Filter by agent config name
Filter by model ID
Filter by creator UID (user or service account)
Filter by the user or agent that executed the run. This will often be the same as the creator, but not always: users may delegate tasks to agents.
Filter by run source type. Can be specified multiple times to match any of the given sources.
Execution location of the run's latest execution, including ended executions:
- LOCAL: The latest execution is assigned to the machine running Warp or Oz, or to the same process as its cloud parent.
- REMOTE: The latest execution is remote or unassigned, or the run has no executions. This is not a liveness indicator. A newer execution can change the classification; the task's legacy worker assignment is ignored.
Filter by where the run executed
Filter runs created after this timestamp (RFC3339 format)
Filter runs created before this timestamp (RFC3339 format)
Filter runs updated after this timestamp (RFC3339 format)
Filter runs by environment ID. Passing the literal value empty-environment matches runs with no environment configured, rather than omitting the parameter, which applies no environment filter at all. empty-environment can never collide with a real environment ID: every environment ID is exactly 22 characters drawn from [A-Za-z0-9], while this sentinel contains a hyphen and is a different length.
Filter runs by skill spec (e.g., "owner/repo:path/to/SKILL.md"). Alias for skill_spec.
Filter runs by skill spec (e.g., "owner/repo:path/to/SKILL.md")
Filter runs by the scheduled agent ID that created them
Filter runs by one or more factories. Repeating this parameter matches runs executed by an agent from any selected factory. A UID outside the caller's accessible factories matches nothing.
Filter runs by ancestor run ID. The referenced run must exist and be accessible to the caller.
Filter by exact metadata key/value pairs using object notation (e.g. metadata[ticket_id]=ACME-238), combining multiple pairs with AND semantics, up to 5 per request. Returns feature_not_available when metadata filtering is not enabled.
Filter runs by artifact type
Search by full run ID or run URL, or fuzzy match across run title, prompt, and skill_spec
Headers
UID of the team to use as the request's active team. Ignored for service-account callers, which always act as their bound team.
Response
List of runs
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status
- info
- breaking
response property
runs/items/agent_config/credential_strategylist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
added
subschema #1to the////response propertyoneOflist for the response status - breaking
the
////response's property type changed fromstringto no type for status - breaking
removed the required property
//////////from the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
/////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
removed the
CREATORenum value from the///response property for the response status - info
removed the
EXECUTORenum value from the///response property for the response status - info
removed the
claudeenum value from the////response property for the response status - info
removed the
codexenum value from the////response property for the response status - info
removed the
geminienum value from the////response property for the response status - info
removed the
ozenum value from the////response property for the response status - info
added the required property
/////to the response with the status
- breaking