Create a batch
Create a batch from an uploaded input file. Requests are processed asynchronously within the completion window and billed at 35% off each model’s list price. Only batch-eligible models may be used (check batch_supported on /v1/models).
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 an object.
input_file_id
endpoint
Allowed values:
completion_window
metadata
Response
Batch created.
id
object
endpoint
input_file_id
completion_window
status
output_file_id
error_file_id
request_counts
metadata
created_at
completed_at
expires_at
