Update a workflow run's run-level state
Updates a workflow run with status, trigger context, and error information. Step-level data is recorded via the granular endpoints (POST /workflow-runs/[id]/steps and PATCH /workflow-run-steps/[stepId]). Requires Bearer token authentication.
Authorizations
Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.
Path Parameters
Unique identifier of the workflow run
1Body
New status for the workflow run
PENDING, RUNNING, COMPLETED, FAILED, CANCELLED Override the completion timestamp; defaults to server time when transitioning to a terminal state
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Human-readable error detail; provide when status=FAILED
Aggregated run-level counters; set on the terminal PATCH
Trigger context captured when the run started; set on the first PATCH that transitions to RUNNING

