Workflow Runs

A run is one execution of a published workflow. These endpoints are for watching runs and repairing the ones that get stuck.

GET /workflow-runs/{run_id} returns the run with its step execution timeline. Variable and step outputs are redacted before they are returned.

Repairing a run

ActionWhen to use it
retryThe run failed. It re-runs from the failed step; steps that already succeeded keep their outputs and are not re-executed.
refresh-statusThe run is waiting on a verification step and the webhook that should have advanced it never arrived. This re-checks the step with the verification provider and advances the run if it has resolved. Verification steps only.
cancelYou want to stop an in-progress or waiting run. External resources already created, such as verification links, are left as they are.

In this section

EndpointWhat it does
GET /workflow-runsList runs, newest first, filterable by status and definition
GET /workflow-runs/{run_id}Fetch one run with its step timeline
POST /workflow-runs/{run_id}/retryRe-run from the failed step
POST /workflow-runs/{run_id}/refresh-statusRe-check a waiting verification step
POST /workflow-runs/{run_id}/cancelCancel an in-progress or waiting run