Retrieve a batch

Retrieve details of a batch processing job.

Path parameters

batch_idstringRequired

The unique identifier of the batch to retrieve. Format: batch_xxxxx

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

Response

Batch details.
idstring
Batch ID.
statusenum
Batch status.
input_file_idstring
output_file_idstring or null

Output file ID (available when completed).

error_file_idstring or null

Error file ID (if errors occurred).

endpointstring
completion_windowstring
created_atinteger
completed_atinteger or null
request_countsobject
metadataobject

Errors

401
Unauthorized Error
404
Not Found Error