Runs
List Runs
List workflow runs with pagination and optional filters.
GET
List workflow runs across one or more workflows. The endpoint supports id pagination plus a rich set of filters: by workflow, by status, by trigger type, by date range, by cost / duration, and by free-text run-ID search.
Pagination uses
before / after cursors:
- Pass the last
idfrom a page asafterto get the next page. - Pass the first
idfrom a page asbeforeto get the previous page.
statusfilters to a single run status (e.g."completed").trigger_typefilters to a single trigger type (e.g."api").from_date/to_dateaccept eitherYYYY-MM-DDstrings or Pythondateobjects (the SDK serializes them).fieldslets you slim the response down to just the keys you need (e.g."id,lifecycle,timing").
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter by workflow ID
Filter by run status
Available options:
pending, queued, running, completed, error, failed, awaiting_review, cancelled Exclude runs with this status
Available options:
pending, queued, running, completed, error, failed, awaiting_review, cancelled Filter by trigger type
Available options:
manual, api, schedule, webhook, email, restart Filter runs created on or after this date (YYYY-MM-DD)
Filter runs created on or before this date (YYYY-MM-DD)
Filter runs with duration >= this value in milliseconds
Filter runs with duration <= this value in milliseconds
Search by run ID (partial match)
Items per page
Required range:
1 <= x <= 100Available options:
asc, desc