List task runs
Changed onReturns a list of task run records for the current account, ordered by most recent first. Supports filtering by status, task_id and created_after. To find runs that went wrong across every task, make one call without task_id, e.g. status=failed,unknown&created_after=<last check>, rather than one call per task. The same one call with only created_after (e.g. the start of today in the user's timezone) answers what ran today: each run names its task in task_name.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Query parameters
Filter by run status: one of pending, running, completed, failed, needs_input, unknown, skipped, cancelled, or a comma-separated list of them (e.g. failed,unknown)
Filter by what started the run: scheduled, event or manual, or a comma-separated list. event lists the events a task received; each run carries its trigger_event.
Only runs created at or after this ISO 8601 timestamp
Filter by the parent task's prefixed ID
Only the runs of this chat (aichat_...): the run that started it and every follow-up message after it. A run id resolves to its chat.
Cursor for pagination — the ID of the last item in the previous page
Unix seconds, exact match
Unix seconds or an ISO 8601 time, exact match
Only return objects created in this window. Pass a Unix timestamp in seconds for an exact match, or bound it with created[gt], created[gte], created[lt] and created[lte], which combine: created[gte]=1735689600&created[lt]=1738368000 is January 2025. ISO 8601 times work too (created[gte]=2025-01-01T00:00:00Z), so a created_at from a response can be passed back as is, and an ISO 8601 date (created[gte]=2025-01-01) is that whole UTC day. Timestamps are in seconds: a value in milliseconds is rejected with 400 parameter_invalid.
Items per page
Response
List of task runs
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
2 more changes in this revision
- warning