v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-018486293.2 KB
batches

Create Batch

Create a batch of LLM requests for asynchronous processing.

Authentication modes:

  • Master key + user field: Use specified user (must exist)
  • API key + user field: Use specified user (must exist)
  • API key without user field: Use the shared "default" user
post/v1/batches

Request body

completion_windowstring
metadataobject nullable
modelstring required
userstring nullable

Response

Successful Response

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