batches

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/api/v1/batches

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Request body

completion_windowstring
metadataobject nullable
modelstring required
userstring nullable

Response

Successful Response

unknown required

Changes