Preview a retry of a failed workflow run
Show what a retry of a failed or timed-out run does: the actions that run again, and the actions that can change another system again. When the run cannot be retried, the response is 200 with retryable false, and refusal says why. This changes nothing.
To retry, send planVersion to retryWorkflowRun. When fromSlug is not the failed action, also send the slug of each CONFIRM action.
API key must have the Run workflows permission and the workflow must be runnable via API.
Authorizations
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Path Parameters
The tag or unique, auto-generated identifier for the workflow. Entity identifier - can be a tag or CID
The ID of the failed run
Query Parameters
The action to start the retry from. Defaults to the failed action. To start in a child run, use <Run Workflow action slug>/<child action slug>.
Response
The retry plan, or why the run cannot be retried
True when the run can be retried. Then plan and planVersion are set.
The actions that the retry runs
Identifies this plan. Send it to the retry endpoint, which refuses the retry with PLAN_CHANGED when the plan is different.
Why the run cannot be retried. Set only when retryable is false.