Transition run to next step
Ends the current step and starts the named step. The step_name must match the next expected step in the workflow sequence. If the step is out of order, the entire run is 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
Name of the step to transition to (must be the next step in order)
Response
Transition successful
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