Overview
Returns a cursor-paginated list of runs for an environment. Filter by status, task identifier, tags, date range, and more. Two variants exist:| Endpoint | Auth | Scope |
|---|---|---|
GET /api/v1/runs | Secret key | Current environment only |
GET /api/v1/projects/{projectRef}/runs | PAT | All environments in a project |
Endpoint (secret key)
Query parameters
Number of results per page. Defaults to 20.
Return runs created after this run ID. Used for forward pagination.
Return runs created before this run ID. Used for backward pagination.
Filter by run status. Accepted values:
PENDING_VERSION, QUEUED, EXECUTING, REATTEMPTING, FROZEN, COMPLETED, CANCELED, FAILED, CRASHED, INTERRUPTED, SYSTEM_FAILURE.Filter by one or more task identifiers.
Filter by one or more tags attached to runs.
Return runs created at or after this date-time.
Return runs created at or before this date-time.
Filter by worker version, e.g.
["20240523.1"].When
true, return only test runs. When false, exclude test runs.Filter by schedule ID (e.g.
sched_1234).Filter by bulk action ID.
Endpoint (Personal Access Token)
The project reference, e.g.
proj_yubjwjsfkxnylobaqvqz.Filter by environment. One or more of
dev, staging, prod.Response
Array of run summary objects.
Cursor pagination handles.