runs
Replay a run
Changed onCreates a new run with the same payload and options as the original run, in the same environment. Send a body to override the payload, metadata, or trigger options for the new run. The body is optional; an empty body replays the run unchanged.
post/api/v1/runs/{runId}/replay
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"tags": "user_123456",
"machine": "small-2x"
}Response
Successful request
Changes
- info
added optional request body
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the
Failed to create new runenum value from theresponse property for the response status - info
removed the
Invalid or missing run IDenum value from theresponse property for the response status
- info