API ReferenceBatch

Create batch

POST
/openai/v1/batches

Header Parameters

authorization?Authorization
Default""
xi-api-key?Xi-Api-Key
Default""

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/openai/v1/batches" \  -H "Content-Type: application/json" \  -d '{}'
null