Create a batch
Batch API
Create batch
Interactive playground for POST /v1/batches.
POST
Create a batch
Create a batch job from a JSONL file you already uploaded.Documentation Index
Fetch the complete documentation index at: https://docs.zerogpu.ai/llms.txt
Use this file to discover all available pages before exploring further.
- Upload input JSONL on Upload file or via Quickstart (
purpose=batch). - Paste the returned
file-…id intoinput_file_idbelow. - Set
endpointto/v1/chat/completions(must match every line in your JSONL).
Body
application/json
ID from POST /v1/files with purpose=batch.
Must match the url on every JSONL line.
Available options:
/v1/chat/completions Available options:
24h Optional tags echoed back on retrieve.
Response
Batch accepted
Available options:
batch Available options:
validating, in_progress, finalizing, completed, failed, expired, cancelling, cancelled 
