OpenAPI 3.1.02026-08-226994571.1 MB

1e929292ddd5

batch

Retrieve Batch

Retrieves a batch. This is the equivalent of GET https://api.openai.com/v1/batches/{batch_id} Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/retrieve

Example Curl

curl http://localhost:4000/v1/batches/batch_abc123     -H "Authorization: Bearer sk-1234"     -H "Content-Type: application/json" 
get/{provider}/v1/batches/{batch_id}

Path parameters

providerstring nullable required
batch_idstring required

The ID of the batch to retrieve

The ID of the batch to retrieve

Response

Successful Response

{"stackTrail":"paths:/{provider}/v1/batches/{batch_id}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}