latestOpenAPI 3.1.02026-08-226994571.1 MB
1e929292ddd5
batch
Create Batch
Create large batches of API requests for asynchronous processing. This is the equivalent of POST https://api.openai.com/v1/batch Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch
Example Curl
curl http://localhost:4000/v1/batches -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -d '{
"input_file_id": "file-abc123",
"endpoint": "/v1/chat/completions",
"completion_window": "24h"
}'
post/v1/batches
Query parameters
providerstring nullable
Response
Successful Response
{"stackTrail":"paths:/v1/batches:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}