Upload a file
Batch API
Upload file
Interactive playground for POST /v1/files (multipart JSONL upload).
POST
Upload a file
Upload batch input JSONL before creating a batch.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.
- Set
purposetobatch. - Attach a
.jsonlfile (max 100 MB). Each line must match the JSONL format. - Copy the returned
id(e.g.file-…) intoinput_file_idon the create-batch playground.
Body
multipart/form-data
Response
File uploaded
Prefixed with file-.
Available options:
file Uploads use batch; batch results use batch_output.
Available options:
batch, batch_output Available options:
uploaded, processed, error ZeroGPU extension. true on batch error output files only.

