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"
}
}
]
}Changes
Changed in 2 of the 33 revisions of this API.3
- ○
added the optional property
detail/items/ctxto the response with the422statusresponse-optional-property-added
- ○
added the optional property
detail/items/inputto the response with the422statusresponse-optional-property-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○