Batches
Create Batch
Create a chat batch.
Send the JSONL file as the file part of a multipart form, or upload it first with POST /v3/upload with purpose set to batch and send its file_id as input_file_id in a JSON body, the shape the OpenAI SDK's batches.create sends. Both are validated the same way.
The batch runs on the model's provider, OpenAI, Anthropic, Mistral, Amazon Bedrock or Vertex AI, within 24 hours at the model's batch rates. Batch metadata is kept by Eden AI and sent to OpenAI and Mistral. Poll GET /v3/batches/{batch_id} until status is completed, failed, expired or cancelled, then read the results from GET /v3/batches/{batch_id}/results.
post/v3/batches
Request
- Base URLhttps://api.edenai.run
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.