Try Bifrost Enterprise free for 14 days. Explore now
cURL
curl --request POST \ --url http://localhost:8080/anthropic/v1/messages/batches/{batch_id}/cancel
{ "id": "<string>", "type": "message_batch", "processing_status": "in_progress", "request_counts": { "processing": 123, "succeeded": 123, "errored": 123, "canceled": 123, "expired": 123 }, "ended_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z", "archived_at": "2023-11-07T05:31:56Z", "cancel_initiated_at": "2023-11-07T05:31:56Z", "results_url": "<string>" }
Cancels a batch processing job.
Provider for the batch
Batch job ID to cancel
Successful response
in_progress
ended
canceling
Show child attributes
Was this page helpful?