Cancel a Message Batch changedapi/beta/messages/batches/cancel
Recorded here
Lines+2added
Lines−2removed
From line
11
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits16to this page, all time
The whole hunk
from line 11, old and new numbered
/
from line 11
1111
1212The number of canceled requests is specified in `request_counts`. To determine which requests were canceled, check the individual results within the batch. Note that cancellation may not result in any canceled requests if they were non-interruptible.
1313
14Learn more about the Message Batches API in our [user guide](https://platform.claude.com/docs/en/build-with-claude/batch-processing)
14Learn more about the Message Batches API in our [user guide](https://platform.claude.com/docs/en/build-with-claude/batch-processing?sdk_languages=http)
1515
1616## Path parameters
1717
from line 25
2525
2626 The version of the Claude API you want to use.
2727
28 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
28 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
2929
3030- `"anthropic-beta": optional array of AnthropicBeta`
3131
No line in this hunk matches that.