List all waiting instances for an organization

Returns paginated list of workflow instances currently waiting for external events. Supports filtering by workflow_id and event_name. Pages by cursor with after_id or before_id. A wait state has no single id, so a cursor is "<instance_id>:<step_index>", the instance_id and step_index of a row from a previous response. The default order is timeout_at ascending with rows that have no timeout last; ties break on instance_id then step_index.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Filter by workflow ID

string

Filter by event name

integer
1 to 100

Page size (default: 10, max: 100)

string

Return the page after this position: either the opaque next_cursor from a previous response, or a bare wait state row id of the form <instance_id>:<step_index>. Mutually exclusive with before_id

string

Return the page before this position: either the opaque prev_cursor from a previous response, or a bare wait state row id of the form <instance_id>:<step_index>. Mutually exclusive with after_id

string
enum

Sort column (default: timeout_at ascending, rows without a timeout last)

Allowed:
string
enum

Sort direction; requires sort_by

Allowed:
boolean

Superuser only: filter by internal flag

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json