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"}

Changes

Changed in 1 of the 42 revisions of this API.2

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog