Upload a batch file
Upload a JSONL file of requests for the Batch API. Each line is a request object with custom_id, method, url (/v1/chat/completions or /v1/embeddings), and body. Set purpose to batch. Max 50,000 requests per file.
Authentication
AuthorizationBearer
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Request
This endpoint expects a multipart form containing a file.
file
purpose
Allowed values:
Response
File created.
id
object
bytes
filename
purpose
line_count
created_at
