List Runs
List all runs.
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
agent_ids
The unique identifier of the agent associated with the run.
background
If True, filters for runs that were created in background mode.
after
Cursor for pagination
before
Cursor for pagination
limit
Maximum number of runs to return
ascending
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
Response
Successful Response
created_by_id
The id of the user that made this object.
last_updated_by_id
The id of the user that made this object.
created_at
The unix timestamp of when the job was created.
updated_at
The timestamp when the object was last updated.
status
The status of the job.
completed_at
The unix timestamp of when the job was completed.
metadata
The metadata of the job.
job_type
Allowed values:
callback_url
If set, POST to this URL when the job completes.
callback_sent_at
Timestamp when the callback was last attempted.
callback_status_code
HTTP status code returned by the callback endpoint.
callback_error
Optional error message from attempting to POST the callback endpoint.
ttft_ns
Time to first token for a run in nanoseconds
total_duration_ns
Total run duration in nanoseconds
id
The human-friendly ID of the Run
request_config
The request configuration for the run.