v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBBucket Batches
Cancel Batch
Cancel a submitted/processing batch: cancels Ray job via engine and marks task/batch as CANCELLED.
post/v1/buckets/{bucket_identifier}/batches/{batch_id}/cancel
Path parameters
bucket_identifierstring required
The unique identifier of the bucket.
The unique identifier of the bucket.
batch_idstring required
The unique identifier of the batch.
The unique identifier of the batch.
Response
Successful Response
Example response
{
"additional_data": {
"batch_id": "btch_xyz789",
"bucket_id": "bkt_products",
"collection_ids": [
"col_tier0",
"col_tier1",
"col_tier2"
],
"current_tier": 1,
"job_id": "ray_job_123",
"namespace_id": "ns_abc123",
"object_count": 10000,
"sample_object_ids": [
"obj_001",
"obj_002",
"obj_003",
"obj_004",
"obj_005"
],
"total_tiers": 3
},
"description": "Multi-tier batch processing task in progress (tier 1 of 3) with 10k objects",
"inputs": [
"batch_xyz789"
],
"status": "IN_PROGRESS",
"task_id": "2d322a05-3178-4eca-aac6-b82b0a0313aa",
"task_type": "api_buckets_batches_process"
}