cURL
curl --request POST \ --url http://localhost:3001/workflow/{id}/reset \ --header 'Content-Type: application/json' \ --data ' { "stepName": "<string>", "reason": "<string>" } '
{ "workflowId": "<string>", "runId": "<string>" }
Resets a workflow execution to the point after a completed step, creating a new run that replays from that point. The current execution is terminated.
The workflow ID to reset
The name of the step to reset after
Optional reason for the reset
The workflow was reset successfully
The original workflow ID
The run ID of the new execution created by the reset