List Task Runs

Retrieve a paginated list of task runs for a specific task. Task runs provide an audit trail of all task executions, including: - Input parameters used - Execution status and timing - Resource usage metrics (tokens, credits) - Output results - Error information for failed runs - Fallback model usage information This endpoint supports: - Pagination using cursor-based navigation - Filtering by a created-time date range - Filtering by task revision - Filtering by status (success/error) - Sorting by creation time (newest first) Common use cases: 1. Monitoring task execution history 2. Auditing task usage and performance 3. Debugging task behavior across multiple runs 4. Analyzing task output patterns 5. Tracking fallback model usage and reliability

Authentication

AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

OR
AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

Path parameters

org_idstringRequiredformat: "uuid"
The unique identifier of the organization.
project_idstringRequiredformat: "uuid"
The unique identifier of the project.
task_idstringRequiredformat: "uuid"
The specific Task to reference.

Query parameters

page_limitinteger or nullOptional1-100Defaults to 100

The maximum number of items to return per page. Defaults to 100 if not specified.

cursorstring or nullOptionalformat: "uuid"

A cursor for pagination. Use the next_cursor value from the previous response to get the next page of results.

statusenum or nullOptional
Filter by task run status
Allowed values:
task_revision_idstring or nullOptionalformat: "uuid"
Filter task runs by revision ID
start_datestring or nullOptional

Start date for the listing (e.g., ‘2023-06-01’, ‘24 hours ago’, ‘yesterday’). Defaults to 7 days before end_date or now.

end_datestring or nullOptional

End date for the listing (e.g., ‘2023-06-30’, ‘now’, ‘today’). Defaults to now.

include_event_trigger_idbooleanOptionalDefaults to false

If true, include event_trigger_id for each task run in results.

Response

Successfully retrieved task runs
resultslist of objects
The list of items returned for the current page.
paginationobject or nullOptional
Contains pagination information for the result set.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error