Batches
Retrieve Batch
GET
Retrieves a batch.
Path Parameters
string
required
The ID of the batch to retrieve.
Response
Returns theBatch object matching the specified ID.
string
The batch ID.
string
The object type, always
batch.string
The OpenAI API endpoint used by the batch.
string
The current status of the batch.
object
The request counts for different statuses within the batch.
string
The ID of the file containing the outputs of successfully executed requests.
string
The ID of the file containing the outputs of requests with errors.
integer
The Unix timestamp (in seconds) for when the batch was created.
integer
The Unix timestamp (in seconds) for when the batch was completed.