Skip to main content
GET
List workflow runs

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string<uuid>
required

Unique identifier for a workflow.

Query Parameters

per_page
integer
default:10

The maximum number of runs to return per page. Defaults to 10.

page_token
string

Opaque token from a previous response to retrieve the next page of results.

page
integer

Number of page. Stars from the first (1) page.

use_page_and_offset
boolean
default:false

When true, page with page and per_page and return a PagedRunsResponse (records, current_page, total_pages, ...) instead of a ListRunsResponse with next_page_token. Cannot be combined with page_token.

Response

A paginated list of workflow runs. The shape depends on use_page_and_offset: ListRunsResponse (cursor pagination with next_page_token) when it is false or omitted, PagedRunsResponse (page and offset pagination, like other list endpoints) when it is true.

A paginated list of workflow runs.

runs
object[]
required

The list of workflow runs.

next_page_token
string<byte> | null

Token to retrieve the next page of results, or null if there are no more results.

Example:

"eyJsYXN0UnVuSWQiOiJhYmMxMjMifQ=="