V2
Batches
Create Batch
Create a batch over a source directory and start processing asynchronously.
post/api/v2/batches
Query parameters
project_idstring uuid nullable
organization_idstring uuid nullable
Cookies
sessionstring nullable
Request body
Example request
{
"source_directory_id": "dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"config": {
"job": {
"configuration_id": "cfg-PARSE_AGENTIC"
}
}
}Response
Successful Response
Example response
{
"config": {
"job": {
"configuration_id": "cfg-PARSE_AGENTIC"
}
},
"results": [
{
"source_directory_file_id": "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"job_reference": {
"id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
}
]
}