Restart a workflow run by creating a new run with the same input documents.
This endpoint:
Args: run_id: The ID of the workflow run to restart
Returns: WorkflowRun: The newly created run with status “running”
Restart a completed, errored, or cancelled run with the same inputs. A brand-new run is created withDocumentation Index
Fetch the complete documentation index at: https://docs.retab.com/llms.txt
Use this file to discover all available pages before exploring further.
lifecycle.kind set to running; the original run is left untouched.
The restart picks up the current published snapshot — not the snapshot the original run executed against. If you’ve published changes since the original run, the restart reflects them.
command_id is an optional idempotency key — replaying the same value never enqueues a second restart.
Successful Response
A stored workflow run record.
Slim, typed, discriminated. Engine-only state is segregated into
engine and excluded from API serialization (Field(exclude=True)).
The terminal state (success/error/cancelled) is encoded in
lifecycle, not spread across loose error / error_details
/ etc. fields.
Steps are NOT embedded — fetch via StepsView(run_id, ...) or the
GET /v1/workflows/runs/{run_id}/steps endpoint.
Organization that owns this run
Workflow + snapshot reference
Manual run started by a user from the dashboard.
Unique ID for this run
The run has been created but execution has not started.
All timing information
Input payloads supplied at run creation time