cURL
curl --request GET \ --url http://localhost:8080/v1/batches/{batch_id}/results \ --header 'x-model-provider: <x-model-provider>'
{ "batch_id": "<string>", "results": [ { "custom_id": "<string>", "response": { "status_code": 123, "request_id": "<string>", "body": {} }, "error": { "code": "<string>", "message": "<string>" } } ], "has_more": true, "extra_fields": "<unknown>" }
Retrieves the results of a completed batch job.
The model provider
The ID of the batch
Batch results
Show child attributes
Was this page helpful?