runs
List Runs
List all runs.
get/v1/runs/
Query parameters
agent_idsstring[] nullable
The unique identifier of the agent associated with the run.
The unique identifier of the agent associated with the run.
backgroundboolean nullable
If True, filters for runs that were created in background mode.
If True, filters for runs that were created in background mode.
stop_reason'end_turn' | 'error' | 'llm_api_error' | 'invalid_llm_response' | 'invalid_tool_call' | 'max_steps' | 'no_tool_call' | 'tool_rule' | 'cancelled' | 'requires_approval'
Filter runs by stop reason.
afterstring nullable
Cursor for pagination
Cursor for pagination
beforestring nullable
Cursor for pagination
Cursor for pagination
limitinteger nullable
Maximum number of runs to return
Maximum number of runs to return
activeboolean
Filter for active runs.
Filter for active runs.
ascendingboolean
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
Response
Successful Response
Example response
[
{
"id": "run-123e4567-e89b-12d3-a456-426614174000"
}
]