Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Delete a Message Batch changedapi/messages/batches/delete

Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+9added
Lines−14removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits6to this page, all time

# Delete a Message Batch ## Path parameters ## Returns ## Example ### Response (200) ## Delete a Message Batch ### Path Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Delete a Message Batch
3url: https://platform.claude.com/docs/en/api/messages/batches/delete
4---
1# Delete a Message Batch
52 
6## Delete a Message Batch
3**DELETE** `/v1/messages/batches/{message_batch_id}`
74 
8**delete** `/v1/messages/batches/{message_batch_id}`
9 
105Delete a Message Batch.
116 
127Message Batches can only be deleted once they've finished processing. If you'd like to delete an in-progress batch, you must first cancel it.
from line 8
138 
149Learn more about the Message Batches API in our [user guide](https://platform.claude.com/docs/en/build-with-claude/batch-processing)
1510 
16### Path Parameters
11## Path parameters
1712 
1813- `message_batch_id: string`
1914 
2015 ID of the Message Batch.
2116 
22### Returns
17## Returns
2318 
24- `DeletedMessageBatch object { id, type }`
19- `DeletedMessageBatch object`
2520 
2621 - `id: string`
2722 
from line 28
3328 
3429 For Message Batches, this is always `"message_batch_deleted"`.
3530 
36 - `"message_batch_deleted"`
31 default: message_batch_deleted
3732 
38### Example
33## Example
3934 
40```http
35```bash
4136curl https://api.anthropic.com/v1/messages/batches/$MESSAGE_BATCH_ID \
4237 -X DELETE \
4338 -H 'anthropic-version: 2023-06-01' \
from line 39
4439 -H "X-Api-Key: $ANTHROPIC_API_KEY"
4540```
4641 
47#### Response
42### Response (200)
4843 
4944```json
5045{
Feedback