Rerun
POST/runs/:run_id/rerun
Re-execute a run by creating a new Run record.
Creates a fresh Run with the same dataset_version_id, run_config,
and pipeline as the original. A hosted rerun is enqueued for the
pipeline worker; an external rerun gets a fresh upload token instead,
same split as POST /runs. The original run record is unchanged.
Checkpoint/resume in the pipeline executor handles skipping already-completed steps.
Returns 422 if the original pipeline is not one a caller may create directly, if its dataset version is no longer golden (no longer the version this dataset's metrics score), or if a locked test-plan's config no longer matches what was originally recorded. A 500 can surface if the run's own project record no longer exists.
Requires workspace_editor or workspace_admin (or platform admin).
Request
Responses
- 202
- 403
- 404
- 422
- 500
Successful Response
Forbidden
Not Found
Unprocessable Entity
Internal Server Error