Skip to navigation

Get workflow instances

View as Markdown
Returns a paginated list of workflow instances across all workflow definitions for the specified account.

Authentication

AuthorizationBearer

Path parameters

accountIdstringRequiredformat: "^[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$"
The unique identifier of the account.

Query parameters

started_by_idstringOptional

Filter instances by the user who started them. Non-admin users without MANAGE permission will always be restricted to their own userId, and any attempt to filter by another userId will result in a 403 Forbidden response.

workflow_definition_idlist of stringsOptional
Filter instances by one or more workflow definition IDs. Repeat the parameter for multiple values.
statusenumOptional
Filter instances by status.
ctokenstringOptional
Opaque token returned from a previous response to retrieve the next page of results. Omit to retrieve the first page.
page_sizeintegerOptionalDefaults to 10
Number of items per page.

Response

A paginated list of workflow instances for the specified account.
instanceslist of objects
total_set_sizeinteger
Approximate total number of matching workflow instances across all pages. This value is evaluated once at the start of the query and cached for subsequent pages, so it may not reflect additions or deletions that occur after the initial request.
result_set_sizeinteger
Number of items returned in the current page.
ctokenstring or null
Opaque token to retrieve the next page of results. Null when there are no more pages. Pass this value as the ctoken query parameter in the next request.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error