Runs
POST /v1/runs/stop
Stop a queued run and release its hold.
POST /v1/runs/stopHeaders
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <api-key> |
Content-Type | Yes | application/json |
Body
| Field | Type | Required | Description |
|---|---|---|---|
runId | string | Yes | Run ID |
Only READY runs are stoppable (stoppable: true). Otherwise 409. Remaining hold is released. Work that already started is not cancelled.
curl -X POST https://api.toolplexer.com/v1/runs/stop \
-H "Authorization: Bearer tpl_live_..." \
-H "Content-Type: application/json" \
-d '{"runId":"RUN_ID"}'
ToolPlexer