v5
OpenAPI 3.1.02026-08-025631,1012.8 MBCreate Batch
Create a new batch for grouping bucket objects.
Path parameters
The unique identifier of the bucket.
The unique identifier of the bucket.
Query parameters
Skip object existence validation. Use this for large batches (>10k objects) or when you're certain all object IDs are valid. Improves performance significantly.
Skip object existence validation. Use this for large batches (>10k objects) or when you're certain all object IDs are valid. Improves performance significantly.
Submit the batch for processing immediately after creation. When false (default) the batch is returned in DRAFT status and the caller must POST /submit separately. Symmetric with the auto_process flag on POST /buckets/{id}/objects, and explicit by design — earlier the only way to auto-submit was via the object endpoint, which made batch lifecycle behaviour non-obvious for callers driving the batch endpoint directly. Accepted here (query) or in the JSON body as {"auto_submit": true}; the query parameter wins when both are supplied.
Submit the batch for processing immediately after creation. When false (default) the batch is returned in DRAFT status and the caller must POST /submit separately. Symmetric with the auto_process flag on POST /buckets/{id}/objects, and explicit by design — earlier the only way to auto-submit was via the object endpoint, which made batch lifecycle behaviour non-obvious for callers driving the batch endpoint directly. Accepted here (query) or in the JSON body as {"auto_submit": true}; the query parameter wins when both are supplied.
Deprecated alias of auto_submit (kept for callers taught by older docs/hints). Accepted in query or JSON body; auto_submit wins when both are supplied.
Deprecated alias of auto_submit (kept for callers taught by older docs/hints). Accepted in query or JSON body; auto_submit wins when both are supplied.
Request body
Example request
{
"object_ids": [
"object_789",
"object_101"
],
"filters": {
"AND": [
{
"field": "name",
"operator": "eq",
"value": "John"
},
{
"field": "age",
"operator": "gte",
"value": 30
}
],
"OR": [
{
"field": "status",
"operator": "eq",
"value": "active"
},
{
"field": "role",
"operator": "eq",
"value": "admin"
}
],
"NOT": [
{
"field": "department",
"operator": "eq",
"value": "HR"
},
{
"field": "location",
"operator": "eq",
"value": "remote"
}
],
"case_sensitive": true
},
"metadata": {
"campaign_id": "Q4_2025",
"source": "s3://raw-uploads/2026-05/",
"tags": [
"video",
"high-priority"
],
"notes": "Re-run after Whisper quota fix"
}
}Response
Successful Response
Example response
{
"batch_id": "btch_simple_001",
"bucket_id": "bkt_videos",
"collection_ids": [
"col_chunks"
],
"dag_tiers": [
[
"col_chunks"
]
],
"description": "Simple single-tier batch (DRAFT)",
"metadata": {
"campaign_id": "Q4_2025"
},
"object_ids": [
"obj_video_001",
"obj_video_002"
],
"status": "DRAFT",
"tier_tasks": [],
"total_tiers": 1,
"type": "BUCKET"
}