Upload file
Changed onUploads a JSONL file of requests for the Batch API. Use purpose=batch. Files are limited to 50 MB and expire after 30 days.
post/v1/files
Request
- Base URLhttps://api.llmgateway.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"purpose": "batch"
}Response
The uploaded file.
Changes
- info
endpoint added
- info