Skip to main content
POST
/
workflow
/
{id}
/
runs
/
{rid}
/
reset
Reset a specific workflow run to re-run from after a completed step
curl --request POST \
  --url http://localhost:3001/workflow/{id}/runs/{rid}/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

rid
string<uuid>
required

The specific run 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