cancel batch
cancel_batchCancel an in-flight batch job to stop further processing. Work already completed before cancellation may still be billed.
Instructions
Request cancellation of an in-flight batch job. POST /v1/batches/{id}/cancel (API-key scope: platform:write). Returns: 200 with the updated batch object (status typically CANCELLING or CANCELLED) Notes: OWNER/ADMIN only (403). 404 "Batch not found". Audited. 404 while the batch feature flag is off. Work already completed before cancellation may still be billed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The platform batch id. |