Skip to main content
GET
Retrieves a batch.

Authorizations

Authorization
string
header
required

Use the following format for authentication: Bearer

Path Parameters

batch_id
string
required

The ID of the batch to retrieve.

Response

The Batch object matching the specified ID.

id
string
Example:

"batch_rdyqgrcgjg"

object
string
Example:

"batch"

endpoint
string
Example:

"/v1/chat/completions"

errors
string[]
Example:
input_file_id
string
Example:

"file-jkvytbjtow"

completion_window
string
Example:

"24h"

status
string
Example:

"in_queue"

output_file_id
string
Example:

null

error_file_id
string
Example:

null

created_at
integer
Example:

1741685413

in_progress_at
integer
Example:

null

expires_at
integer
Example:

1741771813

finalizing_at
integer
Example:

null

completed_at
integer
Example:

null

failed_at
integer
Example:

null

expired_at
integer
Example:

null

cancelling_at
integer
Example:

null

cancelled_at
integer
Example:

null

request_counts
object
Example:
metadata
object