Skip to main content
POST
/
workflow
/
{id}
/
reset
Reset a workflow to re-run from after a specific step
curl --request POST \
  --url http://localhost:3001/workflow/{id}/reset \
  --header 'Content-Type: application/json' \
  --data '
{
  "stepName": "<string>",
  "reason": "<string>"
}
'
{
  "workflowId": "<string>",
  "runId": "<string>"
}

Path Parameters

id
string
required

The workflow ID to reset

Body

application/json
stepName
string
required

The name of the step to reset after

reason
string

Optional reason for the reset

Response

The workflow was reset successfully

workflowId
string

The original workflow ID

runId
string

The run ID of the new execution created by the reset