Uploads a JSONL file and launches a new batch with the provided data. Returns the batch id.
the path to a JSONL file containing objects with the format: { "data_uuid": string, "inputs": array }
[
{
"data_uuid": "string",
"inputs": ["string"]
}
]Optional - Version number of the task to be executed. Will default to latest live version.
1
Optional - Name for the batch job
"Research 001"
Optional - Webhook URL to receive results and success status on completion. Data will be sent as a POST request with the data under body.data as an array of objects.
"https://api.example.com/webhook/batch-results"