Create batch
POST
This feature is in Private Preview. For access or more information, contact us or reach out to your account representative.
Request
The ID of an uploaded file that contains requests for the batch job.The file must follow these constraints:
- Max size of 200 MB
- Uploaded with
purpose: "batch" - Max 50,000 requests
The API endpoint for batch processing. Currently only
/v1/chat/completions is supported.Key-value pairs that can be attached to an object. Optional custom metadata for the batch job. Useful for organizing and tracking batch jobs.
Response
The current status of the batch job. Possible values:
queued, in_progress, finalizing, completed, expired, failed, cancelled, cancelling.
