Skip to main content
POST

Headers

Path Parameters

Behavior

  • The batch status transitions to cancelling immediately
  • Once cancellation completes, status becomes cancelled
  • Requests already completed will remain in the output
  • In-progress requests may or may not complete

Usage Example

Cancellation cannot be undone. Any requests not yet processed will not be completed.
For complete Batch API documentation including file upload, JSONL format, and usage examples, see Create Batch.