Skip to navigation

List automation runs

Beta

List the automation’s runs, newest first, with offset pagination and an optional run_status filter. Use next_offset for the next page. A run’s inputs and starting events are returned only to its subject (who started it, or the owner of the trigger that did) and its participants (its approvers); for everyone else they are null and empty, and the run’s status, timing and cost are still returned.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

asset_idstringRequired
Unique identifier of the automation asset

Headers

X-Athena-Session-CredentialstringOptional

Query parameters

run_statuslist of strings or nullOptional

Only runs in these statuses (scheduled, queued, running, needs_input, completed, failed, canceled). Repeat the parameter or pass a comma-separated list.

limitintegerOptional1-200Defaults to 50

Maximum number of runs per page (1-200)

offsetintegerOptional>=0Defaults to 0
Number of runs to skip for pagination

Response

One page of runs
has_moreboolean
itemslist of objects
limitinteger
next_offsetinteger or null
Offset for the next page, null when there is none
offsetinteger
totalinteger
Runs matching the filter

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error