v4
latestOpenAPI 3.1.02026-07-31155218294.8 KBCreate Openai Batch
Headers
Request body
The ID of an uploaded file that contains requests for the new batch.
The endpoint to be used for all requests in the batch. Currently /v1/chat/completions, /v1/completions, /v1/embeddings are supported.
The time frame within which the batch should be processed. Currently only 24h is supported.
Optional metadata to be stored with the batch.
Response
Successful Response
The batch ID.
The object type, which is always batch.
The API endpoint used for the batch.
The ID of the input file for the batch.
The time frame within which the batch should be processed.
The current status of the batch.
The ID of the output file.
The ID of the error file.
The Unix timestamp of when the batch was created.
The Unix timestamp of when the batch started processing.
The Unix timestamp of when the batch will expire.
The Unix timestamp of when the batch started finalizing.
The Unix timestamp of when the batch completed.
The Unix timestamp of when the batch failed.
The Unix timestamp of when the batch expired.
The Unix timestamp of when the batch started cancelling.
The Unix timestamp of when the batch was cancelled.
Metadata associated with the batch.
The model used for the batch.