Create batch
Changed onCreates a batch from an uploaded JSONL file. Requests run asynchronously within 24 hours through the normal gateway path. Each request is billed at the same per-token price as a live request, priced when it runs; no batch discount is applied.
post/v1/batches
Request
- Base URLhttps://api.llmgateway.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The created batch.
Changes
- info
endpoint added
- info