Fail the current step and run
Marks the current step as failed, then fails the entire run.
All remaining pending steps are also marked as failed.
Authorizations
Service-to-service API key
Headers
Required API key permission: valid (informational only -- enforced server-side)
Path Parameters
UUID of the workflow run
Response
Step and run failed
Workflow run record (from WorkflowRunModel.to_dict())
Run UUID
Workflow type (e.g., sage, sage-nc)
Current state of the workflow run:
queued-- created but not yet startedrunning-- actively executing stepsfinished-- all steps completed successfullyfailed-- a step failed or out-of-order transitioncanceled-- manually cancelled
queued, running, finished, failed, canceled Progress percentage
0 <= x <= 100ID of the currently running step (null when ended)
When the run was created
When the run ended (null if still running)
Total run duration in milliseconds
Total number of steps in this run
Run result data
Error details (e.g., {"message": "Run canceled"})
Navigation metadata for the run