Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Messages changedapi/messages

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+512added
Lines−34removed
From line 4,452 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits31to this page, all time

### Errors ### Errors ## Errors ### available_tools_limit_exceeded ### compaction_block_ambiguous ### compaction_block_misplaced ### compaction_content_mismatch ### compaction_incomplete_turn ### compaction_nothing_to_summarize ### compaction_signature_invalid ### compaction_too_many_tool_references ### compaction_tool_changes_mismatch ### thread_already_continued ### thread_continue_in_flight ### thread_fingerprint_mismatch ### thread_unsupported_request ### tool_name_conflict ### tool_reference_unresolved ### thread_not_found ### compaction_unavailable #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors

The whole hunk

from line 4452, old and new numbered
/
lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.

from line 4452
44524452 
44534453 - `index: number`
44544454 
4455### Errors
4456 
4457Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4458 
4459Each code below is the value of `error.details.error_code` in the response body.
4460 
4461On a streaming call, the errors listed below apply when the API rejects the request before the stream starts. Once the stream has started, the response status is already 200, so a later error comes through the stream, with no status of its own. To identify it, use `error.details.error_code` if the error has one, and `error.type` if not.
4462 
4463- `available_tools_limit_exceeded` (HTTP status 400)
4464 
4465 The tools available after a message exceed a limit on their number or their size.
4466 
4467- `claude_code_key_creator_not_member` (HTTP status 400)
4468 
4469 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.
4470 
4471- `claude_code_version_too_old` (HTTP status 400)
4472 
4473 The request comes from a Claude Code version older than the minimum that the requested model or the organization requires. Update Claude Code, then retry.
4474 
4475- `cmek_key_disabled` (HTTP status 400)
4476 
4477 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
4478 
4479- `cmek_key_network_blocked` (HTTP status 400)
4480 
4481 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
4482 
4483- `compaction_block_ambiguous` (HTTP status 400)
4484 
4485 `messages` holds more than one `compaction` block with content. Send only the block the conversation returned last.
4486 
4487- `compaction_block_misplaced` (HTTP status 400)
4488 
4489 The `compaction` block is not the first block of the conversation, or is in a `system` message.
4490 
4491- `compaction_content_mismatch` (HTTP status 400)
4492 
4493 The `compaction` block's `content` differs from the text its `signature` recorded.
4494 
4495- `compaction_incomplete_turn` (HTTP status 400)
4496 
4497 The compaction request ends on an `assistant` turn that is not finished.
4498 
4499- `compaction_nothing_to_summarize` (HTTP status 400)
4500 
4501 `messages` holds no `user` or `assistant` content to summarize or adopt.
4502 
4503- `compaction_signature_invalid` (HTTP status 400)
4504 
4505 The `compaction` block's `signature` does not verify.
4506 
4507- `compaction_too_many_tool_references` (HTTP status 400)
4508 
4509 The conversation references more distinct tools than a `compaction` block can record.
4510 
4511- `compaction_tool_changes_mismatch` (HTTP status 400)
4512 
4513 The `compaction` block's `tool_changes` differs from what was returned with the block.
4514 
4515- `organization_on_hold` (HTTP status 400)
4516 
4517 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.
4518 
4519- `request_body_encoding_invalid` (HTTP status 400)
4520 
4521 The request body is not valid for its `Content-Encoding`.
4522 
4523- `request_body_encoding_unsupported` (HTTP status 400)
4524 
4525 The request's `Content-Encoding` is not supported.
4526 
4527- `thread_already_continued` (HTTP status 400)
4528 
4529 The response that `previous_message_id` names has already been continued, and each response can be continued only once. Continue from the Thread's most recent response `id`.
4530 
4531- `thread_continue_in_flight` (HTTP status 400)
4532 
4533 Another request is still continuing from the same `previous_message_id`. Wait for it to complete and continue from its response `id`, or replay the full conversation with `thread: {"type": "create"}`.
4534 
4535- `thread_fingerprint_mismatch` (HTTP status 400)
4536 
4537 A field that must stay the same across a Thread's turns differs from the value stored with the Thread; the message names each such field. Send the stored values, or replay the full conversation with `thread: {"type": "create"}` to change them.
4538 
4539- `thread_unsupported_request` (HTTP status 400)
4540 
4541 The request combines `thread` with a request field or an organization setting that Threads do not support; `unsupported`, when present, names it. Send the full conversation without `thread`, or change that field.
4542 
4543- `tool_name_conflict` (HTTP status 400)
4544 
4545 A tool made available in `messages` takes a name that an available tool of another kind, or of another MCP server, already holds.
4546 
4547- `tool_reference_unresolved` (HTTP status 400)
4548 
4549 A tool change or MCP tool listing references a tool or MCP server that is not defined at that position in the conversation.
4550 
4551- `thread_not_found` (HTTP status 404)
4552 
4553 No usable Thread state was found for `previous_message_id`. Replay the full conversation with `thread: {"type": "create"}` to start a new Thread.
4554 
4555- `skill_read_blocked_undecryptable` (HTTP status 409)
4556 
4557 A custom skill the request names is stored under an encryption key state the workspace cannot currently decrypt.
4558 
4559- `request_body_too_large_after_decoding` (HTTP status 413)
4560 
4561 The compressed request body exceeds the request size limit once decoded.
4562 
4563- `enforced_spend_limit_reached` (HTTP status 429)
4564 
4565 The organization has crossed the monthly API usage threshold of its API tier.
4566 
4567- `ramp_limit_exceeded` (HTTP status 429)
4568 
4569 The request would exceed a ramp limit, which caps how fast usage can grow. Retry after the time in the `retry-after` header.
4570 
4571- `cmek_key_unreachable` (HTTP status 503)
4572 
4573 The workspace's customer-managed encryption key could not be reached. Retry the request; if this continues, check that the key is available in your key management service, or contact Anthropic support.
4574 
4575- `compaction_unavailable` (HTTP status 529)
4576 
4577 The compaction could not be completed for a transient server reason. Retry the request.
4578 
44554579### Example
44564580 
44574581```bash
from line 7672
75487672 
75497673 The total number of tokens across the provided list of messages, system prompt, and tools.
75507674 
7675### Errors
7676 
7677Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
7678 
7679Each code below is the value of `error.details.error_code` in the response body.
7680 
7681- `available_tools_limit_exceeded` (HTTP status 400)
7682 
7683 The tools available after a message exceed a limit on their number or their size.
7684 
7685- `claude_code_key_creator_not_member` (HTTP status 400)
7686 
7687 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.
7688 
7689- `compaction_block_ambiguous` (HTTP status 400)
7690 
7691 `messages` holds more than one `compaction` block with content. Send only the block the conversation returned last.
7692 
7693- `compaction_block_misplaced` (HTTP status 400)
7694 
7695 The `compaction` block is not the first block of the conversation, or is in a `system` message.
7696 
7697- `compaction_content_mismatch` (HTTP status 400)
7698 
7699 The `compaction` block's `content` differs from the text its `signature` recorded.
7700 
7701- `compaction_nothing_to_summarize` (HTTP status 400)
7702 
7703 `messages` holds no `user` or `assistant` content to summarize or adopt.
7704 
7705- `compaction_signature_invalid` (HTTP status 400)
7706 
7707 The `compaction` block's `signature` does not verify.
7708 
7709- `compaction_tool_changes_mismatch` (HTTP status 400)
7710 
7711 The `compaction` block's `tool_changes` differs from what was returned with the block.
7712 
7713- `organization_on_hold` (HTTP status 400)
7714 
7715 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.
7716 
7717- `request_body_encoding_invalid` (HTTP status 400)
7718 
7719 The request body is not valid for its `Content-Encoding`.
7720 
7721- `request_body_encoding_unsupported` (HTTP status 400)
7722 
7723 The request's `Content-Encoding` is not supported.
7724 
7725- `tool_name_conflict` (HTTP status 400)
7726 
7727 A tool made available in `messages` takes a name that an available tool of another kind, or of another MCP server, already holds.
7728 
7729- `tool_reference_unresolved` (HTTP status 400)
7730 
7731 A tool change or MCP tool listing references a tool or MCP server that is not defined at that position in the conversation.
7732 
7733- `request_body_too_large_after_decoding` (HTTP status 413)
7734 
7735 The compressed request body exceeds the request size limit once decoded.
7736 
7737- `enforced_spend_limit_reached` (HTTP status 429)
7738 
7739 The organization has crossed the monthly API usage threshold of its API tier.
7740 
7741- `compaction_unavailable` (HTTP status 529)
7742 
7743 The compaction could not be completed for a transient server reason. Retry the request.
7744 
75517745### Example
75527746 
75537747```bash
from line 8773
85798773 
85808774- `AvailableToolsLimitExceededErrorDetails object`
85818775 
8582 The tools available after a message exceed a limit on their number or their size.
8583 
85848776 - `error_code: "available_tools_limit_exceeded"`
85858777 
85868778### Base64 Image Source
from line 15949
1575715949 
1575815950- `CompactionBlockAmbiguousErrorDetails object`
1575915951 
15760 `messages` holds more than one `compaction` block with content. Send only the block the conversation returned last.
15761 
1576215952 - `error_code: "compaction_block_ambiguous"`
1576315953 
1576415954### Compaction Block Misplaced Error Details
1576515955 
1576615956- `CompactionBlockMisplacedErrorDetails object`
1576715957 
15768 The `compaction` block is not the first block of the conversation, or is in a `system` message.
15769 
1577015958 - `error_code: "compaction_block_misplaced"`
1577115959 
1577215960### Compaction Content Mismatch Error Details
1577315961 
1577415962- `CompactionContentMismatchErrorDetails object`
1577515963 
15776 The `compaction` block's `content` differs from the text its `signature` recorded.
15777 
1577815964 - `error_code: "compaction_content_mismatch"`
1577915965 
1578015966### Compaction Incomplete Turn Error Details
1578115967 
1578215968- `CompactionIncompleteTurnErrorDetails object`
1578315969 
15784 The compaction request ends on an `assistant` turn that is not finished.
15785 
1578615970 - `error_code: "compaction_incomplete_turn"`
1578715971 
1578815972### Compaction Nothing To Summarize Error Details
1578915973 
1579015974- `CompactionNothingToSummarizeErrorDetails object`
1579115975 
15792 `messages` holds no `user` or `assistant` content to summarize or adopt.
15793 
1579415976 - `error_code: "compaction_nothing_to_summarize"`
1579515977 
1579615978### Compaction Signature Invalid Error Details
1579715979 
1579815980- `CompactionSignatureInvalidErrorDetails object`
1579915981 
15800 The `compaction` block's `signature` does not verify.
15801 
1580215982 - `error_code: "compaction_signature_invalid"`
1580315983 
1580415984### Compaction Too Many Tool References Error Details
1580515985 
1580615986- `CompactionTooManyToolReferencesErrorDetails object`
1580715987 
15808 The conversation references more distinct tools than a `compaction` block can record.
15809 
1581015988 - `error_code: "compaction_too_many_tool_references"`
1581115989 
1581215990### Compaction Tool Changes Mismatch Error Details
1581315991 
1581415992- `CompactionToolChangesMismatchErrorDetails object`
1581515993 
15816 The `compaction` block's `tool_changes` differs from what was returned with the block.
15817 
1581815994 - `error_code: "compaction_tool_changes_mismatch"`
1581915995 
1582015996### Compaction Unavailable Error Details
1582115997 
1582215998- `CompactionUnavailableErrorDetails object`
1582315999 
15824 The compaction could not be completed for a transient server reason. Retry the request.
15825 
1582616000 - `error_code: "compaction_unavailable"`
1582716001 
1582816002### Computer Cursor Position Config
from line 31803
3162931803 
3163031804- `ThreadAlreadyContinuedErrorDetails object`
3163131805 
31632 The response that `previous_message_id` names has already been continued, and each response can be continued only once. Continue from the Thread's most recent response `id`.
31633 
3163431806 - `error_code: "thread_already_continued"`
3163531807 
3163631808### Thread Continue In Flight Error Details
3163731809 
3163831810- `ThreadContinueInFlightErrorDetails object`
3163931811 
31640 Another request is still continuing from the same `previous_message_id`. Wait for it to complete and continue from its response `id`, or replay the full conversation with `thread: {"type": "create"}`.
31641 
3164231812 - `error_code: "thread_continue_in_flight"`
3164331813 
3164431814### Thread Fingerprint Mismatch Error Details
3164531815 
3164631816- `ThreadFingerprintMismatchErrorDetails object`
3164731817 
31648 A field that must stay the same across a Thread's turns differs from the value stored with the Thread; the message names each such field. Send the stored values, or replay the full conversation with `thread: {"type": "create"}` to change them.
31649 
3165031818 - `error_code: "thread_fingerprint_mismatch"`
3165131819 
3165231820### Thread Not Found Error Details
3165331821 
3165431822- `ThreadNotFoundErrorDetails object`
3165531823 
31656 No usable Thread state was found for `previous_message_id`. Replay the full conversation with `thread: {"type": "create"}` to start a new Thread.
31657 
3165831824 - `error_code: "thread_not_found"`
3165931825 
3166031826### Thread Unsupported Feature Name
from line 31843
3167731843 
3167831844- `ThreadUnsupportedRequestErrorDetails object`
3167931845 
31680 The request combines `thread` with a request field or an organization setting that Threads do not support; `unsupported`, when present, names it. Send the full conversation without `thread`, or change that field.
31681 
3168231846 - `error_code: "thread_unsupported_request"`
3168331847 
3168431848 - `unsupported: optional array of ThreadUnsupportedFeatureName or null`
from line 32101
3193732101 
3193832102- `ToolNameConflictErrorDetails object`
3193932103 
31940 A tool made available in `messages` takes a name that an available tool of another kind, or of another MCP server, already holds.
31941 
3194232104 - `error_code: "tool_name_conflict"`
3194332105 
3194432106### Tool Reference Block
from line 32152
3199032152 
3199132153- `ToolReferenceUnresolvedErrorDetails object`
3199232154 
31993 A tool change or MCP tool listing references a tool or MCP server that is not defined at that position in the conversation.
31994 
3199532155 - `error_code: "tool_reference_unresolved"`
3199632156 
3199732157### Tool Result Block Param
from line 39962
3980239962 
3980339963 - `"request_too_large"`
3980439964 
39965## Errors
39966 
39967### available_tools_limit_exceeded
39968 
39969HTTP status 400
39970 
39971- `"available_tools_limit_exceeded"`
39972 
39973 The tools available after a message exceed a limit on their number or their size.
39974 
39975 - `details: AvailableToolsLimitExceededErrorDetails`
39976 
39977 - `error_code: "available_tools_limit_exceeded"`
39978 
39979### compaction_block_ambiguous
39980 
39981HTTP status 400
39982 
39983- `"compaction_block_ambiguous"`
39984 
39985 `messages` holds more than one `compaction` block with content. Send only the block the conversation returned last.
39986 
39987 - `details: CompactionBlockAmbiguousErrorDetails`
39988 
39989 - `error_code: "compaction_block_ambiguous"`
39990 
39991### compaction_block_misplaced
39992 
39993HTTP status 400
39994 
39995- `"compaction_block_misplaced"`
39996 
39997 The `compaction` block is not the first block of the conversation, or is in a `system` message.
39998 
39999 - `details: CompactionBlockMisplacedErrorDetails`
40000 
40001 - `error_code: "compaction_block_misplaced"`
40002 
40003### compaction_content_mismatch
40004 
40005HTTP status 400
40006 
40007- `"compaction_content_mismatch"`
40008 
40009 The `compaction` block's `content` differs from the text its `signature` recorded.
40010 
40011 - `details: CompactionContentMismatchErrorDetails`
40012 
40013 - `error_code: "compaction_content_mismatch"`
40014 
40015### compaction_incomplete_turn
40016 
40017HTTP status 400
40018 
40019- `"compaction_incomplete_turn"`
40020 
40021 The compaction request ends on an `assistant` turn that is not finished.
40022 
40023 - `details: CompactionIncompleteTurnErrorDetails`
40024 
40025 - `error_code: "compaction_incomplete_turn"`
40026 
40027### compaction_nothing_to_summarize
40028 
40029HTTP status 400
40030 
40031- `"compaction_nothing_to_summarize"`
40032 
40033 `messages` holds no `user` or `assistant` content to summarize or adopt.
40034 
40035 - `details: CompactionNothingToSummarizeErrorDetails`
40036 
40037 - `error_code: "compaction_nothing_to_summarize"`
40038 
40039### compaction_signature_invalid
40040 
40041HTTP status 400
40042 
40043- `"compaction_signature_invalid"`
40044 
40045 The `compaction` block's `signature` does not verify.
40046 
40047 - `details: CompactionSignatureInvalidErrorDetails`
40048 
40049 - `error_code: "compaction_signature_invalid"`
40050 
40051### compaction_too_many_tool_references
40052 
40053HTTP status 400
40054 
40055- `"compaction_too_many_tool_references"`
40056 
40057 The conversation references more distinct tools than a `compaction` block can record.
40058 
40059 - `details: CompactionTooManyToolReferencesErrorDetails`
40060 
40061 - `error_code: "compaction_too_many_tool_references"`
40062 
40063### compaction_tool_changes_mismatch
40064 
40065HTTP status 400
40066 
40067- `"compaction_tool_changes_mismatch"`
40068 
40069 The `compaction` block's `tool_changes` differs from what was returned with the block.
40070 
40071 - `details: CompactionToolChangesMismatchErrorDetails`
40072 
40073 - `error_code: "compaction_tool_changes_mismatch"`
40074 
40075### thread_already_continued
40076 
40077HTTP status 400
40078 
40079- `"thread_already_continued"`
40080 
40081 The response that `previous_message_id` names has already been continued, and each response can be continued only once. Continue from the Thread's most recent response `id`.
40082 
40083 - `details: ThreadAlreadyContinuedErrorDetails`
40084 
40085 - `error_code: "thread_already_continued"`
40086 
40087### thread_continue_in_flight
40088 
40089HTTP status 400
40090 
40091- `"thread_continue_in_flight"`
40092 
40093 Another request is still continuing from the same `previous_message_id`. Wait for it to complete and continue from its response `id`, or replay the full conversation with `thread: {"type": "create"}`.
40094 
40095 - `details: ThreadContinueInFlightErrorDetails`
40096 
40097 - `error_code: "thread_continue_in_flight"`
40098 
40099### thread_fingerprint_mismatch
40100 
40101HTTP status 400
40102 
40103- `"thread_fingerprint_mismatch"`
40104 
40105 A field that must stay the same across a Thread's turns differs from the value stored with the Thread; the message names each such field. Send the stored values, or replay the full conversation with `thread: {"type": "create"}` to change them.
40106 
40107 - `details: ThreadFingerprintMismatchErrorDetails`
40108 
40109 - `error_code: "thread_fingerprint_mismatch"`
40110 
40111### thread_unsupported_request
40112 
40113HTTP status 400
40114 
40115- `"thread_unsupported_request"`
40116 
40117 The request combines `thread` with a request field or an organization setting that Threads do not support; `unsupported`, when present, names it. Send the full conversation without `thread`, or change that field.
40118 
40119 - `details: ThreadUnsupportedRequestErrorDetails`
40120 
40121 - `error_code: "thread_unsupported_request"`
40122 
40123 - `unsupported: optional array of ThreadUnsupportedFeatureName or null`
40124 
40125 Each entry names a request field or an organization setting that Threads do not support. On a value you do not recognize, send the full conversation without `thread`.
40126 
40127 - `"cache_control"`
40128 
40129 - `"context_management"`
40130 
40131 - `"fallbacks"`
40132 
40133 - `"hipaa"`
40134 
40135 - `"inference_hooks"`
40136 
40137 - `"thinking"`
40138 
40139### tool_name_conflict
40140 
40141HTTP status 400
40142 
40143- `"tool_name_conflict"`
40144 
40145 A tool made available in `messages` takes a name that an available tool of another kind, or of another MCP server, already holds.
40146 
40147 - `details: ToolNameConflictErrorDetails`
40148 
40149 - `error_code: "tool_name_conflict"`
40150 
40151### tool_reference_unresolved
40152 
40153HTTP status 400
40154 
40155- `"tool_reference_unresolved"`
40156 
40157 A tool change or MCP tool listing references a tool or MCP server that is not defined at that position in the conversation.
40158 
40159 - `details: ToolReferenceUnresolvedErrorDetails`
40160 
40161 - `error_code: "tool_reference_unresolved"`
40162 
40163### thread_not_found
40164 
40165HTTP status 404
40166 
40167- `"thread_not_found"`
40168 
40169 No usable Thread state was found for `previous_message_id`. Replay the full conversation with `thread: {"type": "create"}` to start a new Thread.
40170 
40171 - `details: ThreadNotFoundErrorDetails`
40172 
40173 - `error_code: "thread_not_found"`
40174 
40175### compaction_unavailable
40176 
40177HTTP status 529
40178 
40179- `"compaction_unavailable"`
40180 
40181 The compaction could not be completed for a transient server reason. Retry the request.
40182 
40183 - `details: CompactionUnavailableErrorDetails`
40184 
40185 - `error_code: "compaction_unavailable"`
40186 
3980540187## Messages › Batches
3980640188 
3980740189### Create a Message Batch
from line 43408
4302643408 
4302743409 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.
4302843410 
43411#### Errors
43412 
43413Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
43414 
43415Each code below is the value of `error.details.error_code` in the response body.
43416 
43417- `claude_code_key_creator_not_member` (HTTP status 400)
43418 
43419 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.
43420 
43421- `cmek_key_disabled` (HTTP status 400)
43422 
43423 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
43424 
43425- `organization_on_hold` (HTTP status 400)
43426 
43427 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.
43428 
43429- `enforced_spend_limit_reached` (HTTP status 429)
43430 
43431 The organization has crossed the monthly API usage threshold of its API tier.
43432 
4302943433#### Example
4303043434 
4303143435```bash
from line 43617
4321343617 
4321443618 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.
4321543619 
43620#### Errors
43621 
43622Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
43623 
43624Each code below is the value of `error.details.error_code` in the response body.
43625 
43626- `claude_code_key_creator_not_member` (HTTP status 400)
43627 
43628 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.
43629 
43630- `organization_on_hold` (HTTP status 400)
43631 
43632 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.
43633 
4321643634#### Example
4321743635 
4321843636```bash
from line 43824
4340643824 
4340743825 Last ID in the `data` list. Can be used as the `after_id` for the next page.
4340843826 
43827#### Errors
43828 
43829Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
43830 
43831Each code below is the value of `error.details.error_code` in the response body.
43832 
43833- `claude_code_key_creator_not_member` (HTTP status 400)
43834 
43835 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.
43836 
43837- `organization_on_hold` (HTTP status 400)
43838 
43839 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.
43840 
4340943841#### Example
4341043842 
4341143843```bash
from line 44016
4358444016 
4358544017 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.
4358644018 
44019#### Errors
44020 
44021Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
44022 
44023Each code below is the value of `error.details.error_code` in the response body.
44024 
44025- `claude_code_key_creator_not_member` (HTTP status 400)
44026 
44027 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.
44028 
44029- `organization_on_hold` (HTTP status 400)
44030 
44031 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.
44032 
4358744033#### Example
4358844034 
4358944035```bash
from line 44108
4366244108 
4366344109 ID of the Message Batch.
4366444110 
44111#### Errors
44112 
44113Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
44114 
44115Each code below is the value of `error.details.error_code` in the response body.
44116 
44117- `claude_code_key_creator_not_member` (HTTP status 400)
44118 
44119 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.
44120 
44121- `organization_on_hold` (HTTP status 400)
44122 
44123 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.
44124 
4366544125#### Example
4366644126 
4366744127```bash
from line 45506
4504645506 
4504745507 default: expired
4504845508 
45509#### Errors
45510 
45511Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
45512 
45513Each code below is the value of `error.details.error_code` in the response body.
45514 
45515- `claude_code_key_creator_not_member` (HTTP status 400)
45516 
45517 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.
45518 
45519- `cmek_key_disabled` (HTTP status 400)
45520 
45521 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
45522 
45523- `organization_on_hold` (HTTP status 400)
45524 
45525 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.
45526 
4504945527#### Example
4505045528 
4505145529```bash
4505245530 
Feedback