cURL
curl --request GET \ --url http://localhost:8080/v1/batches/{batch_id} \ --header 'x-model-provider: <x-model-provider>'
{ "id": "<string>", "object": "<string>", "endpoint": "<string>", "input_file_id": "<string>", "completion_window": "<string>", "status": "validating", "request_counts": { "total": 123, "completed": 123, "failed": 123 }, "created_at": 123, "expires_at": 123, "in_progress_at": 123, "completed_at": 123, "failed_at": 123, "output_file_id": "<string>", "error_file_id": "<string>", "extra_fields": "<unknown>" }
Retrieves details of a specific batch job.
The model provider
The ID of the batch to retrieve
Batch details
validating
failed
in_progress
finalizing
completed
expired
cancelling
cancelled
Show child attributes
Was this page helpful?