runs
Cancel a run
Changed onCancels an in-progress run. If the run is already completed, this will have no effect.
post/api/v2/runs/{runId}/cancel
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful request
Example response
{
"id": "run_1234"
}Changes
- info
endpoint added
- info