Batch API
Cancel Batch
Cancel a running batch job.
POST
Documentation Index
Fetch the complete documentation index at: https://budecosystem-b7b14df4.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Headers
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer authentication header |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| batch_id | string | Yes | The ID of the batch to cancel |
Behavior
- The batch status transitions to
cancellingimmediately - Once cancellation completes, status becomes
cancelled - Requests already completed will remain in the output
- In-progress requests may or may not complete
Usage Example
For complete Batch API documentation including file upload, JSONL format, and usage examples, see Create Batch.