Skip to main content
GET
Get run status
Poll the run with the same credential used to create it. Only the run’s requester in its workspace can see its status. Requires the automations:write scope.

Authorizations

x-api-key
string
header
required

An Avazal API key (avz_…) created in Settings → API keys.

Query Parameters

runId
string
required

The run id returned by runs.create.

Pattern: ^arun_[\s\S]*?$

Response

Success

runId
string
required

The run id returned by runs.create.

Pattern: ^arun_[\s\S]*?$
state
enum<string>
required
Available options:
queued,
working,
needs_input,
review,
done,
failed,
cancelled,
undone
terminal
boolean
required

True when the run is done, failed, cancelled or undone. Stop polling.

updatedAt
string
required