POST
/
v0
/
batches

Authorizations

x-api-key
string
headerrequired

Body

multipart/form-data
batch_input_data
file
required

the path to a JSONL file containing objects with the format: { "data_uuid": string, "inputs": array }

task_id
string
required
task_version
number

Optional - Version number of the task to be executed. Will default to latest live version.

batch_name
string

Optional - Name for the batch job

webhook_url
string

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.

Response

201 - application/json
status
enum<string>
required
Available options:
success,
error
data
object[]
required
message
string
required
error
object