Skip to content

Create Batch Endpoint

POST
/v1/batches
curl --request POST \
--url http://localhost:8080/v1/batches \
--header 'Content-Type: multipart/form-data' \
--form files=example \
--form name=example \
--form template_id=example \
--form processing_mode=example \
--form page_range=example \
--form page_cap_policy=example \
--form destination_connection_id=example \
--form destination_config=example
Media type multipart/form-data
Body_create_batch_endpoint_v1_batches_post
object
files
Any of:
Array<string>
name
Any of:
string
template_id
Any of:
string
processing_mode
Any of:
string
page_range
Any of:
string
page_cap_policy
Any of:
string
destination_connection_id
Any of:
string
destination_config
Any of:
string

Successful Response

Media type application/json
Response Create Batch Endpoint V1 Batches Post
object
key
additional properties
any
Example generated
{}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}