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
- Execution identity and entry-point 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:
- Monitoring task execution history
- Auditing task usage and performance
- Debugging task behavior across multiple runs
- Analyzing task output patterns
- Tracking fallback model usage and reliability
Authentication
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.
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
Query parameters
The maximum number of items to return per page. Defaults to 100 if not specified.
A cursor for pagination. Use the next_cursor value from the previous response to get the next page of results.
Start date for the listing (e.g., ‘2023-06-01’, ‘24 hours ago’, ‘yesterday’). Defaults to 7 days before end_date or now.
End date for the listing (e.g., ‘2023-06-30’, ‘now’, ‘today’). Defaults to now.
If true, include event_trigger_id for each task run in results.