Create a Message Batch changedapi/messages/batches/create
Nearest release: v2.1.328, published under an hour before 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+22added
Lines−0removed
From line
3,225
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits27to this page, all time
## Errors
The whole hunk
from line 3225, old and new numbered
/
from line 3225
32253225
32263226 Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests.
32273227
3228## Errors
3229
3230Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
3231
3232Each code below is the value of `error.details.error_code` in the response body.
3233
3234- `claude_code_key_creator_not_member` (HTTP status 400)
3235
3236 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
3237
3238- `cmek_key_disabled` (HTTP status 400)
3239
3240 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
3241
3242- `organization_on_hold` (HTTP status 400)
3243
3244 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
3245
3246- `enforced_spend_limit_reached` (HTTP status 429)
3247
3248 The organization has crossed the monthly API usage threshold of its API tier.
3249
32283250## Example
32293251
32303252```bash
No line in this hunk matches that.