Batch
Cancel batch
Cancel an LLM batch job by batch_id and get back the batch object with its status, input and output file IDs, and cancelling and cancelled timestamps.
POST
Cancel batch
Request Headers
Path Parameters
Response
The ID of the output file containing the batch results. Empty until the batch is completed.
The ID of the error file containing any errors that occurred during batch processing. Empty until errors occur.
The current status of the batch job.Available statuses:
VALIDATING- The input file is being validated before the batch can beginPROGRESS- Batch is in progressCOMPLETED- Batch processing completed successfullyFAILED- Batch processing failedEXPIRED- Batch exceeded deadlineCANCELLING- Batch is being cancelledCANCELLED- Batch was cancelled
Last modified on November 5, 2026
Cancel batch