v2
latestOpenAPI 3.1.02026-08-07139158192.4 KBBatches
Create a batch inference job
Submit a batch from an uploaded input file (input_file_id) or inline request objects (requests); provide exactly one of the two. The batch completes within the 24h window at a discounted rate; poll it with get, then download results via the output and error file ids.
post/v1/batches
Request body
Response
OK