Sweep 22 Sep 2026 · 15:52Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Reading a new release v2.1.280 Building the pages · 4/6 1043 findings $36.88 so far
One capture · api

One read of Claude Developer Platform

256 pages moved out of 629 read.

api-20260916T150721Z

Pages moved 256 significant first
Pages read 629 in this capture
Captured 15:07 UTC
Corpus hash e061c4643db4 corpus-hash

What this read moved

1–25 of 256

This capture is too large to show at once. Changes 1-25 of 256 are below, significant first; the rest are on the following screens.

about-claude/pricing Changed · +4 / -4 lines

from line 13
1313The following table shows pricing for all Claude models:
1414 
1515| Model | Base input tokens | 5m cache writes | 1h cache writes | Cache hits and refreshes | Output tokens |
16| ------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | --------------- | --------------- | ------------------------ | ------------- |
17| Claude Fable 5.1 | $10 / MTok | $12.50 / MTok | $20 / MTok | $0.25 / MTok1 | $50 / MTok |
18| Claude Mythos 5.1 ([limited availability](https://anthropic.com/glasswing)) | $10 / MTok | $12.50 / MTok | $20 / MTok | $0.25 / MTok1 | $50 / MTok |
16| :------------------------------------------------------------------------------------------------------------------------------------ | :---------------- | :-------------- | :-------------- | :----------------------- | :------------ |
17| Claude Fable 5.1 | $10 / MTok | $12.50 / MTok | $20 / MTok | $0.25 / MTok<sup>1</sup> | $50 / MTok |
18| Claude Mythos 5.1 ([limited availability](https://anthropic.com/glasswing)) | $10 / MTok | $12.50 / MTok | $20 / MTok | $0.25 / MTok<sup>1</sup> | $50 / MTok |
1919| Claude Fable 5 | $10 / MTok | $12.50 / MTok | $20 / MTok | $1 / MTok | $50 / MTok |
2020| Claude Mythos 5 ([limited availability](https://anthropic.com/glasswing)) | $10 / MTok | $12.50 / MTok | $20 / MTok | $1 / MTok | $50 / MTok |
2121| Claude Opus 5 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
from line 32
3232| Claude Haiku 4.5 | $1 / MTok | $1.25 / MTok | $2 / MTok | $0.10 / MTok | $5 / MTok |
3333| Claude Haiku 3.5 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $0.80 / MTok | $1 / MTok | $1.60 / MTok | $0.08 / MTok | $4 / MTok |
3434 
35*1 Cache hits and refreshes on Claude Fable 5.1 and Claude Mythos 5.1 are priced at 0.025x the base input price. All other models use the standard 0.1x multiplier.*
35*<sup>1 Cache hits and refreshes on Claude Fable 5.1 and Claude Mythos 5.1 are priced at 0.025x the base input price. All other models use the standard 0.1x multiplier.</sup>*
3636 
3737<Note id="claude-sonnet-5-introductory-pricing">
3838 The $2/$10 per million input/output token pricing for Claude Sonnet 5, announced at launch as introductory pricing through August 31, 2026, is now the standard price. The previously scheduled increase to $3/$15 per million input/output tokens on September 1, 2026 will not occur.

api/beta Changed · +1230 / -375 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 9
99 
1010### Anthropic Beta
1111 
12- `AnthropicBeta = string or "message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
12- `AnthropicBeta = string or "message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1313 
1414 - `string`
1515 
16 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
16 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1717 
1818 - `"message-batches-2024-09-24"`
1919 
from line 105
105105 
106106 - `"mid-conversation-system-clear-at-2026-08-21"`
107107 
108 - `"compact-2026-09-04"`
109 
108110### Beta API Error
109111 
110112- `BetaAPIError object`
from line 465
463465 
464466 - `string`
465467 
466 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
468 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
467469 
468470 - `"message-batches-2024-09-24"`
469471 
from line 557
555557 
556558 - `"mid-conversation-system-clear-at-2026-08-21"`
557559 
560 - `"compact-2026-09-04"`
561 
558562- `"anthropic-workspace-id": optional string`
559563 
560564#### Returns
from line 600
596600 - `code_execution: BetaCapabilitySupport`
597601 
598602 Whether the model supports code execution tools.
603 
604 - `compaction: BetaCompactionCapability or null`
605 
606 Compaction capability details: whether the model accepts the top-level
607 `compaction` request parameter, with one entry per supported
608 `compaction.type` value.
609 
610 - `summarize: BetaCapabilitySupport`
611 
612 Whether the summarize compaction type is supported.
613 
614 - `supported: boolean`
615 
616 Whether this capability is supported by the model.
599617 
600618 - `context_management: BetaContextManagementCapability`
601619 
from line 751
733751 "supported": true
734752 },
735753 "code_execution": {
754 "supported": true
755 },
756 "compaction": {
757 "summarize": {
758 "supported": true
759 },
736760 "supported": true
737761 },
738762 "context_management": {
from line 845
821845 
822846 - `string`
823847 
824 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
848 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
825849 
826850 - `"message-batches-2024-09-24"`
827851 
from line 937
913937 
914938 - `"mid-conversation-system-clear-at-2026-08-21"`
915939 
940 - `"compact-2026-09-04"`
941 
916942- `"anthropic-workspace-id": optional string`
917943 
918944#### Returns
from line 980
954980 - `code_execution: BetaCapabilitySupport`
955981 
956982 Whether the model supports code execution tools.
983 
984 - `compaction: BetaCompactionCapability or null`
985 
986 Compaction capability details: whether the model accepts the top-level
987 `compaction` request parameter, with one entry per supported
988 `compaction.type` value.
989 
990 - `summarize: BetaCapabilitySupport`
991 
992 Whether the summarize compaction type is supported.
993 
994 - `supported: boolean`
995 
996 Whether this capability is supported by the model.
957997 
958998 - `context_management: BetaContextManagementCapability`
959999 
from line 1117
10771117 "supported": true
10781118 },
10791119 "code_execution": {
1120 "supported": true
1121 },
1122 "compaction": {
1123 "summarize": {
1124 "supported": true
1125 },
10801126 "supported": true
10811127 },
10821128 "context_management": {
from line 1204
11581204 
11591205 - `string`
11601206 
1161 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1207 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
11621208 
11631209 - `"message-batches-2024-09-24"`
11641210 
from line 1295
12491295 - `"thinking-binding-controls-2026-08-01"`
12501296 
12511297 - `"mid-conversation-system-clear-at-2026-08-21"`
1298 
1299 - `"compact-2026-09-04"`
12521300 
12531301- `"anthropic-user-profile-id": optional string`
12541302 
from line 2467
24192467 - `encrypted_content: optional string or null`
24202468 
24212469 Opaque metadata from prior compaction, to be round-tripped verbatim
2470 
2471 - `signature: optional string or null`
2472 
2473 The block's signature as returned, to be sent back verbatim
24222474 
24232475 - `BetaRequestToolAdditionBlock object`
24242476 
from line 2711
26592711- `cache_control: optional BetaCacheControlEphemeral or null`
26602712 
26612713 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
2714 
2715- `compaction: optional BetaCompactionConfig or null`
2716 
2717 Compact the whole conversation and return a signed `compaction` block,
2718 alone, that a later request sends back first in `messages`, in place of
2719 the messages it summarizes. There is no trigger and no pause flag: sending
2720 the parameter compacts, and nothing is sampled after the block.
2721 
2722 The summarization prompt is the server's own unless `instructions` are
2723 given, which then replace it for this request; a value that is empty or
2724 only whitespace counts as absent.
2725 
2726 - `type: "summarize"`
2727 
2728 - `instructions: optional string or null`
2729 
2730 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
2731 
2732 maxLength: 16384
26622733 
26632734- `container: optional BetaContainerParams or string or null`
26642735 
from line 4649
45784649 
45794650 When true, guarantees schema validation on tool names and inputs
45804651 
4652 - `url_sources: optional BetaWebFetchURLSources or null`
4653 
4654 Which sources contribute to the set of URLs web fetch may fetch.
4655 
4656 Each key is a tagged variant: `user_input` is `all` or `none`; the
4657 two tool filters are `all`, `none`, `only` (only the named tools'
4658 results) or `except` (every result but the named tools'). A named tool
4659 must be declared in this request's `tools[]`.
4660 
4661 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
4662 
4663 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
4664 
4665 - `BetaWebFetchURLSourceAll object`
4666 
4667 The `url_sources` variant under which a source contributes in
4668 full: every result of the tool filter's source, or all user input.
4669 
4670 - `type: "all"`
4671 
4672 - `BetaWebFetchURLSourceNone object`
4673 
4674 The `url_sources` variant under which a source contributes nothing:
4675 no result of the tool filter's source, or no user input.
4676 
4677 - `type: "none"`
4678 
4679 - `BetaWebFetchURLSourceOnly object`
4680 
4681 The tool filter variant under which only the named tools' results
4682 contribute.
4683 
4684 - `type: "only"`
4685 
4686 - `tools: array of BetaWebFetchURLSourceToolReference`
4687 
4688 - `type: "tool_reference"`
4689 
4690 - `name: string`
4691 
4692 - `BetaWebFetchURLSourceExcept object`
4693 
4694 The tool filter variant under which every result but the named
4695 tools' contributes.
4696 
4697 - `type: "except"`
4698 
4699 - `tools: array of BetaWebFetchURLSourceToolReference`
4700 
4701 - `type: "tool_reference"`
4702 
4703 - `name: string`
4704 
4705 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
4706 
4707 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
4708 
4709 - `BetaWebFetchURLSourceAll object`
4710 
4711 The `url_sources` variant under which a source contributes in
4712 full: every result of the tool filter's source, or all user input.
4713 
4714 - `BetaWebFetchURLSourceNone object`
4715 
4716 The `url_sources` variant under which a source contributes nothing:
4717 no result of the tool filter's source, or no user input.
4718 
4719 - `BetaWebFetchURLSourceOnly object`
4720 
4721 The tool filter variant under which only the named tools' results
4722 contribute.
4723 
4724 - `BetaWebFetchURLSourceExcept object`
4725 
4726 The tool filter variant under which every result but the named
4727 tools' contributes.
4728 
4729 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
4730 
4731 Whether URLs in user messages are fetchable: "all" or "none".
4732 
4733 - `BetaWebFetchURLSourceAll object`
4734 
4735 The `url_sources` variant under which a source contributes in
4736 full: every result of the tool filter's source, or all user input.
4737 
4738 - `BetaWebFetchURLSourceNone object`
4739 
4740 The `url_sources` variant under which a source contributes nothing:
4741 no result of the tool filter's source, or no user input.
4742 
45814743 - `BetaWebSearchTool20260209 object`
45824744 
45834745 - `type: "web_search_20260209"`
from line 4846
46844846 
46854847 When true, guarantees schema validation on tool names and inputs
46864848 
4849 - `url_sources: optional BetaWebFetchURLSources or null`
4850 
4851 Which sources contribute to the set of URLs web fetch may fetch.
4852 
4853 Each key is a tagged variant: `user_input` is `all` or `none`; the
4854 two tool filters are `all`, `none`, `only` (only the named tools'
4855 results) or `except` (every result but the named tools'). A named tool
4856 must be declared in this request's `tools[]`.
4857 
46874858 - `BetaWebFetchTool20260309 object`
46884859 
46894860 Web fetch tool with use_cache parameter for bypassing cached content.
from line 4913
47424913 
47434914 When true, guarantees schema validation on tool names and inputs
47444915 
4916 - `url_sources: optional BetaWebFetchURLSources or null`
4917 
4918 Which sources contribute to the set of URLs web fetch may fetch.
4919 
4920 Each key is a tagged variant: `user_input` is `all` or `none`; the
4921 two tool filters are `all`, `none`, `only` (only the named tools'
4922 results) or `except` (every result but the named tools'). A named tool
4923 must be declared in this request's `tools[]`.
4924 
47454925 - `use_cache: optional boolean`
47464926 
47474927 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 5047
48675047 - `strict: optional boolean`
48685048 
48695049 When true, guarantees schema validation on tool names and inputs
5050 
5051 - `url_sources: optional BetaWebFetchURLSources or null`
5052 
5053 Which sources contribute to the set of URLs web fetch may fetch.
5054 
5055 Each key is a tagged variant: `user_input` is `all` or `none`; the
5056 two tool filters are `all`, `none`, `only` (only the named tools'
5057 results) or `except` (every result but the named tools'). A named tool
5058 must be declared in this request's `tools[]`.
48705059 
48715060 - `use_cache: optional boolean`
48725061 
from line 6166
59776166 - `encrypted_content: string or null`
59786167 
59796168 Opaque metadata from prior compaction, to be round-tripped verbatim
6169 
6170 - `signature: optional string or null`
6171 
6172 Signature over the summary, to be sent back with the block verbatim
59806173 
59816174 - `BetaFallbackBlock object`
59826175 
from line 6934
67416934 
67426935 - `"fast"`
67436936 
6744 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
6745 
6746 Changes the API made to the request's input before showing it to the model:
6747 one entry per change, in request order. Today the only entry type is
6748 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
6749 block from the request's `messages` that was removed from the prompt instead
6750 of being shown to the model because it failed a binding check. More entry
6751 types may be added over time; ignore types you do not recognize.
6937 - `input_transformations: optional array of BetaInputTransformation or null`
6938 
6939 Changes the API made to the request's input before showing it to the model,
6940 and blocks that failed a binding check but were left unchanged: one entry per
6941 block, in request order. Two entry types today. `thinking_dropped` — a
6942 `thinking`, `redacted_thinking` or `connector_text` block from the request's
6943 `messages` that was removed from the prompt instead of being shown to the
6944 model because it failed a binding check. `thinking_mismatch_allowed` — a
6945 `thinking` or `redacted_thinking` block that failed the conversation check
6946 (the conversation before it differs from the one it was created in, or it
6947 carries no record of one on a model that requires it) and was shown to the
6948 model all the same, because that check is not enforced for this request.
6949 More entry types may be added over time; ignore types you do not recognize.
67526950 
67536951 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
67546952 every such response from a model that supports extended thinking, as `[]`
6755 when nothing was changed; without the beta, blocks are removed all the same
6756 but nothing is reported. Removed blocks contribute nothing to
6757 `usage.input_tokens`. When streaming, the array is final in `message_start`;
6758 the final `message_delta` event carries it only when a server-side model
6759 fallback happened mid-stream, in which case it holds the serving model's
6760 entries and replaces the one in `message_start`.
6761 
6762 - `type: "thinking_dropped"`
6763 
6764 Always `thinking_dropped` for this entry type.
6765 
6766 default: thinking_dropped
6767 
6768 - `path: string`
6769 
6770 Where the removed block was in your request, as `messages.{i}.content.{j}`:
6771 `i` indexes the `messages` array you sent and `j` that message's `content`
6772 array — the same form error messages use.
6773 
6774 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
6775 
6776 Which binding check removed the block: `model_binding_mismatch` — it was
6777 created by a model whose reasoning the requested model may not read;
6778 `prefix_binding_mismatch` — the conversation before it differs from the
6779 conversation it was created in (the rest of that turn's consecutive thinking
6780 blocks are removed with it, each with this reason);
6781 `organization_binding_mismatch` — it was created under a different
6782 organization (an Anthropic organization, AWS account or Google Cloud project)
6783 and this organization is not one of its additional organizations;
6784 `end_user_binding_mismatch` — it was created for a different end user, or
6785 was removed by the consumer-organization binding. A block that would fail
6786 several checks reports one reason, in this order of precedence:
6787 `organization_binding_mismatch`, `end_user_binding_mismatch`,
6788 `model_binding_mismatch`, `prefix_binding_mismatch`.
6789 
6790 - `"model_binding_mismatch"`
6791 
6792 - `"prefix_binding_mismatch"`
6793 
6794 - `"organization_binding_mismatch"`
6795 
6796 - `"end_user_binding_mismatch"`
6797 
6798- `BetaRawMessageStreamEvent = BetaRawMessageStartEvent or BetaRawMessageDeltaEvent or BetaRawMessageStopEvent or 3 more`
6799 
6800 - `BetaRawMessageStartEvent object`
6801 
6802 - `type: "message_start"`
6803 
6804 default: message_start
6805 
6806 - `message: BetaMessage`
6807 
6808 - `BetaRawMessageDeltaEvent object`
6809 
6810 - `type: "message_delta"`
6811 
6812 default: message_delta
6813 
6814 - `context_management: BetaContextManagementResponse or null`
6815 
6816 Information about context management strategies applied during the request
6817 
6818 - `delta: object`
6819 
6820 - `container: BetaContainer or null`
6821 
6822 Information about the container used in the request (for the code execution tool)
6823 
6824 - `stop_details: BetaRefusalStopDetails or null`
6825 
6826 Structured information about a refusal.
6827 
6828 - `stop_reason: BetaStopReason or null`
6829 
6830 - `stop_sequence: string or null`
6831 
6832 - `usage: BetaMessageDeltaUsage`
6833 
6834 Billing and rate-limit usage.
6835 
6836 Anthropic's API bills and rate-limits by token counts, as tokens represent the underlying cost to our systems.
6837 
6838 Under the hood, the API transforms requests into a format suitable for the model. The model's output then goes through a parsing stage before becoming an API response. As a result, the token counts in `usage` will not match one-to-one with the exact visible content of an API request or response.
6839 
6840 For example, `output_tokens` will be non-zero, even for an empty string response from Claude.
6841 
6842 Total input tokens in a request is the summation of `input_tokens`, `cache_creation_input_tokens`, and `cache_read_input_tokens`.
6843 
6844 - `cache_creation_input_tokens: number or null`
6845 
6846 The cumulative number of input tokens used to create the cache entry.
6847 
6848 minimum: 0
6849 
6850 - `cache_read_input_tokens: number or null`
6851 
6852 The cumulative number of input tokens read from the cache.
6853 
6854 minimum: 0
6855 
6856 - `fallback_credit: BetaFallbackCreditUsage or null`
6857 
6858 Outcome of the `fallback_credit_token` presented on this request.
6859 
6860 - `input_tokens: number or null`
6861 
6862 The cumulative number of input tokens which were used.
6863 
6864 minimum: 0
6865 
6866 - `iterations: BetaIterationsUsage or null`
6867 
6868 Per-iteration token usage breakdown.
6869 
6870 Each entry represents one sampling iteration, with its own input/output token counts and cache statistics, discriminated by `type`. For `message` entries (model sampling iterations, such as the turns of a server-side tool use loop), this allows you to:
6871 
6872 - Determine which iterations exceeded long context thresholds (>=200k tokens)
6873 - Calculate the context window size from the last `message` entry
6874 - Understand token accumulation across server-side tool use loops
6875 
6876 A `compaction` entry reports the token usage of the compaction operation itself — the server-side request that summarizes the context being closed — NOT the size of the context that was compacted away, and its token counts can be much smaller than that closed context (for example, a compaction that closes a ~200k-token context can report only a few thousand tokens). Do not derive the context window size from a `compaction` entry, even when it is the last entry. A `compaction` entry's tokens are not included in the top-level `usage` fields. When an input-token trigger is in effect (the default — 150,000 tokens unless configured otherwise), each `compaction` entry closes a context that had reached at least that threshold, though the context can exceed it by the final iteration's output and tool results.
6877 
6878 - `output_tokens: number`
6879 
6880 The cumulative number of output tokens which were used.
6881 
6882 - `output_tokens_details: BetaOutputTokensDetails or null`
6883 
6884 Breakdown of output tokens by category.
6885 
6886 `output_tokens` remains the inclusive, authoritative total used for billing.
6887 This object provides a read-only decomposition for observability — for example,
6888 how many of the billed output tokens were spent on internal reasoning that may
6889 have been summarized before being returned to you.
6890 
6891 - `server_tool_use: BetaServerToolUsage or null`
6892 
6893 The number of server tool requests.
6894 
6895 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
6896 
6897 Changes the API made to the request's input before showing it to the model:
6898 one entry per change, in request order. Today the only entry type is
6899 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
6900 block from the request's `messages` that was removed from the prompt instead
6901 of being shown to the model because it failed a binding check. More entry
6902 types may be added over time; ignore types you do not recognize.
6903 
6904 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
6905 every such response from a model that supports extended thinking, as `[]`
6906 when nothing was changed; without the beta, blocks are removed all the same
6907 but nothing is reported. Removed blocks contribute nothing to
6908 `usage.input_tokens`. When streaming, the array is final in `message_start`;
6909 the final `message_delta` event carries it only when a server-side model
6910 fallback happened mid-stream, in which case it holds the serving model's
6911 entries and replaces the one in `message_start`.
6953 when there is no entry to report; without the beta, blocks are removed or
6954 left in place all the same but nothing is reported. Removed blocks contribute
6955 nothing to `usage.input_tokens`; blocks left in place count as sent. When
6956 streaming, the array is final in `message_start`; the final `message_delta`
6957 event carries it only when a server-side model fallback happened mid-stream,
6958 in which case it holds the serving model's entries and replaces the one in
6959 `message_start`.
6960 
6961 - `BetaThinkingDroppedInputTransformation object`
69126962 
69136963 - `type: "thinking_dropped"`
69146964 
from line 6987
69376987 several checks reports one reason, in this order of precedence:
69386988 `organization_binding_mismatch`, `end_user_binding_mismatch`,
69396989 `model_binding_mismatch`, `prefix_binding_mismatch`.
6990 
6991 - `"model_binding_mismatch"`
6992 
6993 - `"prefix_binding_mismatch"`
6994 
6995 - `"organization_binding_mismatch"`
6996 
6997 - `"end_user_binding_mismatch"`
6998 
6999 - `BetaThinkingMismatchAllowedInputTransformation object`
7000 
7001 - `type: "thinking_mismatch_allowed"`
7002 
7003 Always `thinking_mismatch_allowed` for this entry type.
7004 
7005 default: thinking_mismatch_allowed
7006 
7007 - `path: string`
7008 
7009 Where the block is in your request, as `messages.{i}.content.{j}`:
7010 `i` indexes the `messages` array you sent and `j` that message's `content`
7011 array — the same form error messages use.
7012 
7013 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
7014 
7015 Which binding check the block failed; the block was shown to the model all
7016 the same. Always `prefix_binding_mismatch` today — the conversation before
7017 the block differs from the conversation it was created in, or the block
7018 carries no record of one on a model that requires it. Were the check
7019 enforced for this request, the block would have been removed or the request
7020 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
7021 takes the rest of that turn's consecutive thinking blocks, whereas here each
7022 block is checked on its own, so `thinking_mismatch_allowed` entries are a
7023 lower bound on what enforcement would remove.
7024 
7025 - `"model_binding_mismatch"`
7026 
7027 - `"prefix_binding_mismatch"`
7028 
7029 - `"organization_binding_mismatch"`
7030 
7031 - `"end_user_binding_mismatch"`
7032 
7033- `BetaRawMessageStreamEvent = BetaRawMessageStartEvent or BetaRawMessageDeltaEvent or BetaRawMessageStopEvent or 3 more`
7034 
7035 - `BetaRawMessageStartEvent object`
7036 
7037 - `type: "message_start"`
7038 
7039 default: message_start
7040 
7041 - `message: BetaMessage`
7042 
7043 - `BetaRawMessageDeltaEvent object`
7044 
7045 - `type: "message_delta"`
7046 
7047 default: message_delta
7048 
7049 - `context_management: BetaContextManagementResponse or null`
7050 
7051 Information about context management strategies applied during the request
7052 
7053 - `delta: object`
7054 
7055 - `container: BetaContainer or null`
7056 
7057 Information about the container used in the request (for the code execution tool)
7058 
7059 - `stop_details: BetaRefusalStopDetails or null`
7060 
7061 Structured information about a refusal.
7062 
7063 - `stop_reason: BetaStopReason or null`
7064 
7065 - `stop_sequence: string or null`
7066 
7067 - `usage: BetaMessageDeltaUsage`
7068 
7069 Billing and rate-limit usage.
7070 
7071 Anthropic's API bills and rate-limits by token counts, as tokens represent the underlying cost to our systems.
7072 
7073 Under the hood, the API transforms requests into a format suitable for the model. The model's output then goes through a parsing stage before becoming an API response. As a result, the token counts in `usage` will not match one-to-one with the exact visible content of an API request or response.
7074 
7075 For example, `output_tokens` will be non-zero, even for an empty string response from Claude.
7076 
7077 Total input tokens in a request is the summation of `input_tokens`, `cache_creation_input_tokens`, and `cache_read_input_tokens`.
7078 
7079 - `cache_creation_input_tokens: number or null`
7080 
7081 The cumulative number of input tokens used to create the cache entry.
7082 
7083 minimum: 0
7084 
7085 - `cache_read_input_tokens: number or null`
7086 
7087 The cumulative number of input tokens read from the cache.
7088 
7089 minimum: 0
7090 
7091 - `fallback_credit: BetaFallbackCreditUsage or null`
7092 
7093 Outcome of the `fallback_credit_token` presented on this request.
7094 
7095 - `input_tokens: number or null`
7096 
7097 The cumulative number of input tokens which were used.
7098 
7099 minimum: 0
7100 
7101 - `iterations: BetaIterationsUsage or null`
7102 
7103 Per-iteration token usage breakdown.
7104 
7105 Each entry represents one sampling iteration, with its own input/output token counts and cache statistics, discriminated by `type`. For `message` entries (model sampling iterations, such as the turns of a server-side tool use loop), this allows you to:
7106 
7107 - Determine which iterations exceeded long context thresholds (>=200k tokens)
7108 - Calculate the context window size from the last `message` entry
7109 - Understand token accumulation across server-side tool use loops
7110 
7111 A `compaction` entry reports the token usage of the compaction operation itself — the server-side request that summarizes the context being closed — NOT the size of the context that was compacted away, and its token counts can be much smaller than that closed context (for example, a compaction that closes a ~200k-token context can report only a few thousand tokens). Do not derive the context window size from a `compaction` entry, even when it is the last entry. A `compaction` entry's tokens are not included in the top-level `usage` fields. When an input-token trigger is in effect (the default — 150,000 tokens unless configured otherwise), each `compaction` entry closes a context that had reached at least that threshold, though the context can exceed it by the final iteration's output and tool results.
7112 
7113 - `output_tokens: number`
7114 
7115 The cumulative number of output tokens which were used.
7116 
7117 - `output_tokens_details: BetaOutputTokensDetails or null`
7118 
7119 Breakdown of output tokens by category.
7120 
7121 `output_tokens` remains the inclusive, authoritative total used for billing.
7122 This object provides a read-only decomposition for observability — for example,
7123 how many of the billed output tokens were spent on internal reasoning that may
7124 have been summarized before being returned to you.
7125 
7126 - `server_tool_use: BetaServerToolUsage or null`
7127 
7128 The number of server tool requests.
7129 
7130 - `input_transformations: optional array of BetaInputTransformation or null`
7131 
7132 Changes the API made to the request's input before showing it to the model,
7133 and blocks that failed a binding check but were left unchanged: one entry per
7134 block, in request order. Two entry types today. `thinking_dropped` — a
7135 `thinking`, `redacted_thinking` or `connector_text` block from the request's
7136 `messages` that was removed from the prompt instead of being shown to the
7137 model because it failed a binding check. `thinking_mismatch_allowed` — a
7138 `thinking` or `redacted_thinking` block that failed the conversation check
7139 (the conversation before it differs from the one it was created in, or it
7140 carries no record of one on a model that requires it) and was shown to the
7141 model all the same, because that check is not enforced for this request.
7142 More entry types may be added over time; ignore types you do not recognize.
7143 
7144 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
7145 every such response from a model that supports extended thinking, as `[]`
7146 when there is no entry to report; without the beta, blocks are removed or
7147 left in place all the same but nothing is reported. Removed blocks contribute
7148 nothing to `usage.input_tokens`; blocks left in place count as sent. When
7149 streaming, the array is final in `message_start`; the final `message_delta`
7150 event carries it only when a server-side model fallback happened mid-stream,
7151 in which case it holds the serving model's entries and replaces the one in
7152 `message_start`.
7153 
7154 - `BetaThinkingDroppedInputTransformation object`
7155 
7156 - `BetaThinkingMismatchAllowedInputTransformation object`
69407157 
69417158 - `BetaRawMessageStopEvent object`
69427159 
from line 7489
72727489 
72737490 - `string`
72747491 
7275 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
7492 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
72767493 
72777494 - `"message-batches-2024-09-24"`
72787495 
from line 7580
73637580 - `"thinking-binding-controls-2026-08-01"`
73647581 
73657582 - `"mid-conversation-system-clear-at-2026-08-21"`
7583 
7584 - `"compact-2026-09-04"`
73667585 
73677586- `"anthropic-user-profile-id": optional string`
73687587 
from line 8740
85218740 - `encrypted_content: optional string or null`
85228741 
85238742 Opaque metadata from prior compaction, to be round-tripped verbatim
8743 
8744 - `signature: optional string or null`
8745 
8746 The block's signature as returned, to be sent back verbatim
85248747 
85258748 - `BetaRequestToolAdditionBlock object`
85268749 
from line 8984
87618984- `cache_control: optional BetaCacheControlEphemeral or null`
87628985 
87638986 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
8987 
8988- `compaction: optional BetaCompactionConfig or null`
8989 
8990 Compact the whole conversation and return a signed `compaction` block,
8991 alone, that a later request sends back first in `messages`, in place of
8992 the messages it summarizes. There is no trigger and no pause flag: sending
8993 the parameter compacts, and nothing is sampled after the block.
8994 
8995 The summarization prompt is the server's own unless `instructions` are
8996 given, which then replace it for this request; a value that is empty or
8997 only whitespace counts as absent.
8998 
8999 - `type: "summarize"`
9000 
9001 - `instructions: optional string or null`
9002 
9003 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
9004 
9005 maxLength: 16384
87649006 
87659007- `context_management: optional BetaContextManagementConfig or null`
87669008 
from line 10748
1050610748 
1050710749 When true, guarantees schema validation on tool names and inputs
1050810750 
10751 - `url_sources: optional BetaWebFetchURLSources or null`
10752 
10753 Which sources contribute to the set of URLs web fetch may fetch.
10754 
10755 Each key is a tagged variant: `user_input` is `all` or `none`; the
10756 two tool filters are `all`, `none`, `only` (only the named tools'
10757 results) or `except` (every result but the named tools'). A named tool
10758 must be declared in this request's `tools[]`.
10759 
10760 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
10761 
10762 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
10763 
10764 - `BetaWebFetchURLSourceAll object`
10765 
10766 The `url_sources` variant under which a source contributes in
10767 full: every result of the tool filter's source, or all user input.
10768 
10769 - `type: "all"`
10770 
10771 - `BetaWebFetchURLSourceNone object`
10772 
10773 The `url_sources` variant under which a source contributes nothing:
10774 no result of the tool filter's source, or no user input.
10775 
10776 - `type: "none"`
10777 
10778 - `BetaWebFetchURLSourceOnly object`
10779 
10780 The tool filter variant under which only the named tools' results
10781 contribute.
10782 
10783 - `type: "only"`
10784 
10785 - `tools: array of BetaWebFetchURLSourceToolReference`
10786 
10787 - `type: "tool_reference"`
10788 
10789 - `name: string`
10790 
10791 - `BetaWebFetchURLSourceExcept object`
10792 
10793 The tool filter variant under which every result but the named
10794 tools' contributes.
10795 
10796 - `type: "except"`
10797 
10798 - `tools: array of BetaWebFetchURLSourceToolReference`
10799 
10800 - `type: "tool_reference"`
10801 
10802 - `name: string`
10803 
10804 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
10805 
10806 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
10807 
10808 - `BetaWebFetchURLSourceAll object`
10809 
10810 The `url_sources` variant under which a source contributes in
10811 full: every result of the tool filter's source, or all user input.
10812 
10813 - `BetaWebFetchURLSourceNone object`
10814 
10815 The `url_sources` variant under which a source contributes nothing:
10816 no result of the tool filter's source, or no user input.
10817 
10818 - `BetaWebFetchURLSourceOnly object`
10819 
10820 The tool filter variant under which only the named tools' results
10821 contribute.
10822 
10823 - `BetaWebFetchURLSourceExcept object`
10824 
10825 The tool filter variant under which every result but the named
10826 tools' contributes.
10827 
10828 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
10829 
10830 Whether URLs in user messages are fetchable: "all" or "none".
10831 
10832 - `BetaWebFetchURLSourceAll object`
10833 
10834 The `url_sources` variant under which a source contributes in
10835 full: every result of the tool filter's source, or all user input.
10836 
10837 - `BetaWebFetchURLSourceNone object`
10838 
10839 The `url_sources` variant under which a source contributes nothing:
10840 no result of the tool filter's source, or no user input.
10841 
1050910842 - `BetaWebSearchTool20260209 object`
1051010843 
1051110844 - `type: "web_search_20260209"`
from line 10945
1061210945 
1061310946 When true, guarantees schema validation on tool names and inputs
1061410947 
10948 - `url_sources: optional BetaWebFetchURLSources or null`
10949 
10950 Which sources contribute to the set of URLs web fetch may fetch.
10951 
10952 Each key is a tagged variant: `user_input` is `all` or `none`; the
10953 two tool filters are `all`, `none`, `only` (only the named tools'
10954 results) or `except` (every result but the named tools'). A named tool
10955 must be declared in this request's `tools[]`.
10956 
1061510957 - `BetaWebFetchTool20260309 object`
1061610958 
1061710959 Web fetch tool with use_cache parameter for bypassing cached content.
from line 11012
1067011012 
1067111013 When true, guarantees schema validation on tool names and inputs
1067211014 
11015 - `url_sources: optional BetaWebFetchURLSources or null`
11016 
11017 Which sources contribute to the set of URLs web fetch may fetch.
11018 
11019 Each key is a tagged variant: `user_input` is `all` or `none`; the
11020 two tool filters are `all`, `none`, `only` (only the named tools'
11021 results) or `except` (every result but the named tools'). A named tool
11022 must be declared in this request's `tools[]`.
11023 
1067311024 - `use_cache: optional boolean`
1067411025 
1067511026 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 11146
1079511146 - `strict: optional boolean`
1079611147 
1079711148 When true, guarantees schema validation on tool names and inputs
11149 
11150 - `url_sources: optional BetaWebFetchURLSources or null`
11151 
11152 Which sources contribute to the set of URLs web fetch may fetch.
11153 
11154 Each key is a tagged variant: `user_input` is `all` or `none`; the
11155 two tool filters are `all`, `none`, `only` (only the named tools'
11156 results) or `except` (every result but the named tools'). A named tool
11157 must be declared in this request's `tools[]`.
1079811158 
1079911159 - `use_cache: optional boolean`
1080011160 
from line 11418
1105811418 
1105911419 - `string`
1106011420 
11061 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
11421 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1106211422 
1106311423 - `"message-batches-2024-09-24"`
1106411424 
from line 11509
1114911509 - `"thinking-binding-controls-2026-08-01"`
1115011510 
1115111511 - `"mid-conversation-system-clear-at-2026-08-21"`
11512 
11513 - `"compact-2026-09-04"`
1115211514 
1115311515- `"anthropic-user-profile-id": optional string`
1115411516 
from line 12701
1233912701 - `encrypted_content: optional string or null`
1234012702 
1234112703 Opaque metadata from prior compaction, to be round-tripped verbatim
12704 
12705 - `signature: optional string or null`
12706 
12707 The block's signature as returned, to be sent back verbatim
1234212708 
1234312709 - `BetaRequestToolAdditionBlock object`
1234412710 
from line 12945
1257912945 - `cache_control: optional BetaCacheControlEphemeral or null`
1258012946 
1258112947 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
12948 
12949 - `compaction: optional BetaCompactionConfig or null`
12950 
12951 Compact the whole conversation and return a signed `compaction` block,
12952 alone, that a later request sends back first in `messages`, in place of
12953 the messages it summarizes. There is no trigger and no pause flag: sending
12954 the parameter compacts, and nothing is sampled after the block.
12955 
12956 The summarization prompt is the server's own unless `instructions` are
12957 given, which then replace it for this request; a value that is empty or
12958 only whitespace counts as absent.
12959 
12960 - `type: "summarize"`
12961 
12962 - `instructions: optional string or null`
12963 
12964 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
12965 
12966 maxLength: 16384
1258212967 
1258312968 - `container: optional BetaContainerParams or string or null`
1258412969 
from line 14883
1449814883 
1449914884 When true, guarantees schema validation on tool names and inputs
1450014885 
14886 - `url_sources: optional BetaWebFetchURLSources or null`
14887 
14888 Which sources contribute to the set of URLs web fetch may fetch.
14889 
14890 Each key is a tagged variant: `user_input` is `all` or `none`; the
14891 two tool filters are `all`, `none`, `only` (only the named tools'
14892 results) or `except` (every result but the named tools'). A named tool
14893 must be declared in this request's `tools[]`.
14894 
14895 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
14896 
14897 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
14898 
14899 - `BetaWebFetchURLSourceAll object`
14900 
14901 The `url_sources` variant under which a source contributes in
14902 full: every result of the tool filter's source, or all user input.
14903 
14904 - `type: "all"`
14905 
14906 - `BetaWebFetchURLSourceNone object`
14907 
14908 The `url_sources` variant under which a source contributes nothing:
14909 no result of the tool filter's source, or no user input.
14910 
14911 - `type: "none"`
14912 
14913 - `BetaWebFetchURLSourceOnly object`
14914 
14915 The tool filter variant under which only the named tools' results
14916 contribute.
14917 
14918 - `type: "only"`
14919 
14920 - `tools: array of BetaWebFetchURLSourceToolReference`
14921 
14922 - `type: "tool_reference"`
14923 
14924 - `name: string`
14925 
14926 - `BetaWebFetchURLSourceExcept object`
14927 
14928 The tool filter variant under which every result but the named
14929 tools' contributes.
14930 
14931 - `type: "except"`
14932 
14933 - `tools: array of BetaWebFetchURLSourceToolReference`
14934 
14935 - `type: "tool_reference"`
14936 
14937 - `name: string`
14938 
14939 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
14940 
14941 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
14942 
14943 - `BetaWebFetchURLSourceAll object`
14944 
14945 The `url_sources` variant under which a source contributes in
14946 full: every result of the tool filter's source, or all user input.
14947 
14948 - `BetaWebFetchURLSourceNone object`
14949 
14950 The `url_sources` variant under which a source contributes nothing:
14951 no result of the tool filter's source, or no user input.
14952 
14953 - `BetaWebFetchURLSourceOnly object`
14954 
14955 The tool filter variant under which only the named tools' results
14956 contribute.
14957 
14958 - `BetaWebFetchURLSourceExcept object`
14959 
14960 The tool filter variant under which every result but the named
14961 tools' contributes.
14962 
14963 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
14964 
14965 Whether URLs in user messages are fetchable: "all" or "none".
14966 
14967 - `BetaWebFetchURLSourceAll object`
14968 
14969 The `url_sources` variant under which a source contributes in
14970 full: every result of the tool filter's source, or all user input.
14971 
14972 - `BetaWebFetchURLSourceNone object`
14973 
14974 The `url_sources` variant under which a source contributes nothing:
14975 no result of the tool filter's source, or no user input.
14976 
1450114977 - `BetaWebSearchTool20260209 object`
1450214978 
1450314979 - `type: "web_search_20260209"`
from line 15080
1460415080 
1460515081 When true, guarantees schema validation on tool names and inputs
1460615082 
15083 - `url_sources: optional BetaWebFetchURLSources or null`
15084 
15085 Which sources contribute to the set of URLs web fetch may fetch.
15086 
15087 Each key is a tagged variant: `user_input` is `all` or `none`; the
15088 two tool filters are `all`, `none`, `only` (only the named tools'
15089 results) or `except` (every result but the named tools'). A named tool
15090 must be declared in this request's `tools[]`.
15091 
1460715092 - `BetaWebFetchTool20260309 object`
1460815093 
1460915094 Web fetch tool with use_cache parameter for bypassing cached content.
from line 15147
1466215147 
1466315148 When true, guarantees schema validation on tool names and inputs
1466415149 
15150 - `url_sources: optional BetaWebFetchURLSources or null`
15151 
15152 Which sources contribute to the set of URLs web fetch may fetch.
15153 
15154 Each key is a tagged variant: `user_input` is `all` or `none`; the
15155 two tool filters are `all`, `none`, `only` (only the named tools'
15156 results) or `except` (every result but the named tools'). A named tool
15157 must be declared in this request's `tools[]`.
15158 
1466515159 - `use_cache: optional boolean`
1466615160 
1466715161 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 15281
1478715281 - `strict: optional boolean`
1478815282 
1478915283 When true, guarantees schema validation on tool names and inputs
15284 
15285 - `url_sources: optional BetaWebFetchURLSources or null`
15286 
15287 Which sources contribute to the set of URLs web fetch may fetch.
15288 
15289 Each key is a tagged variant: `user_input` is `all` or `none`; the
15290 two tool filters are `all`, `none`, `only` (only the named tools'
15291 results) or `except` (every result but the named tools'). A named tool
15292 must be declared in this request's `tools[]`.
1479015293 
1479115294 - `use_cache: optional boolean`
1479215295 
from line 15682
1517915682 
1518015683 - `string`
1518115684 
15182 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
15685 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1518315686 
1518415687 - `"message-batches-2024-09-24"`
1518515688 
from line 15773
1527015773 - `"thinking-binding-controls-2026-08-01"`
1527115774 
1527215775 - `"mid-conversation-system-clear-at-2026-08-21"`
15776 
15777 - `"compact-2026-09-04"`
1527315778 
1527415779- `"anthropic-workspace-id": optional string`
1527515780 
from line 15954
1544915954 
1545015955 - `string`
1545115956 
15452 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
15957 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1545315958 
1545415959 - `"message-batches-2024-09-24"`
1545515960 
from line 16045
1554016045 - `"thinking-binding-controls-2026-08-01"`
1554116046 
1554216047 - `"mid-conversation-system-clear-at-2026-08-21"`
16048 
16049 - `"compact-2026-09-04"`
1554316050 
1554416051- `"anthropic-workspace-id": optional string`
1554516052 
from line 16235
1572816235 
1572916236 - `string`
1573016237 
15731 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
16238 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1573216239 
1573316240 - `"message-batches-2024-09-24"`
1573416241 
from line 16326
1581916326 - `"thinking-binding-controls-2026-08-01"`
1582016327 
1582116328 - `"mid-conversation-system-clear-at-2026-08-21"`
16329 
16330 - `"compact-2026-09-04"`
1582216331 
1582316332- `"anthropic-workspace-id": optional string`
1582416333 
from line 16498
1598916498 
1599016499 - `string`
1599116500 
15992 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
16501 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1599316502 
1599416503 - `"message-batches-2024-09-24"`
1599516504 
from line 16589
1608016589 - `"thinking-binding-controls-2026-08-01"`
1608116590 
1608216591 - `"mid-conversation-system-clear-at-2026-08-21"`
16592 
16593 - `"compact-2026-09-04"`
1608316594 
1608416595- `"anthropic-workspace-id": optional string`
1608516596 
from line 16653
1614216653 
1614316654 - `string`
1614416655 
16145 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
16656 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1614616657 
1614716658 - `"message-batches-2024-09-24"`
1614816659 
from line 16744
1623316744 - `"thinking-binding-controls-2026-08-01"`
1623416745 
1623516746 - `"mid-conversation-system-clear-at-2026-08-21"`
16747 
16748 - `"compact-2026-09-04"`
1623616749 
1623716750- `"anthropic-workspace-id": optional string`
1623816751 
from line 17671
1715817671 - `encrypted_content: string or null`
1715917672 
1716017673 Opaque metadata from prior compaction, to be round-tripped verbatim
17674 
17675 - `signature: optional string or null`
17676 
17677 Signature over the summary, to be sent back with the block verbatim
1716117678 
1716217679 - `BetaFallbackBlock object`
1716317680 
from line 18439
1792218439 
1792318440 - `"fast"`
1792418441 
17925 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
17926 
17927 Changes the API made to the request's input before showing it to the model:
17928 one entry per change, in request order. Today the only entry type is
17929 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
17930 block from the request's `messages` that was removed from the prompt instead
17931 of being shown to the model because it failed a binding check. More entry
17932 types may be added over time; ignore types you do not recognize.
18442 - `input_transformations: optional array of BetaInputTransformation or null`
18443 
18444 Changes the API made to the request's input before showing it to the model,
18445 and blocks that failed a binding check but were left unchanged: one entry per
18446 block, in request order. Two entry types today. `thinking_dropped` — a
18447 `thinking`, `redacted_thinking` or `connector_text` block from the request's
18448 `messages` that was removed from the prompt instead of being shown to the
18449 model because it failed a binding check. `thinking_mismatch_allowed` — a
18450 `thinking` or `redacted_thinking` block that failed the conversation check
18451 (the conversation before it differs from the one it was created in, or it
18452 carries no record of one on a model that requires it) and was shown to the
18453 model all the same, because that check is not enforced for this request.
18454 More entry types may be added over time; ignore types you do not recognize.
1793318455 
1793418456 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
1793518457 every such response from a model that supports extended thinking, as `[]`
17936 when nothing was changed; without the beta, blocks are removed all the same
17937 but nothing is reported. Removed blocks contribute nothing to
17938 `usage.input_tokens`. When streaming, the array is final in `message_start`;
17939 the final `message_delta` event carries it only when a server-side model
17940 fallback happened mid-stream, in which case it holds the serving model's
17941 entries and replaces the one in `message_start`.
17942 
17943 - `type: "thinking_dropped"`
17944 
17945 Always `thinking_dropped` for this entry type.
17946 
17947 default: thinking_dropped
17948 
17949 - `path: string`
17950 
17951 Where the removed block was in your request, as `messages.{i}.content.{j}`:
17952 `i` indexes the `messages` array you sent and `j` that message's `content`
17953 array — the same form error messages use.
17954 
17955 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
17956 
17957 Which binding check removed the block: `model_binding_mismatch` — it was
17958 created by a model whose reasoning the requested model may not read;
17959 `prefix_binding_mismatch` — the conversation before it differs from the
17960 conversation it was created in (the rest of that turn's consecutive thinking
17961 blocks are removed with it, each with this reason);
17962 `organization_binding_mismatch` — it was created under a different
17963 organization (an Anthropic organization, AWS account or Google Cloud project)
17964 and this organization is not one of its additional organizations;
17965 `end_user_binding_mismatch` — it was created for a different end user, or
17966 was removed by the consumer-organization binding. A block that would fail
17967 several checks reports one reason, in this order of precedence:
17968 `organization_binding_mismatch`, `end_user_binding_mismatch`,
17969 `model_binding_mismatch`, `prefix_binding_mismatch`.
17970 
17971 - `"model_binding_mismatch"`
17972 
17973 - `"prefix_binding_mismatch"`
17974 
17975 - `"organization_binding_mismatch"`
17976 
17977 - `"end_user_binding_mismatch"`
18458 when there is no entry to report; without the beta, blocks are removed or
18459 left in place all the same but nothing is reported. Removed blocks contribute
18460 nothing to `usage.input_tokens`; blocks left in place count as sent. When
18461 streaming, the array is final in `message_start`; the final `message_delta`
18462 event carries it only when a server-side model fallback happened mid-stream,
18463 in which case it holds the serving model's entries and replaces the one in
18464 `message_start`.
18465 
18466 - `BetaThinkingDroppedInputTransformation object`
18467 
18468 - `type: "thinking_dropped"`
18469 
18470 Always `thinking_dropped` for this entry type.
18471 
18472 default: thinking_dropped
18473 
18474 - `path: string`
18475 
18476 Where the removed block was in your request, as `messages.{i}.content.{j}`:
18477 `i` indexes the `messages` array you sent and `j` that message's `content`
18478 array — the same form error messages use.
18479 
18480 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
18481 
18482 Which binding check removed the block: `model_binding_mismatch` — it was
18483 created by a model whose reasoning the requested model may not read;
18484 `prefix_binding_mismatch` — the conversation before it differs from the
18485 conversation it was created in (the rest of that turn's consecutive thinking
18486 blocks are removed with it, each with this reason);
18487 `organization_binding_mismatch` — it was created under a different
18488 organization (an Anthropic organization, AWS account or Google Cloud project)
18489 and this organization is not one of its additional organizations;
18490 `end_user_binding_mismatch` — it was created for a different end user, or
18491 was removed by the consumer-organization binding. A block that would fail
18492 several checks reports one reason, in this order of precedence:
18493 `organization_binding_mismatch`, `end_user_binding_mismatch`,
18494 `model_binding_mismatch`, `prefix_binding_mismatch`.
18495 
18496 - `"model_binding_mismatch"`
18497 
18498 - `"prefix_binding_mismatch"`
18499 
18500 - `"organization_binding_mismatch"`
18501 
18502 - `"end_user_binding_mismatch"`
18503 
18504 - `BetaThinkingMismatchAllowedInputTransformation object`
18505 
18506 - `type: "thinking_mismatch_allowed"`
18507 
18508 Always `thinking_mismatch_allowed` for this entry type.
18509 
18510 default: thinking_mismatch_allowed
18511 
18512 - `path: string`
18513 
18514 Where the block is in your request, as `messages.{i}.content.{j}`:
18515 `i` indexes the `messages` array you sent and `j` that message's `content`
18516 array — the same form error messages use.
18517 
18518 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
18519 
18520 Which binding check the block failed; the block was shown to the model all
18521 the same. Always `prefix_binding_mismatch` today — the conversation before
18522 the block differs from the conversation it was created in, or the block
18523 carries no record of one on a model that requires it. Were the check
18524 enforced for this request, the block would have been removed or the request
18525 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
18526 takes the rest of that turn's consecutive thinking blocks, whereas here each
18527 block is checked on its own, so `thinking_mismatch_allowed` entries are a
18528 lower bound on what enforcement would remove.
18529 
18530 - `"model_binding_mismatch"`
18531 
18532 - `"prefix_binding_mismatch"`
18533 
18534 - `"organization_binding_mismatch"`
18535 
18536 - `"end_user_binding_mismatch"`
1797818537 
1797918538 - `BetaMessageBatchErroredResult object`
1798018539 
from line 18678
1811918678 
1812018679 - `string`
1812118680 
18122 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
18681 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1812318682 
1812418683 - `"message-batches-2024-09-24"`
1812518684 
from line 18769
1821018769 - `"thinking-binding-controls-2026-08-01"`
1821118770 
1821218771 - `"mid-conversation-system-clear-at-2026-08-21"`
18772 
18773 - `"compact-2026-09-04"`
1821318774 
1821418775- `"anthropic-workspace-id": optional string`
1821518776 
from line 20201
1964020201 
1964120202 - `string`
1964220203 
19643 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
20204 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1964420205 
1964520206 - `"message-batches-2024-09-24"`
1964620207 
from line 20292
1973120292 - `"thinking-binding-controls-2026-08-01"`
1973220293 
1973320294 - `"mid-conversation-system-clear-at-2026-08-21"`
20295 
20296 - `"compact-2026-09-04"`
1973420297 
1973520298- `"anthropic-workspace-id": optional string`
1973620299 
from line 20998
2043520998 
2043620999 - `string`
2043721000 
20438 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
21001 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2043921002 
2044021003 - `"message-batches-2024-09-24"`
2044121004 
from line 21089
2052621089 - `"thinking-binding-controls-2026-08-01"`
2052721090 
2052821091 - `"mid-conversation-system-clear-at-2026-08-21"`
21092 
21093 - `"compact-2026-09-04"`
2052921094 
2053021095- `"anthropic-workspace-id": optional string`
2053121096 
from line 21778
2121321778 
2121421779 - `string`
2121521780 
21216 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
21781 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2121721782 
2121821783 - `"message-batches-2024-09-24"`
2121921784 
from line 21869
2130421869 - `"thinking-binding-controls-2026-08-01"`
2130521870 
2130621871 - `"mid-conversation-system-clear-at-2026-08-21"`
21872 
21873 - `"compact-2026-09-04"`
2130721874 
2130821875- `"anthropic-workspace-id": optional string`
2130921876 
from line 23274
2270723274 
2270823275 - `string`
2270923276 
22710 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
23277 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2271123278 
2271223279 - `"message-batches-2024-09-24"`
2271323280 
from line 23365
2279823365 - `"thinking-binding-controls-2026-08-01"`
2279923366 
2280023367 - `"mid-conversation-system-clear-at-2026-08-21"`
23368 
23369 - `"compact-2026-09-04"`
2280123370 
2280223371- `"anthropic-workspace-id": optional string`
2280323372 
from line 24069
2350024069 
2350124070 - `string`
2350224071 
23503 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
24072 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2350424073 
2350524074 - `"message-batches-2024-09-24"`
2350624075 
from line 24160
2359124160 - `"thinking-binding-controls-2026-08-01"`
2359224161 
2359324162 - `"mid-conversation-system-clear-at-2026-08-21"`
24163 
24164 - `"compact-2026-09-04"`
2359424165 
2359524166- `"anthropic-workspace-id": optional string`
2359624167 
from line 24856
2428524856 
2428624857 - `string`
2428724858 
24288 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
24859 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2428924860 
2429024861 - `"message-batches-2024-09-24"`
2429124862 
from line 24947
2437624947 - `"thinking-binding-controls-2026-08-01"`
2437724948 
2437824949 - `"mid-conversation-system-clear-at-2026-08-21"`
24950 
24951 - `"compact-2026-09-04"`
2437924952 
2438024953- `"anthropic-workspace-id": optional string`
2438124954 
from line 25319
2474625319 
2474725320 - `string`
2474825321 
24749 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
25322 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2475025323 
2475125324 - `"message-batches-2024-09-24"`
2475225325 
from line 25410
2483725410 - `"thinking-binding-controls-2026-08-01"`
2483825411 
2483925412 - `"mid-conversation-system-clear-at-2026-08-21"`
25413 
25414 - `"compact-2026-09-04"`
2484025415 
2484125416- `"anthropic-workspace-id": optional string`
2484225417 
from line 25634
2505925634 
2506025635 - `string`
2506125636 
25062 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
25637 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2506325638 
2506425639 - `"message-batches-2024-09-24"`
2506525640 
from line 25725
2515025725 - `"thinking-binding-controls-2026-08-01"`
2515125726 
2515225727 - `"mid-conversation-system-clear-at-2026-08-21"`
25728 
25729 - `"compact-2026-09-04"`
2515325730 
2515425731- `"anthropic-workspace-id": optional string`
2515525732 
from line 25940
2536325940 
2536425941 - `string`
2536525942 
25366 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
25943 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2536725944 
2536825945 - `"message-batches-2024-09-24"`
2536925946 
from line 26031
2545426031 - `"thinking-binding-controls-2026-08-01"`
2545526032 
2545626033 - `"mid-conversation-system-clear-at-2026-08-21"`
26034 
26035 - `"compact-2026-09-04"`
2545726036 
2545826037- `"anthropic-workspace-id": optional string`
2545926038 
from line 26372
2579326372 
2579426373 - `string`
2579526374 
25796 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
26375 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2579726376 
2579826377 - `"message-batches-2024-09-24"`
2579926378 
from line 26463
2588426463 - `"thinking-binding-controls-2026-08-01"`
2588526464 
2588626465 - `"mid-conversation-system-clear-at-2026-08-21"`
26466 
26467 - `"compact-2026-09-04"`
2588726468 
2588826469- `"anthropic-workspace-id": optional string`
2588926470 
from line 26521
2594026521 
2594126522 - `string`
2594226523 
25943 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
26524 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2594426525 
2594526526 - `"message-batches-2024-09-24"`
2594626527 
from line 26612
2603126612 - `"thinking-binding-controls-2026-08-01"`
2603226613 
2603326614 - `"mid-conversation-system-clear-at-2026-08-21"`
26615 
26616 - `"compact-2026-09-04"`
2603426617 
2603526618- `"anthropic-workspace-id": optional string`
2603626619 
from line 26834
2625126834 
2625226835 - `string`
2625326836 
26254 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
26837 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2625526838 
2625626839 - `"message-batches-2024-09-24"`
2625726840 
from line 26925
2634226925 - `"thinking-binding-controls-2026-08-01"`
2634326926 
2634426927 - `"mid-conversation-system-clear-at-2026-08-21"`
26928 
26929 - `"compact-2026-09-04"`
2634526930 
2634626931- `"anthropic-workspace-id": optional string`
2634726932 
from line 27080
2649527080 
2649627081 - `string`
2649727082 
26498 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
27083 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2649927084 
2650027085 - `"message-batches-2024-09-24"`
2650127086 
from line 27171
2658627171 - `"thinking-binding-controls-2026-08-01"`
2658727172 
2658827173 - `"mid-conversation-system-clear-at-2026-08-21"`
27174 
27175 - `"compact-2026-09-04"`
2658927176 
2659027177- `"Anthropic-Worker-ID": optional string`
2659127178 
from line 27316
2672927316 
2673027317 - `string`
2673127318 
26732 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
27319 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2673327320 
2673427321 - `"message-batches-2024-09-24"`
2673527322 
from line 27407
2682027407 - `"thinking-binding-controls-2026-08-01"`
2682127408 
2682227409 - `"mid-conversation-system-clear-at-2026-08-21"`
27410 
27411 - `"compact-2026-09-04"`
2682327412 
2682427413#### Returns
2682527414 
from line 27559
2697027559 
2697127560 - `string`
2697227561 
26973 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
27562 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2697427563 
2697527564 - `"message-batches-2024-09-24"`
2697627565 
from line 27650
2706127650 - `"thinking-binding-controls-2026-08-01"`
2706227651 
2706327652 - `"mid-conversation-system-clear-at-2026-08-21"`
27653 
27654 - `"compact-2026-09-04"`
2706427655 
2706527656#### Returns
2706627657 
from line 27735
2714427735 
2714527736 - `string`
2714627737 
27147 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
27738 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2714827739 
2714927740 - `"message-batches-2024-09-24"`
2715027741 
from line 27826
2723527826 - `"thinking-binding-controls-2026-08-01"`
2723627827 
2723727828 - `"mid-conversation-system-clear-at-2026-08-21"`
27829 
27830 - `"compact-2026-09-04"`
2723827831 
2723927832- `"anthropic-workspace-id": optional string`
2724027833 
from line 27989
2739627989 
2739727990 - `string`
2739827991 
27399 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
27992 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2740027993 
2740127994 - `"message-batches-2024-09-24"`
2740227995 
from line 28080
2748728080 - `"thinking-binding-controls-2026-08-01"`
2748828081 
2748928082 - `"mid-conversation-system-clear-at-2026-08-21"`
28083 
28084 - `"compact-2026-09-04"`
2749028085 
2749128086#### Returns
2749228087 
from line 28230
2763528230 
2763628231 - `string`
2763728232 
27638 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
28233 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2763928234 
2764028235 - `"message-batches-2024-09-24"`
2764128236 
from line 28321
2772628321 - `"thinking-binding-controls-2026-08-01"`
2772728322 
2772828323 - `"mid-conversation-system-clear-at-2026-08-21"`
28324 
28325 - `"compact-2026-09-04"`
2772928326 
2773028327- `"anthropic-workspace-id": optional string`
2773128328 
from line 28472
2787528472 
2787628473 - `string`
2787728474 
27878 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
28475 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2787928476 
2788028477 - `"message-batches-2024-09-24"`
2788128478 
from line 28563
2796628563 - `"thinking-binding-controls-2026-08-01"`
2796728564 
2796828565 - `"mid-conversation-system-clear-at-2026-08-21"`
28566 
28567 - `"compact-2026-09-04"`
2796928568 
2797028569- `"anthropic-workspace-id": optional string`
2797128570 
from line 28637
2803828637 
2803928638 - `string`
2804028639 
28041 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
28640 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2804228641 
2804328642 - `"message-batches-2024-09-24"`
2804428643 
from line 28728
2812928728 - `"thinking-binding-controls-2026-08-01"`
2813028729 
2813128730 - `"mid-conversation-system-clear-at-2026-08-21"`
28731 
28732 - `"compact-2026-09-04"`
2813228733 
2813328734- `"anthropic-workspace-id": optional string`
2813428735 
from line 30934
3033330934 
3033430935 - `string`
3033530936 
30336 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
30937 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3033730938 
3033830939 - `"message-batches-2024-09-24"`
3033930940 
from line 31025
3042431025 - `"thinking-binding-controls-2026-08-01"`
3042531026 
3042631027 - `"mid-conversation-system-clear-at-2026-08-21"`
31028 
31029 - `"compact-2026-09-04"`
3042731030 
3042831031- `"anthropic-workspace-id": optional string`
3042931032 
from line 32149
3154632149 
3154732150 - `string`
3154832151 
31549 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
32152 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3155032153 
3155132154 - `"message-batches-2024-09-24"`
3155232155 
from line 32240
3163732240 - `"thinking-binding-controls-2026-08-01"`
3163832241 
3163932242 - `"mid-conversation-system-clear-at-2026-08-21"`
32243 
32244 - `"compact-2026-09-04"`
3164032245 
3164132246- `"anthropic-workspace-id": optional string`
3164232247 
from line 33350
3274533350 
3274633351 - `string`
3274733352 
32748 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
33353 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3274933354 
3275033355 - `"message-batches-2024-09-24"`
3275133356 
from line 33441
3283633441 - `"thinking-binding-controls-2026-08-01"`
3283733442 
3283833443 - `"mid-conversation-system-clear-at-2026-08-21"`
33444 
33445 - `"compact-2026-09-04"`
3283933446 
3284033447- `"anthropic-workspace-id": optional string`
3284133448 
from line 35041
3443435041 
3443535042 - `string`
3443635043 
34437 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
35044 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3443835045 
3443935046 - `"message-batches-2024-09-24"`
3444035047 
from line 35132
3452535132 - `"thinking-binding-controls-2026-08-01"`
3452635133 
3452735134 - `"mid-conversation-system-clear-at-2026-08-21"`
35135 
35136 - `"compact-2026-09-04"`
3452835137 
3452935138- `"anthropic-workspace-id": optional string`
3453035139 
from line 35184
3457535184 
3457635185 - `string`
3457735186 
34578 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
35187 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3457935188 
3458035189 - `"message-batches-2024-09-24"`
3458135190 
from line 35275
3466635275 - `"thinking-binding-controls-2026-08-01"`
3466735276 
3466835277 - `"mid-conversation-system-clear-at-2026-08-21"`
35278 
35279 - `"compact-2026-09-04"`
3466935280 
3467035281- `"anthropic-workspace-id": optional string`
3467135282 
from line 36436
3582536436 
3582636437 - `string`
3582736438 
35828 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
36439 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3582936440 
3583036441 - `"message-batches-2024-09-24"`
3583136442 
from line 36527
3591636527 - `"thinking-binding-controls-2026-08-01"`
3591736528 
3591836529 - `"mid-conversation-system-clear-at-2026-08-21"`
36530 
36531 - `"compact-2026-09-04"`
3591936532 
3592036533- `"anthropic-workspace-id": optional string`
3592136534 
from line 38827
3821438827 
3821538828 - `string`
3821638829 
38217 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
38830 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3821838831 
3821938832 - `"message-batches-2024-09-24"`
3822038833 
from line 38918
3830538918 - `"thinking-binding-controls-2026-08-01"`
3830638919 
3830738920 - `"mid-conversation-system-clear-at-2026-08-21"`
38921 
38922 - `"compact-2026-09-04"`
3830838923 
3830938924- `"anthropic-workspace-id": optional string`
3831038925 
from line 39804
3918939804 
3919039805 - `string`
3919139806 
39192 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
39807 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3919339808 
3919439809 - `"message-batches-2024-09-24"`
3919539810 
from line 39895
3928039895 - `"thinking-binding-controls-2026-08-01"`
3928139896 
3928239897 - `"mid-conversation-system-clear-at-2026-08-21"`
39898 
39899 - `"compact-2026-09-04"`
3928339900 
3928439901- `"anthropic-workspace-id": optional string`
3928539902 
from line 42229
4161242229 
4161342230 - `string`
4161442231 
41615 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
42232 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4161642233 
4161742234 - `"message-batches-2024-09-24"`
4161842235 
from line 42320
4170342320 - `"thinking-binding-controls-2026-08-01"`
4170442321 
4170542322 - `"mid-conversation-system-clear-at-2026-08-21"`
42323 
42324 - `"compact-2026-09-04"`
4170642325 
4170742326- `"anthropic-workspace-id": optional string`
4170842327 
from line 42423
4180442423 
4180542424 - `string`
4180642425 
41807 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
42426 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4180842427 
4180942428 - `"message-batches-2024-09-24"`
4181042429 
from line 42514
4189542514 - `"thinking-binding-controls-2026-08-01"`
4189642515 
4189742516 - `"mid-conversation-system-clear-at-2026-08-21"`
42517 
42518 - `"compact-2026-09-04"`
4189842519 
4189942520- `"anthropic-workspace-id": optional string`
4190042521 
from line 42690
4206942690 
4207042691 - `string`
4207142692 
42072 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
42693 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4207342694 
4207442695 - `"message-batches-2024-09-24"`
4207542696 
from line 42781
4216042781 - `"thinking-binding-controls-2026-08-01"`
4216142782 
4216242783 - `"mid-conversation-system-clear-at-2026-08-21"`
42784 
42785 - `"compact-2026-09-04"`
4216342786 
4216442787- `"anthropic-workspace-id": optional string`
4216542788 
from line 42936
4231342936 
4231442937 - `string`
4231542938 
42316 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
42939 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4231742940 
4231842941 - `"message-batches-2024-09-24"`
4231942942 
from line 43027
4240443027 - `"thinking-binding-controls-2026-08-01"`
4240543028 
4240643029 - `"mid-conversation-system-clear-at-2026-08-21"`
43030 
43031 - `"compact-2026-09-04"`
4240743032 
4240843033- `"anthropic-workspace-id": optional string`
4240943034 
from line 43194
4256943194 
4257043195 - `string`
4257143196 
42572 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
43197 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4257343198 
4257443199 - `"message-batches-2024-09-24"`
4257543200 
from line 43285
4266043285 - `"thinking-binding-controls-2026-08-01"`
4266143286 
4266243287 - `"mid-conversation-system-clear-at-2026-08-21"`
43288 
43289 - `"compact-2026-09-04"`
4266343290 
4266443291- `"anthropic-workspace-id": optional string`
4266543292 
from line 43351
4272443351 
4272543352 - `string`
4272643353 
42727 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
43354 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4272843355 
4272943356 - `"message-batches-2024-09-24"`
4273043357 
from line 43442
4281543442 - `"thinking-binding-controls-2026-08-01"`
4281643443 
4281743444 - `"mid-conversation-system-clear-at-2026-08-21"`
43445 
43446 - `"compact-2026-09-04"`
4281843447 
4281943448- `"anthropic-workspace-id": optional string`
4282043449 
from line 44256
4362744256 
4362844257 - `string`
4362944258 
43630 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
44259 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4363144260 
4363244261 - `"message-batches-2024-09-24"`
4363344262 
from line 44347
4371844347 - `"thinking-binding-controls-2026-08-01"`
4371944348 
4372044349 - `"mid-conversation-system-clear-at-2026-08-21"`
44350 
44351 - `"compact-2026-09-04"`
4372144352 
4372244353- `"anthropic-workspace-id": optional string`
4372344354 
from line 45152
4452145152 
4452245153 - `string`
4452345154 
44524 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
45155 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4452545156 
4452645157 - `"message-batches-2024-09-24"`
4452745158 
from line 45243
4461245243 - `"thinking-binding-controls-2026-08-01"`
4461345244 
4461445245 - `"mid-conversation-system-clear-at-2026-08-21"`
45246 
45247 - `"compact-2026-09-04"`
4461545248 
4461645249- `"anthropic-workspace-id": optional string`
4461745250 
from line 46063
4543046063 
4543146064 - `string`
4543246065 
45433 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
46066 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4543446067 
4543546068 - `"message-batches-2024-09-24"`
4543646069 
from line 46154
4552146154 - `"thinking-binding-controls-2026-08-01"`
4552246155 
4552346156 - `"mid-conversation-system-clear-at-2026-08-21"`
46157 
46158 - `"compact-2026-09-04"`
4552446159 
4552546160- `"anthropic-workspace-id": optional string`
4552646161 
from line 48455
4782048455 
4782148456 - `string`
4782248457 
47823 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
48458 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4782448459 
4782548460 - `"message-batches-2024-09-24"`
4782648461 
from line 48546
4791148546 - `"thinking-binding-controls-2026-08-01"`
4791248547 
4791348548 - `"mid-conversation-system-clear-at-2026-08-21"`
48549 
48550 - `"compact-2026-09-04"`
4791448551 
4791548552- `"anthropic-workspace-id": optional string`
4791648553 
from line 50876
5023950876 
5024050877 - `string`
5024150878 
50242 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
50879 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5024350880 
5024450881 - `"message-batches-2024-09-24"`
5024550882 
from line 50967
5033050967 - `"thinking-binding-controls-2026-08-01"`
5033150968 
5033250969 - `"mid-conversation-system-clear-at-2026-08-21"`
50970 
50971 - `"compact-2026-09-04"`
5033350972 
5033450973- `"anthropic-workspace-id": optional string`
5033550974 
from line 52037
5139852037 
5139952038 - `string`
5140052039 
51401 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
52040 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5140252041 
5140352042 - `"message-batches-2024-09-24"`
5140452043 
from line 52128
5148952128 - `"thinking-binding-controls-2026-08-01"`
5149052129 
5149152130 - `"mid-conversation-system-clear-at-2026-08-21"`
52131 
52132 - `"compact-2026-09-04"`
5149252133 
5149352134- `"anthropic-workspace-id": optional string`
5149452135 
from line 52752
5211152752 
5211252753 - `string`
5211352754 
52114 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
52755 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5211552756 
5211652757 - `"message-batches-2024-09-24"`
5211752758 
from line 52843
5220252843 - `"thinking-binding-controls-2026-08-01"`
5220352844 
5220452845 - `"mid-conversation-system-clear-at-2026-08-21"`
52846 
52847 - `"compact-2026-09-04"`
5220552848 
5220652849- `"anthropic-workspace-id": optional string`
5220752850 
from line 53458
5281553458 
5281653459 - `string`
5281753460 
52818 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
53461 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5281953462 
5282053463 - `"message-batches-2024-09-24"`
5282153464 
from line 53549
5290653549 - `"thinking-binding-controls-2026-08-01"`
5290753550 
5290853551 - `"mid-conversation-system-clear-at-2026-08-21"`
53552 
53553 - `"compact-2026-09-04"`
5290953554 
5291053555- `"anthropic-workspace-id": optional string`
5291153556 
from line 54568
5392354568 
5392454569 - `string`
5392554570 
53926 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
54571 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5392754572 
5392854573 - `"message-batches-2024-09-24"`
5392954574 
from line 54659
5401454659 - `"thinking-binding-controls-2026-08-01"`
5401554660 
5401654661 - `"mid-conversation-system-clear-at-2026-08-21"`
54662 
54663 - `"compact-2026-09-04"`
5401754664 
5401854665- `"anthropic-workspace-id": optional string`
5401954666 
from line 55275
5462855275 
5462955276 - `string`
5463055277 
54631 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
55278 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5463255279 
5463355280 - `"message-batches-2024-09-24"`
5463455281 
from line 55366
5471955366 - `"thinking-binding-controls-2026-08-01"`
5472055367 
5472155368 - `"mid-conversation-system-clear-at-2026-08-21"`
55369 
55370 - `"compact-2026-09-04"`
5472255371 
5472355372- `"anthropic-workspace-id": optional string`
5472455373 
from line 55648
5499955648 
5500055649 - `string`
5500155650 
55002 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
55651 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5500355652 
5500455653 - `"message-batches-2024-09-24"`
5500555654 
from line 55739
5509055739 - `"thinking-binding-controls-2026-08-01"`
5509155740 
5509255741 - `"mid-conversation-system-clear-at-2026-08-21"`
55742 
55743 - `"compact-2026-09-04"`
5509355744 
5509455745- `"anthropic-workspace-id": optional string`
5509555746 
from line 56355
5570456355 
5570556356 - `string`
5570656357 
55707 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
56358 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5570856359 
5570956360 - `"message-batches-2024-09-24"`
5571056361 
from line 56446
5579556446 - `"thinking-binding-controls-2026-08-01"`
5579656447 
5579756448 - `"mid-conversation-system-clear-at-2026-08-21"`
56449 
56450 - `"compact-2026-09-04"`
5579856451 
5579956452- `"anthropic-workspace-id": optional string`
5580056453 
from line 57112
5645957112 
5646057113 - `string`
5646157114 
56462 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
57115 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5646357116 
5646457117 - `"message-batches-2024-09-24"`
5646557118 
from line 57203
5655057203 - `"thinking-binding-controls-2026-08-01"`
5655157204 
5655257205 - `"mid-conversation-system-clear-at-2026-08-21"`
57206 
57207 - `"compact-2026-09-04"`
5655357208 
5655457209- `"anthropic-workspace-id": optional string`
5655557210 
from line 57493
5683857493 
5683957494 - `string`
5684057495 
56841 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
57496 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5684257497 
5684357498 - `"message-batches-2024-09-24"`
5684457499 
from line 57584
5692957584 - `"thinking-binding-controls-2026-08-01"`
5693057585 
5693157586 - `"mid-conversation-system-clear-at-2026-08-21"`
57587 
57588 - `"compact-2026-09-04"`
5693257589 
5693357590- `"anthropic-workspace-id": optional string`
5693457591 
from line 57863
5720657863 
5720757864 - `string`
5720857865 
57209 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
57866 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5721057867 
5721157868 - `"message-batches-2024-09-24"`
5721257869 
from line 57954
5729757954 - `"thinking-binding-controls-2026-08-01"`
5729857955 
5729957956 - `"mid-conversation-system-clear-at-2026-08-21"`
57957 
57958 - `"compact-2026-09-04"`
5730057959 
5730157960- `"anthropic-workspace-id": optional string`
5730257961 
from line 58071
5741258071 
5741358072 - `string`
5741458073 
57415 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
58074 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5741658075 
5741758076 - `"message-batches-2024-09-24"`
5741858077 
from line 58162
5750358162 - `"thinking-binding-controls-2026-08-01"`
5750458163 
5750558164 - `"mid-conversation-system-clear-at-2026-08-21"`
58165 
58166 - `"compact-2026-09-04"`
5750658167 
5750758168- `"anthropic-workspace-id": optional string`
5750858169 
from line 58257
5759658257 
5759758258 - `string`
5759858259 
57599 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
58260 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5760058261 
5760158262 - `"message-batches-2024-09-24"`
5760258263 
from line 58348
5768758348 - `"thinking-binding-controls-2026-08-01"`
5768858349 
5768958350 - `"mid-conversation-system-clear-at-2026-08-21"`
58351 
58352 - `"compact-2026-09-04"`
5769058353 
5769158354- `"anthropic-workspace-id": optional string`
5769258355 
from line 58434
5777158434 
5777258435 - `string`
5777358436 
57774 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
58437 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5777558438 
5777658439 - `"message-batches-2024-09-24"`
5777758440 
from line 58525
5786258525 - `"thinking-binding-controls-2026-08-01"`
5786358526 
5786458527 - `"mid-conversation-system-clear-at-2026-08-21"`
58528 
58529 - `"compact-2026-09-04"`
5786558530 
5786658531- `"anthropic-workspace-id": optional string`
5786758532 
from line 58630
5796558630 
5796658631 - `string`
5796758632 
57968 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
58633 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5796958634 
5797058635 - `"message-batches-2024-09-24"`
5797158636 
from line 58721
5805658721 - `"thinking-binding-controls-2026-08-01"`
5805758722 
5805858723 - `"mid-conversation-system-clear-at-2026-08-21"`
58724 
58725 - `"compact-2026-09-04"`
5805958726 
5806058727- `"anthropic-workspace-id": optional string`
5806158728 
from line 58775
5810858775 
5810958776 - `string`
5811058777 
58111 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
58778 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5811258779 
5811358780 - `"message-batches-2024-09-24"`
5811458781 
from line 58866
5819958866 - `"thinking-binding-controls-2026-08-01"`
5820058867 
5820158868 - `"mid-conversation-system-clear-at-2026-08-21"`
58869 
58870 - `"compact-2026-09-04"`
5820258871 
5820358872- `"anthropic-workspace-id": optional string`
5820458873 
from line 58955
5828658955 
5828758956 - `string`
5828858957 
58289 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
58958 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5829058959 
5829158960 - `"message-batches-2024-09-24"`
5829258961 
from line 59046
5837759046 - `"thinking-binding-controls-2026-08-01"`
5837859047 
5837959048 - `"mid-conversation-system-clear-at-2026-08-21"`
59049 
59050 - `"compact-2026-09-04"`
5838059051 
5838159052- `"anthropic-workspace-id": optional string`
5838259053 
from line 59455
5878459455 
5878559456 - `string`
5878659457 
58787 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
59458 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5878859459 
5878959460 - `"message-batches-2024-09-24"`
5879059461 
from line 59546
5887559546 - `"thinking-binding-controls-2026-08-01"`
5887659547 
5887759548 - `"mid-conversation-system-clear-at-2026-08-21"`
59549 
59550 - `"compact-2026-09-04"`
5887859551 
5887959552- `"anthropic-workspace-id": optional string`
5888059553 
from line 59764
5909159764 
5909259765 - `string`
5909359766 
59094 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
59767 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5909559768 
5909659769 - `"message-batches-2024-09-24"`
5909759770 
from line 59855
5918259855 - `"thinking-binding-controls-2026-08-01"`
5918359856 
5918459857 - `"mid-conversation-system-clear-at-2026-08-21"`
59858 
59859 - `"compact-2026-09-04"`
5918559860 
5918659861- `"anthropic-workspace-id": optional string`
5918759862 
from line 60064
5938960064 
5939060065 - `string`
5939160066 
59392 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
60067 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5939360068 
5939460069 - `"message-batches-2024-09-24"`
5939560070 
from line 60155
5948060155 - `"thinking-binding-controls-2026-08-01"`
5948160156 
5948260157 - `"mid-conversation-system-clear-at-2026-08-21"`
60158 
60159 - `"compact-2026-09-04"`
5948360160 
5948460161- `"anthropic-workspace-id": optional string`
5948560162 
from line 60503
5982660503 
5982760504 - `string`
5982860505 
59829 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
60506 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5983060507 
5983160508 - `"message-batches-2024-09-24"`
5983260509 
from line 60594
5991760594 - `"thinking-binding-controls-2026-08-01"`
5991860595 
5991960596 - `"mid-conversation-system-clear-at-2026-08-21"`
60597 
60598 - `"compact-2026-09-04"`
5992060599 
5992160600- `"anthropic-workspace-id": optional string`
5992260601 
from line 60650
5997160650 
5997260651 - `string`
5997360652 
59974 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
60653 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5997560654 
5997660655 - `"message-batches-2024-09-24"`
5997760656 
from line 60741
6006260741 - `"thinking-binding-controls-2026-08-01"`
6006360742 
6006460743 - `"mid-conversation-system-clear-at-2026-08-21"`
60744 
60745 - `"compact-2026-09-04"`
6006560746 
6006660747- `"anthropic-workspace-id": optional string`
6006760748 
from line 60951
6027060951 
6027160952 - `string`
6027260953 
60273 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
60954 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6027460955 
6027560956 - `"message-batches-2024-09-24"`
6027660957 
from line 61042
6036161042 - `"thinking-binding-controls-2026-08-01"`
6036261043 
6036361044 - `"mid-conversation-system-clear-at-2026-08-21"`
61045 
61046 - `"compact-2026-09-04"`
6036461047 
6036561048- `"anthropic-workspace-id": optional string`
6036661049 
from line 61190
6050761190 
6050861191 - `string`
6050961192 
60510 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
61193 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6051161194 
6051261195 - `"message-batches-2024-09-24"`
6051361196 
from line 61281
6059861281 - `"thinking-binding-controls-2026-08-01"`
6059961282 
6060061283 - `"mid-conversation-system-clear-at-2026-08-21"`
61284 
61285 - `"compact-2026-09-04"`
6060161286 
6060261287- `"anthropic-workspace-id": optional string`
6060361288 
from line 61418
6073361418 
6073461419 - `string`
6073561420 
60736 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
61421 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6073761422 
6073861423 - `"message-batches-2024-09-24"`
6073961424 
from line 61509
6082461509 - `"thinking-binding-controls-2026-08-01"`
6082561510 
6082661511 - `"mid-conversation-system-clear-at-2026-08-21"`
61512 
61513 - `"compact-2026-09-04"`
6082761514 
6082861515- `"anthropic-workspace-id": optional string`
6082961516 
from line 61609
6092261609 
6092361610 - `string`
6092461611 
60925 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
61612 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6092661613 
6092761614 - `"message-batches-2024-09-24"`
6092861615 
from line 61700
6101361700 - `"thinking-binding-controls-2026-08-01"`
6101461701 
6101561702 - `"mid-conversation-system-clear-at-2026-08-21"`
61703 
61704 - `"compact-2026-09-04"`
6101661705 
6101761706- `"anthropic-workspace-id": optional string`
6101861707 
from line 61791
6110261791 
6110361792 - `string`
6110461793 
61105 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
61794 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6110661795 
6110761796 - `"message-batches-2024-09-24"`
6110861797 
from line 61882
6119361882 - `"thinking-binding-controls-2026-08-01"`
6119461883 
6119561884 - `"mid-conversation-system-clear-at-2026-08-21"`
61885 
61886 - `"compact-2026-09-04"`
6119661887 
6119761888- `"anthropic-workspace-id": optional string`
6119861889 
from line 61993
6130261993 
6130361994 - `string`
6130461995 
61305 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
61996 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6130661997 
6130761998 - `"message-batches-2024-09-24"`
6130861999 
from line 62084
6139362084 - `"thinking-binding-controls-2026-08-01"`
6139462085 
6139562086 - `"mid-conversation-system-clear-at-2026-08-21"`
62087 
62088 - `"compact-2026-09-04"`
6139662089 
6139762090- `"anthropic-workspace-id": optional string`
6139862091 
from line 62138
6144562138 
6144662139 - `string`
6144762140 
61448 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
62141 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6144962142 
6145062143 - `"message-batches-2024-09-24"`
6145162144 
from line 62229
6153662229 - `"thinking-binding-controls-2026-08-01"`
6153762230 
6153862231 - `"mid-conversation-system-clear-at-2026-08-21"`
62232 
62233 - `"compact-2026-09-04"`
6153962234 
6154062235- `"anthropic-workspace-id": optional string`
6154162236 
from line 62333
6163862333 
6163962334 - `string`
6164062335 
61641 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
62336 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6164262337 
6164362338 - `"message-batches-2024-09-24"`
6164462339 
from line 62424
6172962424 - `"thinking-binding-controls-2026-08-01"`
6173062425 
6173162426 - `"mid-conversation-system-clear-at-2026-08-21"`
62427 
62428 - `"compact-2026-09-04"`
6173262429 
6173362430- `"anthropic-workspace-id": optional string`
6173462431 
from line 62570
6187362570 
6187462571 - `string`
6187562572 
61876 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
62573 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6187762574 
6187862575 - `"message-batches-2024-09-24"`
6187962576 
from line 62661
6196462661 - `"thinking-binding-controls-2026-08-01"`
6196562662 
6196662663 - `"mid-conversation-system-clear-at-2026-08-21"`
62664 
62665 - `"compact-2026-09-04"`
6196762666 
6196862667- `"anthropic-workspace-id": optional string`
6196962668 
from line 62795
6209662795 
6209762796 - `string`
6209862797 
62099 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
62798 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6210062799 
6210162800 - `"message-batches-2024-09-24"`
6210262801 
from line 62886
6218762886 - `"thinking-binding-controls-2026-08-01"`
6218862887 
6218962888 - `"mid-conversation-system-clear-at-2026-08-21"`
62889 
62890 - `"compact-2026-09-04"`
6219062891 
6219162892- `"anthropic-workspace-id": optional string`
6219262893 
from line 62997
6229662997 
6229762998 - `string`
6229862999 
62299 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
63000 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6230063001 
6230163002 - `"message-batches-2024-09-24"`
6230263003 
from line 63088
6238763088 - `"thinking-binding-controls-2026-08-01"`
6238863089 
6238963090 - `"mid-conversation-system-clear-at-2026-08-21"`
63091 
63092 - `"compact-2026-09-04"`
6239063093 
6239163094- `"anthropic-workspace-id": optional string`
6239263095 
from line 63219
6251663219 
6251763220 - `string`
6251863221 
62519 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
63222 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6252063223 
6252163224 - `"message-batches-2024-09-24"`
6252263225 
from line 63310
6260763310 - `"thinking-binding-controls-2026-08-01"`
6260863311 
6260963312 - `"mid-conversation-system-clear-at-2026-08-21"`
63313 
63314 - `"compact-2026-09-04"`
6261063315 
6261163316- `"anthropic-workspace-id": optional string`
6261263317 
from line 63424
6271963424 
6272063425 - `string`
6272163426 
62722 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
63427 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6272363428 
6272463429 - `"message-batches-2024-09-24"`
6272563430 
from line 63515
6281063515 - `"thinking-binding-controls-2026-08-01"`
6281163516 
6281263517 - `"mid-conversation-system-clear-at-2026-08-21"`
63518 
63519 - `"compact-2026-09-04"`
6281363520 
6281463521- `"anthropic-workspace-id": optional string`
6281563522 
from line 63710
6300363710 
6300463711 - `string`
6300563712 
63006 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
63713 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6300763714 
6300863715 - `"message-batches-2024-09-24"`
6300963716 
from line 63801
6309463801 - `"thinking-binding-controls-2026-08-01"`
6309563802 
6309663803 - `"mid-conversation-system-clear-at-2026-08-21"`
63804 
63805 - `"compact-2026-09-04"`
6309763806 
6309863807- `"anthropic-workspace-id": optional string`
6309963808 
from line 63977
6326863977 
6326963978 - `string`
6327063979 
63271 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
63980 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6327263981 
6327363982 - `"message-batches-2024-09-24"`
6327463983 
from line 64068
6335964068 - `"thinking-binding-controls-2026-08-01"`
6336064069 
6336164070 - `"mid-conversation-system-clear-at-2026-08-21"`
64071 
64072 - `"compact-2026-09-04"`
6336264073 
6336364074- `"anthropic-workspace-id": optional string`
6336464075 
from line 64241
6353064241 
6353164242 - `string`
6353264243 
63533 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
64244 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6353464245 
6353564246 - `"message-batches-2024-09-24"`
6353664247 
from line 64332
6362164332 - `"thinking-binding-controls-2026-08-01"`
6362264333 
6362364334 - `"mid-conversation-system-clear-at-2026-08-21"`
64335 
64336 - `"compact-2026-09-04"`
6362464337 
6362564338- `"anthropic-workspace-id": optional string`
6362664339 
from line 64480
6376764480 
6376864481 - `string`
6376964482 
63770 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
64483 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6377164484 
6377264485 - `"message-batches-2024-09-24"`
6377364486 
from line 64571
6385864571 - `"thinking-binding-controls-2026-08-01"`
6385964572 
6386064573 - `"mid-conversation-system-clear-at-2026-08-21"`
64574 
64575 - `"compact-2026-09-04"`
6386164576 
6386264577- `"anthropic-workspace-id": optional string`
6386364578 
from line 64698
6398364698 
6398464699 - `string`
6398564700 
63986 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
64701 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6398764702 
6398864703 - `"message-batches-2024-09-24"`
6398964704 
from line 64789
6407464789 - `"thinking-binding-controls-2026-08-01"`
6407564790 
6407664791 - `"mid-conversation-system-clear-at-2026-08-21"`
64792 
64793 - `"compact-2026-09-04"`
6407764794 
6407864795- `"anthropic-workspace-id": optional string`
6407964796 
from line 64822
6410564822 
6410664823 - `string`
6410764824 
64108 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
64825 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6410964826 
6411064827 - `"message-batches-2024-09-24"`
6411164828 
from line 64913
6419664913 - `"thinking-binding-controls-2026-08-01"`
6419764914 
6419864915 - `"mid-conversation-system-clear-at-2026-08-21"`
64916 
64917 - `"compact-2026-09-04"`
6419964918 
6420064919- `"anthropic-workspace-id": optional string`
6420164920 
from line 65029
6431065029 
6431165030 - `string`
6431265031 
64313 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
65032 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6431465033 
6431565034 - `"message-batches-2024-09-24"`
6431665035 
from line 65120
6440165120 - `"thinking-binding-controls-2026-08-01"`
6440265121 
6440365122 - `"mid-conversation-system-clear-at-2026-08-21"`
65123 
65124 - `"compact-2026-09-04"`
6440465125 
6440565126- `"anthropic-workspace-id": optional string`
6440665127 
from line 65175
6445465175 
6445565176 - `string`
6445665177 
64457 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
65178 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6445865179 
6445965180 - `"message-batches-2024-09-24"`
6446065181 
from line 65266
6454565266 - `"thinking-binding-controls-2026-08-01"`
6454665267 
6454765268 - `"mid-conversation-system-clear-at-2026-08-21"`
65269 
65270 - `"compact-2026-09-04"`
6454865271 
6454965272- `"anthropic-workspace-id": optional string`
6455065273 
from line 65420
6469765420 
6469865421 - `string`
6469965422 
64700 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
65423 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6470165424 
6470265425 - `"message-batches-2024-09-24"`
6470365426 
from line 65511
6478865511 - `"thinking-binding-controls-2026-08-01"`
6478965512 
6479065513 - `"mid-conversation-system-clear-at-2026-08-21"`
65514 
65515 - `"compact-2026-09-04"`
6479165516 
6479265517- `"anthropic-workspace-id": optional string`
6479365518 
from line 65645
6492065645 
6492165646 - `string`
6492265647 
64923 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
65648 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6492465649 
6492565650 - `"message-batches-2024-09-24"`
6492665651 
from line 65736
6501165736 - `"thinking-binding-controls-2026-08-01"`
6501265737 
6501365738 - `"mid-conversation-system-clear-at-2026-08-21"`
65739 
65740 - `"compact-2026-09-04"`
6501465741 
6501565742- `"anthropic-workspace-id": optional string`
6501665743 
from line 65857
6513065857 
6513165858 - `string`
6513265859 
65133 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
65860 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6513465861 
6513565862 - `"message-batches-2024-09-24"`
6513665863 
from line 65948
6522165948 - `"thinking-binding-controls-2026-08-01"`
6522265949 
6522365950 - `"mid-conversation-system-clear-at-2026-08-21"`
65951 
65952 - `"compact-2026-09-04"`
6522465953 
6522565954- `"anthropic-workspace-id": optional string`
6522665955 
from line 66013
6528466013 
6528566014 - `string`
6528666015 
65287 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
66016 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6528866017 
6528966018 - `"message-batches-2024-09-24"`
6529066019 
from line 66104
6537566104 - `"thinking-binding-controls-2026-08-01"`
6537666105 
6537766106 - `"mid-conversation-system-clear-at-2026-08-21"`
66107 
66108 - `"compact-2026-09-04"`
6537866109 
6537966110- `"anthropic-workspace-id": optional string`
6538066111 
from line 66218
6548766218 
6548866219 - `string`
6548966220 
65490 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
66221 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6549166222 
6549266223 - `"message-batches-2024-09-24"`
6549366224 
from line 66309
6557866309 - `"thinking-binding-controls-2026-08-01"`
6557966310 
6558066311 - `"mid-conversation-system-clear-at-2026-08-21"`
66312 
66313 - `"compact-2026-09-04"`
6558166314 
6558266315- `"anthropic-workspace-id": optional string`
6558366316 
from line 66418
6568566418 
6568666419 - `string`
6568766420 
65688 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
66421 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6568966422 
6569066423 - `"message-batches-2024-09-24"`
6569166424 
from line 66509
6577666509 - `"thinking-binding-controls-2026-08-01"`
6577766510 
6577866511 - `"mid-conversation-system-clear-at-2026-08-21"`
66512 
66513 - `"compact-2026-09-04"`
6577966514 
6578066515- `"anthropic-workspace-id": optional string`
6578166516 
from line 66550
6581566550 
6581666551 - `string`
6581766552 
65818 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
66553 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6581966554 
6582066555 - `"message-batches-2024-09-24"`
6582166556 
from line 66641
6590666641 - `"thinking-binding-controls-2026-08-01"`
6590766642 
6590866643 - `"mid-conversation-system-clear-at-2026-08-21"`
66644 
66645 - `"compact-2026-09-04"`
6590966646 
6591066647- `"anthropic-workspace-id": optional string`
6591166648 
from line 66737
6600066737 
6600166738 - `string`
6600266739 
66003 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
66740 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6600466741 
6600566742 - `"message-batches-2024-09-24"`
6600666743 
from line 66828
6609166828 - `"thinking-binding-controls-2026-08-01"`
6609266829 
6609366830 - `"mid-conversation-system-clear-at-2026-08-21"`
66831 
66832 - `"compact-2026-09-04"`
6609466833 
6609566834- `"anthropic-workspace-id": optional string`
6609666835 
from line 66884
6614566884 
6614666885 - `string`
6614766886 
66148 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
66887 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6614966888 
6615066889 - `"message-batches-2024-09-24"`
6615166890 
from line 66975
6623666975 - `"thinking-binding-controls-2026-08-01"`
6623766976 
6623866977 - `"mid-conversation-system-clear-at-2026-08-21"`
66978 
66979 - `"compact-2026-09-04"`
6623966980 
6624066981- `"anthropic-workspace-id": optional string`
6624166982 
from line 67265
6652467265 
6652567266 - `string`
6652667267 
66527 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
67268 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6652867269 
6652967270 - `"message-batches-2024-09-24"`
6653067271 
from line 67356
6661567356 - `"thinking-binding-controls-2026-08-01"`
6661667357 
6661767358 - `"mid-conversation-system-clear-at-2026-08-21"`
67359 
67360 - `"compact-2026-09-04"`
6661867361 
6661967362- `"anthropic-workspace-id": optional string`
6662067363 
from line 67541
6679867541 
6679967542 - `string`
6680067543 
66801 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
67544 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6680267545 
6680367546 - `"message-batches-2024-09-24"`
6680467547 
from line 67632
6688967632 - `"thinking-binding-controls-2026-08-01"`
6689067633 
6689167634 - `"mid-conversation-system-clear-at-2026-08-21"`
67635 
67636 - `"compact-2026-09-04"`
6689267637 
6689367638- `"anthropic-workspace-id": optional string`
6689467639 
from line 67806
6706167806 
6706267807 - `string`
6706367808 
67064 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
67809 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6706567810 
6706667811 - `"message-batches-2024-09-24"`
6706767812 
from line 67897
6715267897 - `"thinking-binding-controls-2026-08-01"`
6715367898 
6715467899 - `"mid-conversation-system-clear-at-2026-08-21"`
67900 
67901 - `"compact-2026-09-04"`
6715567902 
6715667903- `"anthropic-workspace-id": optional string`
6715767904 
from line 68161
6741468161 
6741568162 - `string`
6741668163 
67417 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
68164 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6741868165 
6741968166 - `"message-batches-2024-09-24"`
6742068167 
from line 68252
6750568252 - `"thinking-binding-controls-2026-08-01"`
6750668253 
6750768254 - `"mid-conversation-system-clear-at-2026-08-21"`
68255 
68256 - `"compact-2026-09-04"`
6750868257 
6750968258- `"anthropic-workspace-id": optional string`
6751068259 
from line 68311
6756268311 
6756368312 - `string`
6756468313 
67565 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
68314 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6756668315 
6756768316 - `"message-batches-2024-09-24"`
6756868317 
from line 68402
6765368402 - `"thinking-binding-controls-2026-08-01"`
6765468403 
6765568404 - `"mid-conversation-system-clear-at-2026-08-21"`
68405 
68406 - `"compact-2026-09-04"`
6765668407 
6765768408- `"anthropic-workspace-id": optional string`
6765868409 
from line 68736
6798568736 
6798668737 - `string`
6798768738 
67988 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
68739 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6798968740 
6799068741 - `"message-batches-2024-09-24"`
6799168742 
from line 68827
6807668827 - `"thinking-binding-controls-2026-08-01"`
6807768828 
6807868829 - `"mid-conversation-system-clear-at-2026-08-21"`
68830 
68831 - `"compact-2026-09-04"`
6807968832 
6808068833- `"anthropic-workspace-id": optional string`
6808168834 
from line 69052
6829969052 
6830069053 - `string`
6830169054 
68302 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
69055 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6830369056 
6830469057 - `"message-batches-2024-09-24"`
6830569058 
from line 69143
6839069143 - `"thinking-binding-controls-2026-08-01"`
6839169144 
6839269145 - `"mid-conversation-system-clear-at-2026-08-21"`
69146 
69147 - `"compact-2026-09-04"`
6839369148 
6839469149- `"anthropic-workspace-id": optional string`
6839569150 
from line 69363
6860869363 
6860969364 - `string`
6861069365 
68611 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
69366 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6861269367 
6861369368 - `"message-batches-2024-09-24"`
6861469369 
from line 69454
6869969454 - `"thinking-binding-controls-2026-08-01"`
6870069455 
6870169456 - `"mid-conversation-system-clear-at-2026-08-21"`
69457 
69458 - `"compact-2026-09-04"`
6870269459 
6870369460- `"anthropic-workspace-id": optional string`
6870469461 
from line 69675
6891869675 
6891969676 - `string`
6892069677 
68921 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
69678 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6892269679 
6892369680 - `"message-batches-2024-09-24"`
6892469681 
from line 69766
6900969766 - `"thinking-binding-controls-2026-08-01"`
6901069767 
6901169768 - `"mid-conversation-system-clear-at-2026-08-21"`
69769 
69770 - `"compact-2026-09-04"`
6901269771 
6901369772- `"anthropic-workspace-id": optional string`
6901469773 
from line 69987
6922869987 
6922969988 - `string`
6923069989 
69231 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
69990 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6923269991 
6923369992 - `"message-batches-2024-09-24"`
6923469993 
from line 70078
6931970078 - `"thinking-binding-controls-2026-08-01"`
6932070079 
6932170080 - `"mid-conversation-system-clear-at-2026-08-21"`
70081 
70082 - `"compact-2026-09-04"`
6932270083 
6932370084- `"anthropic-workspace-id": optional string`
6932470085 
from line 70167
6940670167 
6940770168 - `string`
6940870169 
69409 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
70170 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6941070171 
6941170172 - `"message-batches-2024-09-24"`
6941270173 
from line 70258
6949770258 - `"thinking-binding-controls-2026-08-01"`
6949870259 
6949970260 - `"mid-conversation-system-clear-at-2026-08-21"`
70261 
70262 - `"compact-2026-09-04"`
6950070263 
6950170264- `"anthropic-workspace-id": optional string`
6950270265 
from line 70349
6958670349 
6958770350 - `string`
6958870351 
69589 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
70352 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6959070353 
6959170354 - `"message-batches-2024-09-24"`
6959270355 
from line 70440
6967770440 - `"thinking-binding-controls-2026-08-01"`
6967870441 
6967970442 - `"mid-conversation-system-clear-at-2026-08-21"`
70443 
70444 - `"compact-2026-09-04"`
6968070445 
6968170446- `"anthropic-workspace-id": optional string`
6968270447 
from line 70528
6976370528 
6976470529 - `string`
6976570530 
69766 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
70531 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6976770532 
6976870533 - `"message-batches-2024-09-24"`
6976970534 
from line 70619
6985470619 - `"thinking-binding-controls-2026-08-01"`
6985570620 
6985670621 - `"mid-conversation-system-clear-at-2026-08-21"`
70622 
70623 - `"compact-2026-09-04"`
6985770624 
6985870625- `"anthropic-workspace-id": optional string`
6985970626 
from line 70699
6993270699 
6993370700 - `string`
6993470701 
69935 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
70702 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
6993670703 
6993770704 - `"message-batches-2024-09-24"`
6993870705 
from line 70790
7002370790 - `"thinking-binding-controls-2026-08-01"`
7002470791 
7002570792 - `"mid-conversation-system-clear-at-2026-08-21"`
70793 
70794 - `"compact-2026-09-04"`
7002670795 
7002770796- `"anthropic-workspace-id": optional string`
7002870797 
from line 70851
7008270851 
7008370852 - `string`
7008470853 
70085 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
70854 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7008670855 
7008770856 - `"message-batches-2024-09-24"`
7008870857 
from line 70942
7017370942 - `"thinking-binding-controls-2026-08-01"`
7017470943 
7017570944 - `"mid-conversation-system-clear-at-2026-08-21"`
70945 
70946 - `"compact-2026-09-04"`
7017670947 
7017770948- `"anthropic-workspace-id": optional string`
7017870949 
from line 71014
7024371014 
7024471015 - `string`
7024571016 
70246 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
71017 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7024771018 
7024871019 - `"message-batches-2024-09-24"`
7024971020 
from line 71105
7033471105 - `"thinking-binding-controls-2026-08-01"`
7033571106 
7033671107 - `"mid-conversation-system-clear-at-2026-08-21"`
71108 
71109 - `"compact-2026-09-04"`
7033771110 
7033871111- `"anthropic-workspace-id": optional string`
7033971112 
from line 71205
7043271205 
7043371206 - `string`
7043471207 
70435 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
71208 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7043671209 
7043771210 - `"message-batches-2024-09-24"`
7043871211 
from line 71296
7052371296 - `"thinking-binding-controls-2026-08-01"`
7052471297 
7052571298 - `"mid-conversation-system-clear-at-2026-08-21"`
71299 
71300 - `"compact-2026-09-04"`
7052671301 
7052771302- `"anthropic-workspace-id": optional string`
7052871303 
from line 71398
7062371398 
7062471399 - `string`
7062571400 
70626 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
71401 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7062771402 
7062871403 - `"message-batches-2024-09-24"`
7062971404 
from line 71489
7071471489 - `"thinking-binding-controls-2026-08-01"`
7071571490 
7071671491 - `"mid-conversation-system-clear-at-2026-08-21"`
71492 
71493 - `"compact-2026-09-04"`
7071771494 
7071871495- `"anthropic-workspace-id": optional string`
7071971496 
from line 71586
7080971586 
7081071587 - `string`
7081171588 
70812 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
71589 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7081371590 
7081471591 - `"message-batches-2024-09-24"`
7081571592 
from line 71677
7090071677 - `"thinking-binding-controls-2026-08-01"`
7090171678 
7090271679 - `"mid-conversation-system-clear-at-2026-08-21"`
71680 
71681 - `"compact-2026-09-04"`
7090371682 
7090471683- `"anthropic-workspace-id": optional string`
7090571684 
from line 73239
7246073239 
7246173240 - `string`
7246273241 
72463 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
73242 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7246473243 
7246573244 - `"message-batches-2024-09-24"`
7246673245 
from line 73330
7255173330 - `"thinking-binding-controls-2026-08-01"`
7255273331 
7255373332 - `"mid-conversation-system-clear-at-2026-08-21"`
73333 
73334 - `"compact-2026-09-04"`
7255473335 
7255573336#### Body parameters
7255673337 
from line 73629
7284873629 
7284973630 - `string`
7285073631 
72851 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
73632 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7285273633 
7285373634 - `"message-batches-2024-09-24"`
7285473635 
from line 73720
7293973720 - `"thinking-binding-controls-2026-08-01"`
7294073721 
7294173722 - `"mid-conversation-system-clear-at-2026-08-21"`
73723 
73724 - `"compact-2026-09-04"`
7294273725 
7294373726#### Returns
7294473727 
from line 73930
7314773930 
7314873931 - `string`
7314973932 
73150 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
73933 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7315173934 
7315273935 - `"message-batches-2024-09-24"`
7315373936 
from line 74021
7323874021 - `"thinking-binding-controls-2026-08-01"`
7323974022 
7324074023 - `"mid-conversation-system-clear-at-2026-08-21"`
74024 
74025 - `"compact-2026-09-04"`
7324174026 
7324274027#### Returns
7324374028 
from line 74234
7344974234 
7345074235 - `string`
7345174236 
73452 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
74237 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7345374238 
7345474239 - `"message-batches-2024-09-24"`
7345574240 
from line 74325
7354074325 - `"thinking-binding-controls-2026-08-01"`
7354174326 
7354274327 - `"mid-conversation-system-clear-at-2026-08-21"`
74328 
74329 - `"compact-2026-09-04"`
7354374330 
7354474331#### Body parameters
7354574332 
from line 74616
7382974616 
7383074617 - `string`
7383174618 
73832 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
74619 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7383374620 
7383474621 - `"message-batches-2024-09-24"`
7383574622 
from line 74707
7392074707 - `"thinking-binding-controls-2026-08-01"`
7392174708 
7392274709 - `"mid-conversation-system-clear-at-2026-08-21"`
74710 
74711 - `"compact-2026-09-04"`
7392374712 
7392474713#### Returns
7392574714 
from line 74924
7413574924 
7413674925 - `string`
7413774926 
74138 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
74927 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7413974928 
7414074929 - `"message-batches-2024-09-24"`
7414174930 
from line 75015
7422675015 - `"thinking-binding-controls-2026-08-01"`
7422775016 
7422875017 - `"mid-conversation-system-clear-at-2026-08-21"`
75018 
75019 - `"compact-2026-09-04"`
7422975020 
7423075021#### Body parameters
7423175022 
from line 75335
7454475335 
7454575336 - `string`
7454675337 
74547 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
75338 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7454875339 
7454975340 - `"message-batches-2024-09-24"`
7455075341 
from line 75426
7463575426 - `"thinking-binding-controls-2026-08-01"`
7463675427 
7463775428 - `"mid-conversation-system-clear-at-2026-08-21"`
75429 
75430 - `"compact-2026-09-04"`
7463875431 
7463975432#### Returns
7464075433 
from line 75632
7483975632 
7484075633 - `string`
7484175634 
74842 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
75635 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7484375636 
7484475637 - `"message-batches-2024-09-24"`
7484575638 
from line 75723
7493075723 - `"thinking-binding-controls-2026-08-01"`
7493175724 
7493275725 - `"mid-conversation-system-clear-at-2026-08-21"`
75726 
75727 - `"compact-2026-09-04"`
7493375728 
7493475729#### Returns
7493575730 
from line 75947
7515275947 
7515375948 - `string`
7515475949 
75155 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
75950 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7515675951 
7515775952 - `"message-batches-2024-09-24"`
7515875953 
from line 76038
7524376038 - `"thinking-binding-controls-2026-08-01"`
7524476039 
7524576040 - `"mid-conversation-system-clear-at-2026-08-21"`
76041 
76042 - `"compact-2026-09-04"`
7524676043 
7524776044#### Body parameters
7524876045 
from line 76338
7554176338 
7554276339 - `string`
7554376340 
75544 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
76341 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7554576342 
7554676343 - `"message-batches-2024-09-24"`
7554776344 
from line 76429
7563276429 - `"thinking-binding-controls-2026-08-01"`
7563376430 
7563476431 - `"mid-conversation-system-clear-at-2026-08-21"`
76432 
76433 - `"compact-2026-09-04"`
7563576434 
7563676435#### Returns
7563776436 
from line 76649
7585076649 
7585176650 - `string`
7585276651 
75853 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
76652 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7585476653 
7585576654 - `"message-batches-2024-09-24"`
7585676655 
from line 76740
7594176740 - `"thinking-binding-controls-2026-08-01"`
7594276741 
7594376742 - `"mid-conversation-system-clear-at-2026-08-21"`
76743 
76744 - `"compact-2026-09-04"`
7594476745 
7594576746#### Body parameters
7594676747 
from line 76844
7604376844 
7604476845 - `string`
7604576846 
76046 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
76847 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7604776848 
7604876849 - `"message-batches-2024-09-24"`
7604976850 
from line 76935
7613476935 - `"thinking-binding-controls-2026-08-01"`
7613576936 
7613676937 - `"mid-conversation-system-clear-at-2026-08-21"`
76938 
76939 - `"compact-2026-09-04"`
7613776940 
7613876941#### Returns
7613976942 
from line 77029
7622677029 
7622777030 - `string`
7622877031 
76229 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
77032 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7623077033 
7623177034 - `"message-batches-2024-09-24"`
7623277035 
from line 77120
7631777120 - `"thinking-binding-controls-2026-08-01"`
7631877121 
7631977122 - `"mid-conversation-system-clear-at-2026-08-21"`
77123 
77124 - `"compact-2026-09-04"`
7632077125 
7632177126#### Returns
7632277127 
from line 77654
7684977654 
7685077655 - `string`
7685177656 
76852 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
77657 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7685377658 
7685477659 - `"message-batches-2024-09-24"`
7685577660 
from line 77745
7694077745 - `"thinking-binding-controls-2026-08-01"`
7694177746 
7694277747 - `"mid-conversation-system-clear-at-2026-08-21"`
77748 
77749 - `"compact-2026-09-04"`
7694377750 
7694477751#### Body parameters
7694577752 
from line 77901
7709477901 
7709577902 - `string`
7709677903 
77097 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
77904 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7709877905 
7709977906 - `"message-batches-2024-09-24"`
7710077907 
from line 77992
7718577992 - `"thinking-binding-controls-2026-08-01"`
7718677993 
7718777994 - `"mid-conversation-system-clear-at-2026-08-21"`
77995 
77996 - `"compact-2026-09-04"`
7718877997 
7718977998#### Returns
7719077999 
from line 78110
7730178110 
7730278111 - `string`
7730378112 
77304 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
78113 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7730578114 
7730678115 - `"message-batches-2024-09-24"`
7730778116 
from line 78201
7739278201 - `"thinking-binding-controls-2026-08-01"`
7739378202 
7739478203 - `"mid-conversation-system-clear-at-2026-08-21"`
78204 
78205 - `"compact-2026-09-04"`
7739578206 
7739678207#### Returns
7739778208 
from line 78320
7750978320 
7751078321 - `string`
7751178322 
77512 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
78323 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7751378324 
7751478325 - `"message-batches-2024-09-24"`
7751578326 
from line 78411
7760078411 - `"thinking-binding-controls-2026-08-01"`
7760178412 
7760278413 - `"mid-conversation-system-clear-at-2026-08-21"`
78414 
78415 - `"compact-2026-09-04"`
7760378416 
7760478417#### Body parameters
7760578418 
from line 78548
7773578548 
7773678549 - `string`
7773778550 
77738 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
78551 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7773978552 
7774078553 - `"message-batches-2024-09-24"`
7774178554 
from line 78639
7782678639 - `"thinking-binding-controls-2026-08-01"`
7782778640 
7782878641 - `"mid-conversation-system-clear-at-2026-08-21"`
78642 
78643 - `"compact-2026-09-04"`
7782978644 
7783078645#### Returns
7783178646 
from line 78763
7794878763 
7794978764 - `string`
7795078765 
77951 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
78766 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7795278767 
7795378768 - `"message-batches-2024-09-24"`
7795478769 
from line 78854
7803978854 - `"thinking-binding-controls-2026-08-01"`
7804078855 
7804178856 - `"mid-conversation-system-clear-at-2026-08-21"`
78857 
78858 - `"compact-2026-09-04"`
7804278859 
7804378860#### Body parameters
7804478861 
from line 78987
7817078987 
7817178988 - `string`
7817278989 
78173 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
78990 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7817478991 
7817578992 - `"message-batches-2024-09-24"`
7817678993 
from line 79078
7826179078 - `"thinking-binding-controls-2026-08-01"`
7826279079 
7826379080 - `"mid-conversation-system-clear-at-2026-08-21"`
79081 
79082 - `"compact-2026-09-04"`
7826479083 
7826579084#### Returns
7826679085 
from line 79183
7836479183 
7836579184 - `string`
7836679185 
78367 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
79186 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7836879187 
7836979188 - `"message-batches-2024-09-24"`
7837079189 
from line 79274
7845579274 - `"thinking-binding-controls-2026-08-01"`
7845679275 
7845779276 - `"mid-conversation-system-clear-at-2026-08-21"`
79277 
79278 - `"compact-2026-09-04"`
7845879279 
7845979280#### Returns
7846079281 
from line 79869
7904879869 
7904979870 - `string`
7905079871 
79051 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
79872 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7905279873 
7905379874 - `"message-batches-2024-09-24"`
7905479875 
from line 79960
7913979960 - `"thinking-binding-controls-2026-08-01"`
7914079961 
7914179962 - `"mid-conversation-system-clear-at-2026-08-21"`
79963 
79964 - `"compact-2026-09-04"`
7914279965 
7914379966#### Body parameters
7914479967 
from line 81235
8041281235 
8041381236 - `string`
8041481237 
80415 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
81238 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8041681239 
8041781240 - `"message-batches-2024-09-24"`
8041881241 
from line 81326
8050381326 - `"thinking-binding-controls-2026-08-01"`
8050481327 
8050581328 - `"mid-conversation-system-clear-at-2026-08-21"`
81329 
81330 - `"compact-2026-09-04"`
8050681331 
8050781332#### Returns
8050881333 
from line 81428
8060381428 
8060481429 - `string`
8060581430 
80606 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
81431 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8060781432 
8060881433 - `"message-batches-2024-09-24"`
8060981434 
from line 81519
8069481519 - `"thinking-binding-controls-2026-08-01"`
8069581520 
8069681521 - `"mid-conversation-system-clear-at-2026-08-21"`
81522 
81523 - `"compact-2026-09-04"`
8069781524 
8069881525#### Body parameters
8069981526 
from line 81637
8081081637 
8081181638 - `string`
8081281639 
80813 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
81640 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8081481641 
8081581642 - `"message-batches-2024-09-24"`
8081681643 
from line 81728
8090181728 - `"thinking-binding-controls-2026-08-01"`
8090281729 
8090381730 - `"mid-conversation-system-clear-at-2026-08-21"`
81731 
81732 - `"compact-2026-09-04"`
8090481733 
8090581734#### Returns
8090681735 
from line 81823
8099481823 
8099581824 - `string`
8099681825 
80997 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
81826 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8099881827 
8099981828 - `"message-batches-2024-09-24"`
8100081829 
from line 81914
8108581914 - `"thinking-binding-controls-2026-08-01"`
8108681915 
8108781916 - `"mid-conversation-system-clear-at-2026-08-21"`
81917 
81918 - `"compact-2026-09-04"`
8108881919 
8108981920#### Body parameters
8109081921 
from line 82026
8119582026 
8119682027 - `string`
8119782028 
81198 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
82029 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8119982030 
8120082031 - `"message-batches-2024-09-24"`
8120182032 
from line 82117
8128682117 - `"thinking-binding-controls-2026-08-01"`
8128782118 
8128882119 - `"mid-conversation-system-clear-at-2026-08-21"`
82120 
82121 - `"compact-2026-09-04"`
8128982122 
8129082123#### Returns
8129182124 
from line 82566
8173382566 
8173482567 - `string`
8173582568 
81736 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
82569 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8173782570 
8173882571 - `"message-batches-2024-09-24"`
8173982572 
from line 82657
8182482657 - `"thinking-binding-controls-2026-08-01"`
8182582658 
8182682659 - `"mid-conversation-system-clear-at-2026-08-21"`
82660 
82661 - `"compact-2026-09-04"`
8182782662 
8182882663#### Returns
8182982664 
from line 83150
8231583150 
8231683151 - `string`
8231783152 
82318 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
83153 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8231983154 
8232083155 - `"message-batches-2024-09-24"`
8232183156 
from line 83241
8240683241 - `"thinking-binding-controls-2026-08-01"`
8240783242 
8240883243 - `"mid-conversation-system-clear-at-2026-08-21"`
83244 
83245 - `"compact-2026-09-04"`
8240983246 
8241083247#### Returns
8241183248 
from line 83435
8259883435 
8259983436 - `string`
8260083437 
82601 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
83438 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8260283439 
8260383440 - `"message-batches-2024-09-24"`
8260483441 
from line 83526
8268983526 - `"thinking-binding-controls-2026-08-01"`
8269083527 
8269183528 - `"mid-conversation-system-clear-at-2026-08-21"`
83529 
83530 - `"compact-2026-09-04"`
8269283531 
8269383532#### Returns
8269483533 
from line 83626
8278783626 
8278883627 - `string`
8278983628 
82790 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
83629 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8279183630 
8279283631 - `"message-batches-2024-09-24"`
8279383632 
from line 83717
8287883717 - `"thinking-binding-controls-2026-08-01"`
8287983718 
8288083719 - `"mid-conversation-system-clear-at-2026-08-21"`
83720 
83721 - `"compact-2026-09-04"`
8288183722 
8288283723#### Returns
8288383724 
from line 83813
8297283813 
8297383814 - `string`
8297483815 
82975 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
83816 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8297683817 
8297783818 - `"message-batches-2024-09-24"`
8297883819 
from line 83904
8306383904 - `"thinking-binding-controls-2026-08-01"`
8306483905 
8306583906 - `"mid-conversation-system-clear-at-2026-08-21"`
83907 
83908 - `"compact-2026-09-04"`
8306683909 
8306783910#### Returns
8306883911 
from line 84001
8315884001 
8315984002 - `string`
8316084003 
83161 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
84004 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8316284005 
8316384006 - `"message-batches-2024-09-24"`
8316484007 
from line 84092
8324984092 - `"thinking-binding-controls-2026-08-01"`
8325084093 
8325184094 - `"mid-conversation-system-clear-at-2026-08-21"`
84095 
84096 - `"compact-2026-09-04"`
8325284097 
8325384098#### Returns
8325484099 
from line 84161
8331684161 
8331784162 - `string`
8331884163 
83319 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
84164 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8332084165 
8332184166 - `"message-batches-2024-09-24"`
8332284167 
from line 84252
8340784252 - `"thinking-binding-controls-2026-08-01"`
8340884253 
8340984254 - `"mid-conversation-system-clear-at-2026-08-21"`
84255 
84256 - `"compact-2026-09-04"`
8341084257 
8341184258#### Body parameters
8341284259 
from line 84332
8348584332 
8348684333 - `string`
8348784334 
83488 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
84335 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8348984336 
8349084337 - `"message-batches-2024-09-24"`
8349184338 
from line 84423
8357684423 - `"thinking-binding-controls-2026-08-01"`
8357784424 
8357884425 - `"mid-conversation-system-clear-at-2026-08-21"`
84426 
84427 - `"compact-2026-09-04"`
8357984428 
8358084429#### Body parameters
8358184430 
from line 84549
8370084549 
8370184550 - `string`
8370284551 
83703 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
84552 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8370484553 
8370584554 - `"message-batches-2024-09-24"`
8370684555 
from line 84640
8379184640 - `"thinking-binding-controls-2026-08-01"`
8379284641 
8379384642 - `"mid-conversation-system-clear-at-2026-08-21"`
84643 
84644 - `"compact-2026-09-04"`
8379484645 
8379584646#### Returns
8379684647 
from line 84744
8389384744 
8389484745 - `string`
8389584746 
83896 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
84747 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8389784748 
8389884749 - `"message-batches-2024-09-24"`
8389984750 
from line 84835
8398484835 - `"thinking-binding-controls-2026-08-01"`
8398584836 
8398684837 - `"mid-conversation-system-clear-at-2026-08-21"`
84838 
84839 - `"compact-2026-09-04"`
8398784840 
8398884841#### Returns
8398984842 
from line 84934
8408184934 
8408284935 - `string`
8408384936 
84084 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
84937 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8408584938 
8408684939 - `"message-batches-2024-09-24"`
8408784940 
from line 85025
8417285025 - `"thinking-binding-controls-2026-08-01"`
8417385026 
8417485027 - `"mid-conversation-system-clear-at-2026-08-21"`
85028 
85029 - `"compact-2026-09-04"`
8417585030 
8417685031#### Returns
8417785032 
8417885033 

api/beta/agents Changed · +18 / -6 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.

from line 19
1919 
2020 - `string`
2121 
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2323 
2424 - `"message-batches-2024-09-24"`
2525 
from line 111
111111 
112112 - `"mid-conversation-system-clear-at-2026-08-21"`
113113 
114 - `"compact-2026-09-04"`
115 
114116- `"anthropic-workspace-id": optional string`
115117 
116118### Body parameters
from line 1542
15401542 
15411543 - `string`
15421544 
1543 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1545 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
15441546 
15451547 - `"message-batches-2024-09-24"`
15461548 
from line 1634
16321634 
16331635 - `"mid-conversation-system-clear-at-2026-08-21"`
16341636 
1637 - `"compact-2026-09-04"`
1638 
16351639- `"anthropic-workspace-id": optional string`
16361640 
16371641### Returns
from line 2339
23352339 
23362340 - `string`
23372341 
2338 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2342 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
23392343 
23402344 - `"message-batches-2024-09-24"`
23412345 
from line 2431
24272431 
24282432 - `"mid-conversation-system-clear-at-2026-08-21"`
24292433 
2434 - `"compact-2026-09-04"`
2435 
24302436- `"anthropic-workspace-id": optional string`
24312437 
24322438### Returns
from line 3119
31133119 
31143120 - `string`
31153121 
3116 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3122 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
31173123 
31183124 - `"message-batches-2024-09-24"`
31193125 
from line 3211
32053211 
32063212 - `"mid-conversation-system-clear-at-2026-08-21"`
32073213 
3214 - `"compact-2026-09-04"`
3215 
32083216- `"anthropic-workspace-id": optional string`
32093217 
32103218### Body parameters
from line 4615
46074615 
46084616 - `string`
46094617 
4610 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4618 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
46114619 
46124620 - `"message-batches-2024-09-24"`
46134621 
from line 4707
46994707 
47004708 - `"mid-conversation-system-clear-at-2026-08-21"`
47014709 
4710 - `"compact-2026-09-04"`
4711 
47024712- `"anthropic-workspace-id": optional string`
47034713 
47044714### Returns
from line 8376
83668376 
83678377 - `"claude-sonnet-4-5-20250929"`
83688378 
8369 High-performance model for agents and coding
8370 
8371 - `string`
8372 
8373 - `effort: optional "low" or "medium" or "high" or 2 more or BetaManagedAgentsEffortLow or Bet
8379 High-per

api/beta/deployment_runs Changed · +6 / -2 lines

from line 71
7171 
7272 - `string`
7373 
74 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
74 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
7575 
7676 - `"message-batches-2024-09-24"`
7777 
from line 163
163163 
164164 - `"mid-conversation-system-clear-at-2026-08-21"`
165165 
166 - `"compact-2026-09-04"`
167 
166168- `"anthropic-workspace-id": optional string`
167169 
168170### Returns
from line 452
450452 
451453 - `string`
452454 
453 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
455 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
454456 
455457 - `"message-batches-2024-09-24"`
456458 
from line 543
541543 - `"thinking-binding-controls-2026-08-01"`
542544 
543545 - `"mid-conversation-system-clear-at-2026-08-21"`
546 
547 - `"compact-2026-09-04"`
544548 
545549- `"anthropic-workspace-id": optional string`
546550 

api/beta/deployments Changed · +24 / -8 lines

from line 19
1919 
2020 - `string`
2121 
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2323 
2424 - `"message-batches-2024-09-24"`
2525 
from line 111
111111 
112112 - `"mid-conversation-system-clear-at-2026-08-21"`
113113 
114 - `"compact-2026-09-04"`
115 
114116- `"anthropic-workspace-id": optional string`
115117 
116118### Body parameters
from line 1180
11781180 
11791181 - `string`
11801182 
1181 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1183 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
11821184 
11831185 - `"message-batches-2024-09-24"`
11841186 
from line 1272
12701272 
12711273 - `"mid-conversation-system-clear-at-2026-08-21"`
12721274 
1275 - `"compact-2026-09-04"`
1276 
12731277- `"anthropic-workspace-id": optional string`
12741278 
12751279### Returns
from line 1895
18911895 
18921896 - `string`
18931897 
1894 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1898 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
18951899 
18961900 - `"message-batches-2024-09-24"`
18971901 
from line 1987
19831987 
19841988 - `"mid-conversation-system-clear-at-2026-08-21"`
19851989 
1990 - `"compact-2026-09-04"`
1991 
19861992- `"anthropic-workspace-id": optional string`
19871993 
19881994### Returns
from line 2601
25952601 
25962602 - `string`
25972603 
2598 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2604 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
25992605 
26002606 - `"message-batches-2024-09-24"`
26012607 
from line 2693
26872693 
26882694 - `"mid-conversation-system-clear-at-2026-08-21"`
26892695 
2696 - `"compact-2026-09-04"`
2697 
26902698- `"anthropic-workspace-id": optional string`
26912699 
26922700### Body parameters
from line 3711
37033711 
37043712 - `string`
37053713 
3706 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3714 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
37073715 
37083716 - `"message-batches-2024-09-24"`
37093717 
from line 3803
37953803 
37963804 - `"mid-conversation-system-clear-at-2026-08-21"`
37973805 
3806 - `"compact-2026-09-04"`
3807 
37983808- `"anthropic-workspace-id": optional string`
37993809 
38003810### Returns
from line 4418
44084418 
44094419 - `string`
44104420 
4411 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4421 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
44124422 
44134423 - `"message-batches-2024-09-24"`
44144424 
from line 4510
45004510 
45014511 - `"mid-conversation-system-clear-at-2026-08-21"`
45024512 
4513 - `"compact-2026-09-04"`
4514 
45034515- `"anthropic-workspace-id": optional string`
45044516 
45054517### Returns
from line 4791
47794791 
47804792 - `string`
47814793 
4782 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4794 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
47834795 
47844796 - `"message-batches-2024-09-24"`
47854797 
from line 4883
48714883 
48724884 - `"mid-conversation-system-clear-at-2026-08-21"`
48734885 
4886 - `"compact-2026-09-04"`
4887 
48744888- `"anthropic-workspace-id": optional string`
48754889 
48764890### Returns
from line 5498
54845498 
54855499 - `string`
54865500 
5487 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
5501 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
54885502 
54895503 - `"message-batches-2024-09-24"`
54905504 
from line 5589
55755589 - `"thinking-binding-controls-2026-08-01"`
55765590 
55775591 - `"mid-conversation-system-clear-at-2026-08-21"`
5592 
5593 - `"compact-2026-09-04"`
55785594 
55795595- `"anthropic-workspace-id": optional string`
55805596 

api/beta/dreams Changed · +15 / -5 lines

from line 19
1919 
2020 - `string`
2121 
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2323 
2424 - `"message-batches-2024-09-24"`
2525 
from line 111
111111 
112112 - `"mid-conversation-system-clear-at-2026-08-21"`
113113 
114 - `"compact-2026-09-04"`
115 
114116- `"anthropic-workspace-id": optional string`
115117 
116118### Body parameters
from line 444
442444 
443445 - `string`
444446 
445 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
447 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
446448 
447449 - `"message-batches-2024-09-24"`
448450 
from line 536
534536 
535537 - `"mid-conversation-system-clear-at-2026-08-21"`
536538 
539 - `"compact-2026-09-04"`
540 
537541- `"anthropic-workspace-id": optional string`
538542 
539543### Returns
from line 760
756760 
757761 - `string`
758762 
759 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
763 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
760764 
761765 - `"message-batches-2024-09-24"`
762766 
from line 852
848852 
849853 - `"mid-conversation-system-clear-at-2026-08-21"`
850854 
855 - `"compact-2026-09-04"`
856 
851857- `"anthropic-workspace-id": optional string`
852858 
853859### Returns
from line 1071
10651071 
10661072 - `string`
10671073 
1068 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1074 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
10691075 
10701076 - `"message-batches-2024-09-24"`
10711077 
from line 1163
11571163 
11581164 - `"mid-conversation-system-clear-at-2026-08-21"`
11591165 
1166 - `"compact-2026-09-04"`
1167 
11601168- `"anthropic-workspace-id": optional string`
11611169 
11621170### Returns
from line 1383
13751383 
13761384 - `string`
13771385 
1378 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1386 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
13791387 
13801388 - `"message-batches-2024-09-24"`
13811389 
from line 1474
14661474 - `"thinking-binding-controls-2026-08-01"`
14671475 
14681476 - `"mid-conversation-system-clear-at-2026-08-21"`
1477 
1478 - `"compact-2026-09-04"`
14691479 
14701480- `"anthropic-workspace-id": optional string`
14711481 

api/beta/environments Changed · +42 / -14 lines

from line 19
1919 
2020 - `string`
2121 
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2323 
2424 - `"message-batches-2024-09-24"`
2525 
from line 111
111111 
112112 - `"mid-conversation-system-clear-at-2026-08-21"`
113113 
114 - `"compact-2026-09-04"`
115 
114116- `"anthropic-workspace-id": optional string`
115117 
116118### Body parameters
from line 482
480482 
481483 - `string`
482484 
483 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
485 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
484486 
485487 - `"message-batches-2024-09-24"`
486488 
from line 574
572574 
573575 - `"mid-conversation-system-clear-at-2026-08-21"`
574576 
577 - `"compact-2026-09-04"`
578 
575579- `"anthropic-workspace-id": optional string`
576580 
577581### Returns
from line 797
793797 
794798 - `string`
795799 
796 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
800 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
797801 
798802 - `"message-batches-2024-09-24"`
799803 
from line 889
885889 
886890 - `"mid-conversation-system-clear-at-2026-08-21"`
887891 
892 - `"compact-2026-09-04"`
893 
888894- `"anthropic-workspace-id": optional string`
889895 
890896### Returns
from line 1103
10971103 
10981104 - `string`
10991105 
1100 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1106 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
11011107 
11021108 - `"message-batches-2024-09-24"`
11031109 
from line 1195
11891195 
11901196 - `"mid-conversation-system-clear-at-2026-08-21"`
11911197 
1198 - `"compact-2026-09-04"`
1199 
11921200- `"anthropic-workspace-id": optional string`
11931201 
11941202### Body parameters
from line 1535
15271535 
15281536 - `string`
15291537 
1530 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1538 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
15311539 
15321540 - `"message-batches-2024-09-24"`
15331541 
from line 1627
16191627 
16201628 - `"mid-conversation-system-clear-at-2026-08-21"`
16211629 
1630 - `"compact-2026-09-04"`
1631 
16221632- `"anthropic-workspace-id": optional string`
16231633 
16241634### Returns
from line 1684
16741684 
16751685 - `string`
16761686 
1677 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1687 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
16781688 
16791689 - `"message-batches-2024-09-24"`
16801690 
from line 1776
17661776 
17671777 - `"mid-conversation-system-clear-at-2026-08-21"`
17681778 
1779 - `"compact-2026-09-04"`
1780 
17691781- `"anthropic-workspace-id": optional string`
17701782 
17711783### Returns
from line 2464
24522464 
24532465 - `string`
24542466 
2455 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2467 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
24562468 
24572469 - `"message-batches-2024-09-24"`
24582470 
from line 2556
25442556 
25452557 - `"mid-conversation-system-clear-at-2026-08-21"`
25462558 
2559 - `"compact-2026-09-04"`
2560 
25472561- `"anthropic-workspace-id": optional string`
25482562 
25492563#### Returns
from line 2710
26962710 
26972711 - `string`
26982712 
2699 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2713 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
27002714 
27012715 - `"message-batches-2024-09-24"`
27022716 
from line 2802
27882802 
27892803 - `"mid-conversation-system-clear-at-2026-08-21"`
27902804 
2805 - `"compact-2026-09-04"`
2806 
27912807- `"Anthropic-Worker-ID": optional string`
27922808 
27932809 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 2946
29302946 
29312947 - `string`
29322948 
2933 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2949 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
29342950 
29352951 - `"message-batches-2024-09-24"`
29362952 
from line 3038
30223038 
30233039 - `"mid-conversation-system-clear-at-2026-08-21"`
30243040 
3041 - `"compact-2026-09-04"`
3042 
30253043#### Returns
30263044 
30273045- `BetaSelfHostedWork object`
from line 3189
31713189 
31723190 - `string`
31733191 
3174 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3192 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
31753193 
31763194 - `"message-batches-2024-09-24"`
31773195 
from line 3281
32633281 
32643282 - `"mid-conversation-system-clear-at-2026-08-21"`
32653283 
3284 - `"compact-2026-09-04"`
3285 
32663286#### Returns
32673287 
32683288- `BetaSelfHostedWorkHeartbeatResponse object`
from line 3365
33453365 
33463366 - `string`
33473367 
3348 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3368 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
33493369 
33503370 - `"message-batches-2024-09-24"`
33513371 
from line 3457
34373457 
34383458 - `"mid-conversation-system-clear-at-2026-08-21"`
34393459 
3460 - `"compact-2026-09-04"`
3461 
34403462- `"anthropic-workspace-id": optional string`
34413463 
34423464#### Body parameters
from line 3619
35973619 
35983620 - `string`
35993621 
3600 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3622 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
36013623 
36023624 - `"message-batches-2024-09-24"`
36033625 
from line 3711
36893711 
36903712 - `"mid-conversation-system-clear-at-2026-08-21"`
36913713 
3714 - `"compact-2026-09-04"`
3715 
36923716#### Returns
36933717 
36943718- `BetaSelfHostedWorkListResponse object`
from line 3860
38363860 
38373861 - `string`
38383862 
3839 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3863 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
38403864 
38413865 - `"message-batches-2024-09-24"`
38423866 
from line 3952
39283952 
39293953 - `"mid-conversation-system-clear-at-2026-08-21"`
39303954 
3955 - `"compact-2026-09-04"`
3956 
39313957- `"anthropic-workspace-id": optional string`
39323958 
39333959#### Body parameters
from line 4102
40764102 
40774103 - `string`
40784104 
4079 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4105 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
40804106 
40814107 - `"message-batches-2024-09-24"`
40824108 
from line 4193
41674193 - `"thinking-binding-controls-2026-08-01"`
41684194 
41694195 - `"mid-conversation-system-clear-at-2026-08-21"`
4196 
4197 - `"compact-2026-09-04"`
41704198 
41714199- `"anthropic-workspace-id": optional string`
41724200 

api/beta/environments/work Changed · +24 / -8 lines

from line 27
2727 
2828 - `string`
2929 
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3131 
3232 - `"message-batches-2024-09-24"`
3333 
from line 119
119119 
120120 - `"mid-conversation-system-clear-at-2026-08-21"`
121121 
122 - `"compact-2026-09-04"`
123 
122124- `"anthropic-workspace-id": optional string`
123125 
124126### Returns
from line 273
271273 
272274 - `string`
273275 
274 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
276 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
275277 
276278 - `"message-batches-2024-09-24"`
277279 
from line 365
363365 
364366 - `"mid-conversation-system-clear-at-2026-08-21"`
365367 
368 - `"compact-2026-09-04"`
369 
366370- `"Anthropic-Worker-ID": optional string`
367371 
368372 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 509
505509 
506510 - `string`
507511 
508 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
512 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
509513 
510514 - `"message-batches-2024-09-24"`
511515 
from line 601
597601 
598602 - `"mid-conversation-system-clear-at-2026-08-21"`
599603 
604 - `"compact-2026-09-04"`
605 
600606### Returns
601607 
602608- `BetaSelfHostedWork object`
from line 752
746752 
747753 - `string`
748754 
749 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
755 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
750756 
751757 - `"message-batches-2024-09-24"`
752758 
from line 844
838844 
839845 - `"mid-conversation-system-clear-at-2026-08-21"`
840846 
847 - `"compact-2026-09-04"`
848 
841849### Returns
842850 
843851- `BetaSelfHostedWorkHeartbeatResponse object`
from line 928
920928 
921929 - `string`
922930 
923 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
931 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
924932 
925933 - `"message-batches-2024-09-24"`
926934 
from line 1020
10121020 
10131021 - `"mid-conversation-system-clear-at-2026-08-21"`
10141022 
1023 - `"compact-2026-09-04"`
1024 
10151025- `"anthropic-workspace-id": optional string`
10161026 
10171027### Body parameters
from line 1182
11721182 
11731183 - `string`
11741184 
1175 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1185 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
11761186 
11771187 - `"message-batches-2024-09-24"`
11781188 
from line 1274
12641274 
12651275 - `"mid-conversation-system-clear-at-2026-08-21"`
12661276 
1277 - `"compact-2026-09-04"`
1278 
12671279### Returns
12681280 
12691281- `BetaSelfHostedWorkListResponse object`
from line 1423
14111423 
14121424 - `string`
14131425 
1414 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1426 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
14151427 
14161428 - `"message-batches-2024-09-24"`
14171429 
from line 1515
15031515 
15041516 - `"mid-conversation-system-clear-at-2026-08-21"`
15051517 
1518 - `"compact-2026-09-04"`
1519 
15061520- `"anthropic-workspace-id": optional string`
15071521 
15081522### Body parameters
from line 1665
16511665 
16521666 - `string`
16531667 
1654 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1668 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
16551669 
16561670 - `"message-batches-2024-09-24"`
16571671 
from line 1756
17421756 - `"thinking-binding-controls-2026-08-01"`
17431757 
17441758 - `"mid-conversation-system-clear-at-2026-08-21"`
1759 
1760 - `"compact-2026-09-04"`
17451761 
17461762- `"anthropic-workspace-id": optional string`
17471763 

api/beta/files Changed · +15 / -5 lines

from line 19
1919 
2020 - `string`
2121 
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2323 
2424 - `"message-batches-2024-09-24"`
2525 
from line 111
111111 
112112 - `"mid-conversation-system-clear-at-2026-08-21"`
113113 
114 - `"compact-2026-09-04"`
115 
114116- `"anthropic-workspace-id": optional string`
115117 
116118### Body parameters (form-data)
from line 258
256258 
257259 - `string`
258260 
259 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
261 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
260262 
261263 - `"message-batches-2024-09-24"`
262264 
from line 350
348350 
349351 - `"mid-conversation-system-clear-at-2026-08-21"`
350352 
353 - `"compact-2026-09-04"`
354 
351355- `"anthropic-workspace-id": optional string`
352356 
353357### Returns
from line 476
472476 
473477 - `string`
474478 
475 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
479 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
476480 
477481 - `"message-batches-2024-09-24"`
478482 
from line 568
564568 
565569 - `"mid-conversation-system-clear-at-2026-08-21"`
566570 
571 - `"compact-2026-09-04"`
572 
567573- `"anthropic-workspace-id": optional string`
568574 
569575### Example
from line 600
594600 
595601 - `string`
596602 
597 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
603 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
598604 
599605 - `"message-batches-2024-09-24"`
600606 
from line 692
686692 
687693 - `"mid-conversation-system-clear-at-2026-08-21"`
688694 
695 - `"compact-2026-09-04"`
696 
689697- `"anthropic-workspace-id": optional string`
690698 
691699### Returns
from line 807
799807 
800808 - `string`
801809 
802 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
810 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
803811 
804812 - `"message-batches-2024-09-24"`
805813 
from line 898
890898 - `"thinking-binding-controls-2026-08-01"`
891899 
892900 - `"mid-conversation-system-clear-at-2026-08-21"`
901 
902 - `"compact-2026-09-04"`
893903 
894904- `"anthropic-workspace-id": optional string`
895905 

api/beta/memory_stores Changed · +42 / -14 lines

from line 19
1919 
2020 - `string`
2121 
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2323 
2424 - `"message-batches-2024-09-24"`
2525 
from line 111
111111 
112112 - `"mid-conversation-system-clear-at-2026-08-21"`
113113 
114 - `"compact-2026-09-04"`
115 
114116- `"anthropic-workspace-id": optional string`
115117 
116118### Body parameters
from line 247
245247 
246248 - `string`
247249 
248 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
250 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
249251 
250252 - `"message-batches-2024-09-24"`
251253 
from line 339
337339 
338340 - `"mid-conversation-system-clear-at-2026-08-21"`
339341 
342 - `"compact-2026-09-04"`
343 
340344- `"anthropic-workspace-id": optional string`
341345 
342346### Returns
from line 438
434438 
435439 - `string`
436440 
437 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
441 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
438442 
439443 - `"message-batches-2024-09-24"`
440444 
from line 530
526530 
527531 - `"mid-conversation-system-clear-at-2026-08-21"`
528532 
533 - `"compact-2026-09-04"`
534 
529535- `"anthropic-workspace-id": optional string`
530536 
531537### Returns
from line 620
614620 
615621 - `string`
616622 
617 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
623 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
618624 
619625 - `"message-batches-2024-09-24"`
620626 
from line 712
706712 
707713 - `"mid-conversation-system-clear-at-2026-08-21"`
708714 
715 - `"compact-2026-09-04"`
716 
709717- `"anthropic-workspace-id": optional string`
710718 
711719### Body parameters
from line 822
814822 
815823 - `string`
816824 
817 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
825 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
818826 
819827 - `"message-batches-2024-09-24"`
820828 
from line 914
906914 
907915 - `"mid-conversation-system-clear-at-2026-08-21"`
908916 
917 - `"compact-2026-09-04"`
918 
909919- `"anthropic-workspace-id": optional string`
910920 
911921### Returns
from line 967
957967 
958968 - `string`
959969 
960 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
970 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
961971 
962972 - `"message-batches-2024-09-24"`
963973 
from line 1059
10491059 
10501060 - `"mid-conversation-system-clear-at-2026-08-21"`
10511061 
1062 - `"compact-2026-09-04"`
1063 
10521064- `"anthropic-workspace-id": optional string`
10531065 
10541066### Returns
from line 1218
12061218 
12071219 - `string`
12081220 
1209 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1221 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
12101222 
12111223 - `"message-batches-2024-09-24"`
12121224 
from line 1310
12981310 
12991311 - `"mid-conversation-system-clear-at-2026-08-21"`
13001312 
1313 - `"compact-2026-09-04"`
1314 
13011315- `"anthropic-workspace-id": optional string`
13021316 
13031317#### Body parameters
from line 1455
14411455 
14421456 - `string`
14431457 
1444 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1458 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
14451459 
14461460 - `"message-batches-2024-09-24"`
14471461 
from line 1547
15331547 
15341548 - `"mid-conversation-system-clear-at-2026-08-21"`
15351549 
1550 - `"compact-2026-09-04"`
1551 
15361552- `"anthropic-workspace-id": optional string`
15371553 
15381554#### Returns
from line 1680
16641680 
16651681 - `string`
16661682 
1667 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1683 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
16681684 
16691685 - `"message-batches-2024-09-24"`
16701686 
from line 1772
17561772 
17571773 - `"mid-conversation-system-clear-at-2026-08-21"`
17581774 
1775 - `"compact-2026-09-04"`
1776 
17591777- `"anthropic-workspace-id": optional string`
17601778 
17611779#### Returns
from line 1882
18641882 
18651883 - `string`
18661884 
1867 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1885 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
18681886 
18691887 - `"message-batches-2024-09-24"`
18701888 
from line 1974
19561974 
19571975 - `"mid-conversation-system-clear-at-2026-08-21"`
19581976 
1977 - `"compact-2026-09-04"`
1978 
19591979- `"anthropic-workspace-id": optional string`
19601980 
19611981#### Body parameters
from line 2104
20842104 
20852105 - `string`
20862106 
2087 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2107 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
20882108 
20892109 - `"message-batches-2024-09-24"`
20902110 
from line 2196
21762196 
21772197 - `"mid-conversation-system-clear-at-2026-08-21"`
21782198 
2199 - `"compact-2026-09-04"`
2200 
21792201- `"anthropic-workspace-id": optional string`
21802202 
21812203#### Returns
from line 2309
22872309 
22882310 - `string`
22892311 
2290 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2312 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
22912313 
22922314 - `"message-batches-2024-09-24"`
22932315 
from line 2401
23792401 
23802402 - `"mid-conversation-system-clear-at-2026-08-21"`
23812403 
2404 - `"compact-2026-09-04"`
2405 
23822406- `"anthropic-workspace-id": optional string`
23832407 
23842408#### Returns
from line 2595
25712595 
25722596 - `string`
25732597 
2574 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2598 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
25752599 
25762600 - `"message-batches-2024-09-24"`
25772601 
from line 2687
26632687 
26642688 - `"mid-conversation-system-clear-at-2026-08-21"`
26652689 
2690 - `"compact-2026-09-04"`
2691 
26662692- `"anthropic-workspace-id": optional string`
26672693 
26682694#### Returns
from line 2862
28362862 
28372863 - `string`
28382864 
2839 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2865 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
28402866 
28412867 - `"message-batches-2024-09-24"`
28422868 
from line 2953
29272953 - `"thinking-binding-controls-2026-08-01"`
29282954 
29292955 - `"mid-conversation-system-clear-at-2026-08-21"`
2956 
2957 - `"compact-2026-09-04"`
29302958 
29312959- `"anthropic-workspace-id": optional string`
29322960 

api/beta/memory_stores/memories Changed · +15 / -5 lines

from line 33
3333 
3434 - `string`
3535 
36 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
36 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3737 
3838 - `"message-batches-2024-09-24"`
3939 
from line 125
125125 
126126 - `"mid-conversation-system-clear-at-2026-08-21"`
127127 
128 - `"compact-2026-09-04"`
129 
128130- `"anthropic-workspace-id": optional string`
129131 
130132### Body parameters
from line 270
268270 
269271 - `string`
270272 
271 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
273 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
272274 
273275 - `"message-batches-2024-09-24"`
274276 
from line 362
360362 
361363 - `"mid-conversation-system-clear-at-2026-08-21"`
362364 
365 - `"compact-2026-09-04"`
366 
363367- `"anthropic-workspace-id": optional string`
364368 
365369### Returns
from line 495
491495 
492496 - `string`
493497 
494 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
498 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
495499 
496500 - `"message-batches-2024-09-24"`
497501 
from line 587
583587 
584588 - `"mid-conversation-system-clear-at-2026-08-21"`
585589 
590 - `"compact-2026-09-04"`
591 
586592- `"anthropic-workspace-id": optional string`
587593 
588594### Returns
from line 697
691697 
692698 - `string`
693699 
694 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
700 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
695701 
696702 - `"message-batches-2024-09-24"`
697703 
from line 789
783789 
784790 - `"mid-conversation-system-clear-at-2026-08-21"`
785791 
792 - `"compact-2026-09-04"`
793 
786794- `"anthropic-workspace-id": optional string`
787795 
788796### Body parameters
from line 919
911919 
912920 - `string`
913921 
914 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
922 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
915923 
916924 - `"message-batches-2024-09-24"`
917925 
from line 1010
10021010 - `"thinking-binding-controls-2026-08-01"`
10031011 
10041012 - `"mid-conversation-system-clear-at-2026-08-21"`
1013 
1014 - `"compact-2026-09-04"`
10051015 
10061016- `"anthropic-workspace-id": optional string`
10071017 

api/beta/memory_stores/memory_versions Changed · +9 / -3 lines

from line 81
8181 
8282 - `string`
8383 
84 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
84 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
8585 
8686 - `"message-batches-2024-09-24"`
8787 
from line 173
173173 
174174 - `"mid-conversation-system-clear-at-2026-08-21"`
175175 
176 - `"compact-2026-09-04"`
177 
176178- `"anthropic-workspace-id": optional string`
177179 
178180### Returns
from line 367
365367 
366368 - `string`
367369 
368 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
370 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
369371 
370372 - `"message-batches-2024-09-24"`
371373 
from line 459
457459 
458460 - `"mid-conversation-system-clear-at-2026-08-21"`
459461 
462 - `"compact-2026-09-04"`
463 
460464- `"anthropic-workspace-id": optional string`
461465 
462466### Returns
from line 634
630634 
631635 - `string`
632636 
633 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
637 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
634638 
635639 - `"message-batches-2024-09-24"`
636640 
from line 725
721725 - `"thinking-binding-controls-2026-08-01"`
722726 
723727 - `"mid-conversation-system-clear-at-2026-08-21"`
728 
729 - `"compact-2026-09-04"`
724730 
725731- `"anthropic-workspace-id": optional string`
726732 

api/beta/messages Changed · +1957 / -465 lines

### Beta Compaction Config ### Beta Input Transformation ### Beta Summarize Compaction ### Beta Thinking Mismatch Allowed Input Transformation ### Beta Web Fetch URL Source All ### Beta Web Fetch URL Source Except ### Beta Web Fetch URL Source None ### Beta Web Fetch URL Source Only ### Beta Web Fetch URL Source Tool Reference ### Beta Web Fetch URL Sources

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 23
2323 
2424 - `string`
2525 
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2727 
2828 - `"message-batches-2024-09-24"`
2929 
from line 114
114114 - `"thinking-binding-controls-2026-08-01"`
115115 
116116 - `"mid-conversation-system-clear-at-2026-08-21"`
117 
118 - `"compact-2026-09-04"`
117119 
118120- `"anthropic-user-profile-id": optional string`
119121 
from line 1286
12841286 - `encrypted_content: optional string or null`
12851287 
12861288 Opaque metadata from prior compaction, to be round-tripped verbatim
1289 
1290 - `signature: optional string or null`
1291 
1292 The block's signature as returned, to be sent back verbatim
12871293 
12881294 - `BetaRequestToolAdditionBlock object`
12891295 
from line 1530
15241530- `cache_control: optional BetaCacheControlEphemeral or null`
15251531 
15261532 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
1533 
1534- `compaction: optional BetaCompactionConfig or null`
1535 
1536 Compact the whole conversation and return a signed `compaction` block,
1537 alone, that a later request sends back first in `messages`, in place of
1538 the messages it summarizes. There is no trigger and no pause flag: sending
1539 the parameter compacts, and nothing is sampled after the block.
1540 
1541 The summarization prompt is the server's own unless `instructions` are
1542 given, which then replace it for this request; a value that is empty or
1543 only whitespace counts as absent.
1544 
1545 - `type: "summarize"`
1546 
1547 - `instructions: optional string or null`
1548 
1549 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
1550 
1551 maxLength: 16384
15271552 
15281553- `container: optional BetaContainerParams or string or null`
15291554 
from line 3468
34433468 
34443469 When true, guarantees schema validation on tool names and inputs
34453470 
3471 - `url_sources: optional BetaWebFetchURLSources or null`
3472 
3473 Which sources contribute to the set of URLs web fetch may fetch.
3474 
3475 Each key is a tagged variant: `user_input` is `all` or `none`; the
3476 two tool filters are `all`, `none`, `only` (only the named tools'
3477 results) or `except` (every result but the named tools'). A named tool
3478 must be declared in this request's `tools[]`.
3479 
3480 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3481 
3482 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
3483 
3484 - `BetaWebFetchURLSourceAll object`
3485 
3486 The `url_sources` variant under which a source contributes in
3487 full: every result of the tool filter's source, or all user input.
3488 
3489 - `type: "all"`
3490 
3491 - `BetaWebFetchURLSourceNone object`
3492 
3493 The `url_sources` variant under which a source contributes nothing:
3494 no result of the tool filter's source, or no user input.
3495 
3496 - `type: "none"`
3497 
3498 - `BetaWebFetchURLSourceOnly object`
3499 
3500 The tool filter variant under which only the named tools' results
3501 contribute.
3502 
3503 - `type: "only"`
3504 
3505 - `tools: array of BetaWebFetchURLSourceToolReference`
3506 
3507 - `type: "tool_reference"`
3508 
3509 - `name: string`
3510 
3511 - `BetaWebFetchURLSourceExcept object`
3512 
3513 The tool filter variant under which every result but the named
3514 tools' contributes.
3515 
3516 - `type: "except"`
3517 
3518 - `tools: array of BetaWebFetchURLSourceToolReference`
3519 
3520 - `type: "tool_reference"`
3521 
3522 - `name: string`
3523 
3524 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3525 
3526 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
3527 
3528 - `BetaWebFetchURLSourceAll object`
3529 
3530 The `url_sources` variant under which a source contributes in
3531 full: every result of the tool filter's source, or all user input.
3532 
3533 - `BetaWebFetchURLSourceNone object`
3534 
3535 The `url_sources` variant under which a source contributes nothing:
3536 no result of the tool filter's source, or no user input.
3537 
3538 - `BetaWebFetchURLSourceOnly object`
3539 
3540 The tool filter variant under which only the named tools' results
3541 contribute.
3542 
3543 - `BetaWebFetchURLSourceExcept object`
3544 
3545 The tool filter variant under which every result but the named
3546 tools' contributes.
3547 
3548 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
3549 
3550 Whether URLs in user messages are fetchable: "all" or "none".
3551 
3552 - `BetaWebFetchURLSourceAll object`
3553 
3554 The `url_sources` variant under which a source contributes in
3555 full: every result of the tool filter's source, or all user input.
3556 
3557 - `BetaWebFetchURLSourceNone object`
3558 
3559 The `url_sources` variant under which a source contributes nothing:
3560 no result of the tool filter's source, or no user input.
3561 
34463562 - `BetaWebSearchTool20260209 object`
34473563 
34483564 - `type: "web_search_20260209"`
from line 3665
35493665 
35503666 When true, guarantees schema validation on tool names and inputs
35513667 
3668 - `url_sources: optional BetaWebFetchURLSources or null`
3669 
3670 Which sources contribute to the set of URLs web fetch may fetch.
3671 
3672 Each key is a tagged variant: `user_input` is `all` or `none`; the
3673 two tool filters are `all`, `none`, `only` (only the named tools'
3674 results) or `except` (every result but the named tools'). A named tool
3675 must be declared in this request's `tools[]`.
3676 
35523677 - `BetaWebFetchTool20260309 object`
35533678 
35543679 Web fetch tool with use_cache parameter for bypassing cached content.
from line 3732
36073732 
36083733 When true, guarantees schema validation on tool names and inputs
36093734 
3735 - `url_sources: optional BetaWebFetchURLSources or null`
3736 
3737 Which sources contribute to the set of URLs web fetch may fetch.
3738 
3739 Each key is a tagged variant: `user_input` is `all` or `none`; the
3740 two tool filters are `all`, `none`, `only` (only the named tools'
3741 results) or `except` (every result but the named tools'). A named tool
3742 must be declared in this request's `tools[]`.
3743 
36103744 - `use_cache: optional boolean`
36113745 
36123746 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 3866
37323866 - `strict: optional boolean`
37333867 
37343868 When true, guarantees schema validation on tool names and inputs
3869 
3870 - `url_sources: optional BetaWebFetchURLSources or null`
3871 
3872 Which sources contribute to the set of URLs web fetch may fetch.
3873 
3874 Each key is a tagged variant: `user_input` is `all` or `none`; the
3875 two tool filters are `all`, `none`, `only` (only the named tools'
3876 results) or `except` (every result but the named tools'). A named tool
3877 must be declared in this request's `tools[]`.
37353878 
37363879 - `use_cache: optional boolean`
37373880 
from line 4985
48424985 - `encrypted_content: string or null`
48434986 
48444987 Opaque metadata from prior compaction, to be round-tripped verbatim
4988 
4989 - `signature: optional string or null`
4990 
4991 Signature over the summary, to be sent back with the block verbatim
48454992 
48464993 - `BetaFallbackBlock object`
48474994 
from line 5753
56065753 
56075754 - `"fast"`
56085755 
5609 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
5610 
5611 Changes the API made to the request's input before showing it to the model:
5612 one entry per change, in request order. Today the only entry type is
5613 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
5614 block from the request's `messages` that was removed from the prompt instead
5615 of being shown to the model because it failed a binding check. More entry
5616 types may be added over time; ignore types you do not recognize.
5756 - `input_transformations: optional array of BetaInputTransformation or null`
5757 
5758 Changes the API made to the request's input before showing it to the model,
5759 and blocks that failed a binding check but were left unchanged: one entry per
5760 block, in request order. Two entry types today. `thinking_dropped` — a
5761 `thinking`, `redacted_thinking` or `connector_text` block from the request's
5762 `messages` that was removed from the prompt instead of being shown to the
5763 model because it failed a binding check. `thinking_mismatch_allowed` — a
5764 `thinking` or `redacted_thinking` block that failed the conversation check
5765 (the conversation before it differs from the one it was created in, or it
5766 carries no record of one on a model that requires it) and was shown to the
5767 model all the same, because that check is not enforced for this request.
5768 More entry types may be added over time; ignore types you do not recognize.
56175769 
56185770 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
56195771 every such response from a model that supports extended thinking, as `[]`
5620 when nothing was changed; without the beta, blocks are removed all the same
5621 but nothing is reported. Removed blocks contribute nothing to
5622 `usage.input_tokens`. When streaming, the array is final in `message_start`;
5623 the final `message_delta` event carries it only when a server-side model
5624 fallback happened mid-stream, in which case it holds the serving model's
5625 entries and replaces the one in `message_start`.
5626 
5627 - `type: "thinking_dropped"`
5628 
5629 Always `thinking_dropped` for this entry type.
5630 
5631 default: thinking_dropped
5632 
5633 - `path: string`
5634 
5635 Where the removed block was in your request, as `messages.{i}.content.{j}`:
5636 `i` indexes the `messages` array you sent and `j` that message's `content`
5637 array — the same form error messages use.
5638 
5639 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
5640 
5641 Which binding check removed the block: `model_binding_mismatch` — it was
5642 created by a model whose reasoning the requested model may not read;
5643 `prefix_binding_mismatch` — the conversation before it differs from the
5644 conversation it was created in (the rest of that turn's consecutive thinking
5645 blocks are removed with it, each with this reason);
5646 `organization_binding_mismatch` — it was created under a different
5647 organization (an Anthropic organization, AWS account or Google Cloud project)
5648 and this organization is not one of its additional organizations;
5649 `end_user_binding_mismatch` — it was created for a different end user, or
5650 was removed by the consumer-organization binding. A block that would fail
5651 several checks reports one reason, in this order of precedence:
5652 `organization_binding_mismatch`, `end_user_binding_mismatch`,
5653 `model_binding_mismatch`, `prefix_binding_mismatch`.
5654 
5655 - `"model_binding_mismatch"`
5656 
5657 - `"prefix_binding_mismatch"`
5658 
5659 - `"organization_binding_mismatch"`
5660 
5661 - `"end_user_binding_mismatch"`
5662 
5663- `BetaRawMessageStreamEvent = BetaRawMessageStartEvent or BetaRawMessageDeltaEvent or BetaRawMessageStopEvent or 3 more`
5664 
5665 - `BetaRawMessageStartEvent object`
5666 
5667 - `type: "message_start"`
5668 
5669 default: message_start
5670 
5671 - `message: BetaMessage`
5672 
5673 - `BetaRawMessageDeltaEvent object`
5674 
5675 - `type: "message_delta"`
5676 
5677 default: message_delta
5678 
5679 - `context_management: BetaContextManagementResponse or null`
5680 
5681 Information about context management strategies applied during the request
5682 
5683 - `delta: object`
5684 
5685 - `container: BetaContainer or null`
5686 
5687 Information about the container used in the request (for the code execution tool)
5688 
5689 - `stop_details: BetaRefusalStopDetails or null`
5690 
5691 Structured information about a refusal.
5692 
5693 - `stop_reason: BetaStopReason or null`
5694 
5695 - `stop_sequence: string or null`
5696 
5697 - `usage: BetaMessageDeltaUsage`
5698 
5699 Billing and rate-limit usage.
5700 
5701 Anthropic's API bills and rate-limits by token counts, as tokens represent the underlying cost to our systems.
5702 
5703 Under the hood, the API transforms requests into a format suitable for the model. The model's output then goes through a parsing stage before becoming an API response. As a result, the token counts in `usage` will not match one-to-one with the exact visible content of an API request or response.
5704 
5705 For example, `output_tokens` will be non-zero, even for an empty string response from Claude.
5706 
5707 Total input tokens in a request is the summation of `input_tokens`, `cache_creation_input_tokens`, and `cache_read_input_tokens`.
5708 
5709 - `cache_creation_input_tokens: number or null`
5710 
5711 The cumulative number of input tokens used to create the cache entry.
5712 
5713 minimum: 0
5714 
5715 - `cache_read_input_tokens: number or null`
5716 
5717 The cumulative number of input tokens read from the cache.
5718 
5719 minimum: 0
5720 
5721 - `fallback_credit: BetaFallbackCreditUsage or null`
5722 
5723 Outcome of the `fallback_credit_token` presented on this request.
5724 
5725 - `input_tokens: number or null`
5726 
5727 The cumulative number of input tokens which were used.
5728 
5729 minimum: 0
5730 
5731 - `iterations: BetaIterationsUsage or null`
5732 
5733 Per-iteration token usage breakdown.
5734 
5735 Each entry represents one sampling iteration, with its own input/output token counts and cache statistics, discriminated by `type`. For `message` entries (model sampling iterations, such as the turns of a server-side tool use loop), this allows you to:
5736 
5737 - Determine which iterations exceeded long context thresholds (>=200k tokens)
5738 - Calculate the context window size from the last `message` entry
5739 - Understand token accumulation across server-side tool use loops
5740 
5741 A `compaction` entry reports the token usage of the compaction operation itself — the server-side request that summarizes the context being closed — NOT the size of the context that was compacted away, and its token counts can be much smaller than that closed context (for example, a compaction that closes a ~200k-token context can report only a few thousand tokens). Do not derive the context window size from a `compaction` entry, even when it is the last entry. A `compaction` entry's tokens are not included in the top-level `usage` fields. When an input-token trigger is in effect (the default — 150,000 tokens unless configured otherwise), each `compaction` entry closes a context that had reached at least that threshold, though the context can exceed it by the final iteration's output and tool results.
5742 
5743 - `output_tokens: number`
5744 
5745 The cumulative number of output tokens which were used.
5746 
5747 - `output_tokens_details: BetaOutputTokensDetails or null`
5748 
5749 Breakdown of output tokens by category.
5750 
5751 `output_tokens` remains the inclusive, authoritative total used for billing.
5752 This object provides a read-only decomposition for observability — for example,
5753 how many of the billed output tokens were spent on internal reasoning that may
5754 have been summarized before being returned to you.
5755 
5756 - `server_tool_use: BetaServerToolUsage or null`
5757 
5758 The number of server tool requests.
5759 
5760 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
5761 
5762 Changes the API made to the request's input before showing it to the model:
5763 one entry per change, in request order. Today the only entry type is
5764 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
5765 block from the request's `messages` that was removed from the prompt instead
5766 of being shown to the model because it failed a binding check. More entry
5767 types may be added over time; ignore types you do not recognize.
5768 
5769 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
5770 every such response from a model that supports extended thinking, as `[]`
5771 when nothing was changed; without the beta, blocks are removed all the same
5772 but nothing is reported. Removed blocks contribute nothing to
5773 `usage.input_tokens`. When streaming, the array is final in `message_start`;
5774 the final `message_delta` event carries it only when a server-side model
5775 fallback happened mid-stream, in which case it holds the serving model's
5776 entries and replaces the one in `message_start`.
5772 when there is no entry to report; without the beta, blocks are removed or
5773 left in place all the same but nothing is reported. Removed blocks contribute
5774 nothing to `usage.input_tokens`; blocks left in place count as sent. When
5775 streaming, the array is final in `message_start`; the final `message_delta`
5776 event carries it only when a server-side model fallback happened mid-stream,
5777 in which case it holds the serving model's entries and replaces the one in
5778 `message_start`.
5779 
5780 - `BetaThinkingDroppedInputTransformation object`
57775781 
57785782 - `type: "thinking_dropped"`
57795783 
from line 5806
58025806 several checks reports one reason, in this order of precedence:
58035807 `organization_binding_mismatch`, `end_user_binding_mismatch`,
58045808 `model_binding_mismatch`, `prefix_binding_mismatch`.
5809 
5810 - `"model_binding_mismatch"`
5811 
5812 - `"prefix_binding_mismatch"`
5813 
5814 - `"organization_binding_mismatch"`
5815 
5816 - `"end_user_binding_mismatch"`
5817 
5818 - `BetaThinkingMismatchAllowedInputTransformation object`
5819 
5820 - `type: "thinking_mismatch_allowed"`
5821 
5822 Always `thinking_mismatch_allowed` for this entry type.
5823 
5824 default: thinking_mismatch_allowed
5825 
5826 - `path: string`
5827 
5828 Where the block is in your request, as `messages.{i}.content.{j}`:
5829 `i` indexes the `messages` array you sent and `j` that message's `content`
5830 array — the same form error messages use.
5831 
5832 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
5833 
5834 Which binding check the block failed; the block was shown to the model all
5835 the same. Always `prefix_binding_mismatch` today — the conversation before
5836 the block differs from the conversation it was created in, or the block
5837 carries no record of one on a model that requires it. Were the check
5838 enforced for this request, the block would have been removed or the request
5839 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
5840 takes the rest of that turn's consecutive thinking blocks, whereas here each
5841 block is checked on its own, so `thinking_mismatch_allowed` entries are a
5842 lower bound on what enforcement would remove.
5843 
5844 - `"model_binding_mismatch"`
5845 
5846 - `"prefix_binding_mismatch"`
5847 
5848 - `"organization_binding_mismatch"`
5849 
5850 - `"end_user_binding_mismatch"`
5851 
5852- `BetaRawMessageStreamEvent = BetaRawMessageStartEvent or BetaRawMessageDeltaEvent or BetaRawMessageStopEvent or 3 more`
5853 
5854 - `BetaRawMessageStartEvent object`
5855 
5856 - `type: "message_start"`
5857 
5858 default: message_start
5859 
5860 - `message: BetaMessage`
5861 
5862 - `BetaRawMessageDeltaEvent object`
5863 
5864 - `type: "message_delta"`
5865 
5866 default: message_delta
5867 
5868 - `context_management: BetaContextManagementResponse or null`
5869 
5870 Information about context management strategies applied during the request
5871 
5872 - `delta: object`
5873 
5874 - `container: BetaContainer or null`
5875 
5876 Information about the container used in the request (for the code execution tool)
5877 
5878 - `stop_details: BetaRefusalStopDetails or null`
5879 
5880 Structured information about a refusal.
5881 
5882 - `stop_reason: BetaStopReason or null`
5883 
5884 - `stop_sequence: string or null`
5885 
5886 - `usage: BetaMessageDeltaUsage`
5887 
5888 Billing and rate-limit usage.
5889 
5890 Anthropic's API bills and rate-limits by token counts, as tokens represent the underlying cost to our systems.
5891 
5892 Under the hood, the API transforms requests into a format suitable for the model. The model's output then goes through a parsing stage before becoming an API response. As a result, the token counts in `usage` will not match one-to-one with the exact visible content of an API request or response.
5893 
5894 For example, `output_tokens` will be non-zero, even for an empty string response from Claude.
5895 
5896 Total input tokens in a request is the summation of `input_tokens`, `cache_creation_input_tokens`, and `cache_read_input_tokens`.
5897 
5898 - `cache_creation_input_tokens: number or null`
5899 
5900 The cumulative number of input tokens used to create the cache entry.
5901 
5902 minimum: 0
5903 
5904 - `cache_read_input_tokens: number or null`
5905 
5906 The cumulative number of input tokens read from the cache.
5907 
5908 minimum: 0
5909 
5910 - `fallback_credit: BetaFallbackCreditUsage or null`
5911 
5912 Outcome of the `fallback_credit_token` presented on this request.
5913 
5914 - `input_tokens: number or null`
5915 
5916 The cumulative number of input tokens which were used.
5917 
5918 minimum: 0
5919 
5920 - `iterations: BetaIterationsUsage or null`
5921 
5922 Per-iteration token usage breakdown.
5923 
5924 Each entry represents one sampling iteration, with its own input/output token counts and cache statistics, discriminated by `type`. For `message` entries (model sampling iterations, such as the turns of a server-side tool use loop), this allows you to:
5925 
5926 - Determine which iterations exceeded long context thresholds (>=200k tokens)
5927 - Calculate the context window size from the last `message` entry
5928 - Understand token accumulation across server-side tool use loops
5929 
5930 A `compaction` entry reports the token usage of the compaction operation itself — the server-side request that summarizes the context being closed — NOT the size of the context that was compacted away, and its token counts can be much smaller than that closed context (for example, a compaction that closes a ~200k-token context can report only a few thousand tokens). Do not derive the context window size from a `compaction` entry, even when it is the last entry. A `compaction` entry's tokens are not included in the top-level `usage` fields. When an input-token trigger is in effect (the default — 150,000 tokens unless configured otherwise), each `compaction` entry closes a context that had reached at least that threshold, though the context can exceed it by the final iteration's output and tool results.
5931 
5932 - `output_tokens: number`
5933 
5934 The cumulative number of output tokens which were used.
5935 
5936 - `output_tokens_details: BetaOutputTokensDetails or null`
5937 
5938 Breakdown of output tokens by category.
5939 
5940 `output_tokens` remains the inclusive, authoritative total used for billing.
5941 This object provides a read-only decomposition for observability — for example,
5942 how many of the billed output tokens were spent on internal reasoning that may
5943 have been summarized before being returned to you.
5944 
5945 - `server_tool_use: BetaServerToolUsage or null`
5946 
5947 The number of server tool requests.
5948 
5949 - `input_transformations: optional array of BetaInputTransformation or null`
5950 
5951 Changes the API made to the request's input before showing it to the model,
5952 and blocks that failed a binding check but were left unchanged: one entry per
5953 block, in request order. Two entry types today. `thinking_dropped` — a
5954 `thinking`, `redacted_thinking` or `connector_text` block from the request's
5955 `messages` that was removed from the prompt instead of being shown to the
5956 model because it failed a binding check. `thinking_mismatch_allowed` — a
5957 `thinking` or `redacted_thinking` block that failed the conversation check
5958 (the conversation before it differs from the one it was created in, or it
5959 carries no record of one on a model that requires it) and was shown to the
5960 model all the same, because that check is not enforced for this request.
5961 More entry types may be added over time; ignore types you do not recognize.
5962 
5963 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
5964 every such response from a model that supports extended thinking, as `[]`
5965 when there is no entry to report; without the beta, blocks are removed or
5966 left in place all the same but nothing is reported. Removed blocks contribute
5967 nothing to `usage.input_tokens`; blocks left in place count as sent. When
5968 streaming, the array is final in `message_start`; the final `message_delta`
5969 event carries it only when a server-side model fallback happened mid-stream,
5970 in which case it holds the serving model's entries and replaces the one in
5971 `message_start`.
5972 
5973 - `BetaThinkingDroppedInputTransformation object`
5974 
5975 - `BetaThinkingMismatchAllowedInputTransformation object`
58055976 
58065977 - `BetaRawMessageStopEvent object`
58075978 
from line 6308
61376308 
61386309 - `string`
61396310 
6140 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
6311 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
61416312 
61426313 - `"message-batches-2024-09-24"`
61436314 
from line 6399
62286399 - `"thinking-binding-controls-2026-08-01"`
62296400 
62306401 - `"mid-conversation-system-clear-at-2026-08-21"`
6402 
6403 - `"compact-2026-09-04"`
62316404 
62326405- `"anthropic-user-profile-id": optional string`
62336406 
from line 7559
73867559 - `encrypted_content: optional string or null`
73877560 
73887561 Opaque metadata from prior compaction, to be round-tripped verbatim
7562 
7563 - `signature: optional string or null`
7564 
7565 The block's signature as returned, to be sent back verbatim
73897566 
73907567 - `BetaRequestToolAdditionBlock object`
73917568 
from line 7803
76267803- `cache_control: optional BetaCacheControlEphemeral or null`
76277804 
76287805 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
7806 
7807- `compaction: optional BetaCompactionConfig or null`
7808 
7809 Compact the whole conversation and return a signed `compaction` block,
7810 alone, that a later request sends back first in `messages`, in place of
7811 the messages it summarizes. There is no trigger and no pause flag: sending
7812 the parameter compacts, and nothing is sampled after the block.
7813 
7814 The summarization prompt is the server's own unless `instructions` are
7815 given, which then replace it for this request; a value that is empty or
7816 only whitespace counts as absent.
7817 
7818 - `type: "summarize"`
7819 
7820 - `instructions: optional string or null`
7821 
7822 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
7823 
7824 maxLength: 16384
76297825 
76307826- `context_management: optional BetaContextManagementConfig or null`
76317827 
from line 9567
93719567 
93729568 When true, guarantees schema validation on tool names and inputs
93739569 
9570 - `url_sources: optional BetaWebFetchURLSources or null`
9571 
9572 Which sources contribute to the set of URLs web fetch may fetch.
9573 
9574 Each key is a tagged variant: `user_input` is `all` or `none`; the
9575 two tool filters are `all`, `none`, `only` (only the named tools'
9576 results) or `except` (every result but the named tools'). A named tool
9577 must be declared in this request's `tools[]`.
9578 
9579 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
9580 
9581 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
9582 
9583 - `BetaWebFetchURLSourceAll object`
9584 
9585 The `url_sources` variant under which a source contributes in
9586 full: every result of the tool filter's source, or all user input.
9587 
9588 - `type: "all"`
9589 
9590 - `BetaWebFetchURLSourceNone object`
9591 
9592 The `url_sources` variant under which a source contributes nothing:
9593 no result of the tool filter's source, or no user input.
9594 
9595 - `type: "none"`
9596 
9597 - `BetaWebFetchURLSourceOnly object`
9598 
9599 The tool filter variant under which only the named tools' results
9600 contribute.
9601 
9602 - `type: "only"`
9603 
9604 - `tools: array of BetaWebFetchURLSourceToolReference`
9605 
9606 - `type: "tool_reference"`
9607 
9608 - `name: string`
9609 
9610 - `BetaWebFetchURLSourceExcept object`
9611 
9612 The tool filter variant under which every result but the named
9613 tools' contributes.
9614 
9615 - `type: "except"`
9616 
9617 - `tools: array of BetaWebFetchURLSourceToolReference`
9618 
9619 - `type: "tool_reference"`
9620 
9621 - `name: string`
9622 
9623 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
9624 
9625 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
9626 
9627 - `BetaWebFetchURLSourceAll object`
9628 
9629 The `url_sources` variant under which a source contributes in
9630 full: every result of the tool filter's source, or all user input.
9631 
9632 - `BetaWebFetchURLSourceNone object`
9633 
9634 The `url_sources` variant under which a source contributes nothing:
9635 no result of the tool filter's source, or no user input.
9636 
9637 - `BetaWebFetchURLSourceOnly object`
9638 
9639 The tool filter variant under which only the named tools' results
9640 contribute.
9641 
9642 - `BetaWebFetchURLSourceExcept object`
9643 
9644 The tool filter variant under which every result but the named
9645 tools' contributes.
9646 
9647 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
9648 
9649 Whether URLs in user messages are fetchable: "all" or "none".
9650 
9651 - `BetaWebFetchURLSourceAll object`
9652 
9653 The `url_sources` variant under which a source contributes in
9654 full: every result of the tool filter's source, or all user input.
9655 
9656 - `BetaWebFetchURLSourceNone object`
9657 
9658 The `url_sources` variant under which a source contributes nothing:
9659 no result of the tool filter's source, or no user input.
9660 
93749661 - `BetaWebSearchTool20260209 object`
93759662 
93769663 - `type: "web_search_20260209"`
from line 9764
94779764 
94789765 When true, guarantees schema validation on tool names and inputs
94799766 
9767 - `url_sources: optional BetaWebFetchURLSources or null`
9768 
9769 Which sources contribute to the set of URLs web fetch may fetch.
9770 
9771 Each key is a tagged variant: `user_input` is `all` or `none`; the
9772 two tool filters are `all`, `none`, `only` (only the named tools'
9773 results) or `except` (every result but the named tools'). A named tool
9774 must be declared in this request's `tools[]`.
9775 
94809776 - `BetaWebFetchTool20260309 object`
94819777 
94829778 Web fetch tool with use_cache parameter for bypassing cached content.
from line 9831
95359831 
95369832 When true, guarantees schema validation on tool names and inputs
95379833 
9834 - `url_sources: optional BetaWebFetchURLSources or null`
9835 
9836 Which sources contribute to the set of URLs web fetch may fetch.
9837 
9838 Each key is a tagged variant: `user_input` is `all` or `none`; the
9839 two tool filters are `all`, `none`, `only` (only the named tools'
9840 results) or `except` (every result but the named tools'). A named tool
9841 must be declared in this request's `tools[]`.
9842 
95389843 - `use_cache: optional boolean`
95399844 
95409845 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 9965
96609965 - `strict: optional boolean`
96619966 
96629967 When true, guarantees schema validation on tool names and inputs
9968 
9969 - `url_sources: optional BetaWebFetchURLSources or null`
9970 
9971 Which sources contribute to the set of URLs web fetch may fetch.
9972 
9973 Each key is a tagged variant: `user_input` is `all` or `none`; the
9974 two tool filters are `all`, `none`, `only` (only the named tools'
9975 results) or `except` (every result but the named tools'). A named tool
9976 must be declared in this request's `tools[]`.
96639977 
96649978 - `use_cache: optional boolean`
96659979 
from line 13883
1356913883 
1357013884 Opaque metadata from prior compaction, to be round-tripped verbatim
1357113885 
13886 - `signature: optional string or null`
13887 
13888 Signature over the summary, to be sent back with the block verbatim
13889 
1357213890### Beta Compaction Block Param
1357313891 
1357413892- `BetaCompactionBlockParam object`
from line 13929
1361113929 - `encrypted_content: optional string or null`
1361213930 
1361313931 Opaque metadata from prior compaction, to be round-tripped verbatim
13932 
13933 - `signature: optional string or null`
13934 
13935 The block's signature as returned, to be sent back verbatim
13936 
13937### Beta Compaction Config
13938 
13939- `BetaCompactionConfig object`
13940 
13941 Compact the whole conversation and return a signed `compaction` block,
13942 alone, that a later request sends back first in `messages`, in place of
13943 the messages it summarizes. There is no trigger and no pause flag: sending
13944 the parameter compacts, and nothing is sampled after the block.
13945 
13946 The summarization prompt is the server's own unless `instructions` are
13947 given, which then replace it for this request; a value that is empty or
13948 only whitespace counts as absent.
13949 
13950 - `type: "summarize"`
13951 
13952 - `instructions: optional string or null`
13953 
13954 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
13955 
13956 maxLength: 16384
1361413957 
1361513958### Beta Compaction Content Block Delta
1361613959 
from line 15689
1534615689 
1534715690 Opaque metadata from prior compaction, to be round-tripped verbatim
1534815691 
15692 - `signature: optional string or null`
15693 
15694 Signature over the summary, to be sent back with the block verbatim
15695 
1534915696 - `BetaFallbackBlock object`
1535015697 
1535115698 Marks the point in `content` where one model's output gives way to the next.
from line 16929
1658216929 - `encrypted_content: optional string or null`
1658316930 
1658416931 Opaque metadata from prior compaction, to be round-tripped verbatim
16932 
16933 - `signature: optional string or null`
16934 
16935 The block's signature as returned, to be sent back verbatim
1658516936 
1658616937 - `BetaRequestToolAdditionBlock object`
1658716938 
from line 19212
1886119212 
1886219213 minimum: 1
1886319214 
19215### Beta Input Transformation
19216 
19217- `BetaInputTransformation = BetaThinkingDroppedInputTransformation or BetaThinkingMismatchAllowedInputTransformation`
19218 
19219 One entry of `input_transformations`: either a change the API made to the
19220 request's input before showing it to the model, or a block that failed a
19221 binding check and was still shown to the model unchanged. The `type` field
19222 says which.
19223 
19224 - `BetaThinkingDroppedInputTransformation object`
19225 
19226 - `type: "thinking_dropped"`
19227 
19228 Always `thinking_dropped` for this entry type.
19229 
19230 default: thinking_dropped
19231 
19232 - `path: string`
19233 
19234 Where the removed block was in your request, as `messages.{i}.content.{j}`:
19235 `i` indexes the `messages` array you sent and `j` that message's `content`
19236 array — the same form error messages use.
19237 
19238 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
19239 
19240 Which binding check removed the block: `model_binding_mismatch` — it was
19241 created by a model whose reasoning the requested model may not read;
19242 `prefix_binding_mismatch` — the conversation before it differs from the
19243 conversation it was created in (the rest of that turn's consecutive thinking
19244 blocks are removed with it, each with this reason);
19245 `organization_binding_mismatch` — it was created under a different
19246 organization (an Anthropic organization, AWS account or Google Cloud project)
19247 and this organization is not one of its additional organizations;
19248 `end_user_binding_mismatch` — it was created for a different end user, or
19249 was removed by the consumer-organization binding. A block that would fail
19250 several checks reports one reason, in this order of precedence:
19251 `organization_binding_mismatch`, `end_user_binding_mismatch`,
19252 `model_binding_mismatch`, `prefix_binding_mismatch`.
19253 
19254 - `"model_binding_mismatch"`
19255 
19256 - `"prefix_binding_mismatch"`
19257 
19258 - `"organization_binding_mismatch"`
19259 
19260 - `"end_user_binding_mismatch"`
19261 
19262 - `BetaThinkingMismatchAllowedInputTransformation object`
19263 
19264 - `type: "thinking_mismatch_allowed"`
19265 
19266 Always `thinking_mismatch_allowed` for this entry type.
19267 
19268 default: thinking_mismatch_allowed
19269 
19270 - `path: string`
19271 
19272 Where the block is in your request, as `messages.{i}.content.{j}`:
19273 `i` indexes the `messages` array you sent and `j` that message's `content`
19274 array — the same form error messages use.
19275 
19276 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
19277 
19278 Which binding check the block failed; the block was shown to the model all
19279 the same. Always `prefix_binding_mismatch` today — the conversation before
19280 the block differs from the conversation it was created in, or the block
19281 carries no record of one on a model that requires it. Were the check
19282 enforced for this request, the block would have been removed or the request
19283 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
19284 takes the rest of that turn's consecutive thinking blocks, whereas here each
19285 block is checked on its own, so `thinking_mismatch_allowed` entries are a
19286 lower bound on what enforcement would remove.
19287 
19288 - `"model_binding_mismatch"`
19289 
19290 - `"prefix_binding_mismatch"`
19291 
19292 - `"organization_binding_mismatch"`
19293 
19294 - `"end_user_binding_mismatch"`
19295 
1886419296### Beta Iterations Usage
1886519297 
1886619298- `BetaIterationsUsage = array of BetaMessageIterationUsage or BetaCompactionIterationUsage or BetaAdvisorMessageIterationUsage or BetaFallbackMessageIterationUsage`
from line 21058
2062621058 - `encrypted_content: string or null`
2062721059 
2062821060 Opaque metadata from prior compaction, to be round-tripped verbatim
21061 
21062 - `signature: optional string or null`
21063 
21064 Signature over the summary, to be sent back with the block verbatim
2062921065 
2063021066 - `BetaFallbackBlock object`
2063121067 
from line 21826
2139021826 
2139121827 - `"fast"`
2139221828 
21393 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
21394 
21395 Changes the API made to the request's input before showing it to the model:
21396 one entry per change, in request order. Today the only entry type is
21397 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
21398 block from the request's `messages` that was removed from the prompt instead
21399 of being shown to the model because it failed a binding check. More entry
21400 types may be added over time; ignore types you do not recognize.
21829 - `input_transformations: optional array of BetaInputTransformation or null`
21830 
21831 Changes the API made to the request's input before showing it to the model,
21832 and blocks that failed a binding check but were left unchanged: one entry per
21833 block, in request order. Two entry types today. `thinking_dropped` — a
21834 `thinking`, `redacted_thinking` or `connector_text` block from the request's
21835 `messages` that was removed from the prompt instead of being shown to the
21836 model because it failed a binding check. `thinking_mismatch_allowed` — a
21837 `thinking` or `redacted_thinking` block that failed the conversation check
21838 (the conversation before it differs from the one it was created in, or it
21839 carries no record of one on a model that requires it) and was shown to the
21840 model all the same, because that check is not enforced for this request.
21841 More entry types may be added over time; ignore types you do not recognize.
2140121842 
2140221843 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
2140321844 every such response from a model that supports extended thinking, as `[]`
21404 when nothing was changed; without the beta, blocks are removed all the same
21405 but nothing is reported. Removed blocks contribute nothing to
21406 `usage.input_tokens`. When streaming, the array is final in `message_start`;
21407 the final `message_delta` event carries it only when a server-side model
21408 fallback happened mid-stream, in which case it holds the serving model's
21409 entries and replaces the one in `message_start`.
21410 
21411 - `type: "thinking_dropped"`
21412 
21413 Always `thinking_dropped` for this entry type.
21414 
21415 default: thinking_dropped
21416 
21417 - `path: string`
21418 
21419 Where the removed block was in your request, as `messages.{i}.content.{j}`:
21420 `i` indexes the `messages` array you sent and `j` that message's `content`
21421 array — the same form error messages use.
21422 
21423 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
21424 
21425 Which binding check removed the block: `model_binding_mismatch` — it was
21426 created by a model whose reasoning the requested model may not read;
21427 `prefix_binding_mismatch` — the conversation before it differs from the
21428 conversation it was created in (the rest of that turn's consecutive thinking
21429 blocks are removed with it, each with this reason);
21430 `organization_binding_mismatch` — it was created under a different
21431 organization (an Anthropic organization, AWS account or Google Cloud project)
21432 and this organization is not one of its additional organizations;
21433 `end_user_binding_mismatch` — it was created for a different end user, or
21434 was removed by the consumer-organization binding. A block that would fail
21435 several checks reports one reason, in this order of precedence:
21436 `organization_binding_mismatch`, `end_user_binding_mismatch`,
21437 `model_binding_mismatch`, `prefix_binding_mismatch`.
21438 
21439 - `"model_binding_mismatch"`
21440 
21441 - `"prefix_binding_mismatch"`
21442 
21443 - `"organization_binding_mismatch"`
21444 
21445 - `"end_user_binding_mismatch"`
21845 when there is no entry to report; without the beta, blocks are removed or
21846 left in place all the same but nothing is reported. Removed blocks contribute
21847 nothing to `usage.input_tokens`; blocks left in place count as sent. When
21848 streaming, the array is final in `message_start`; the final `message_delta`
21849 event carries it only when a server-side model fallback happened mid-stream,
21850 in which case it holds the serving model's entries and replaces the one in
21851 `message_start`.
21852 
21853 - `BetaThinkingDroppedInputTransformation object`
21854 
21855 - `type: "thinking_dropped"`
21856 
21857 Always `thinking_dropped` for this entry type.
21858 
21859 default: thinking_dropped
21860 
21861 - `path: string`
21862 
21863 Where the removed block was in your request, as `messages.{i}.content.{j}`:
21864 `i` indexes the `messages` array you sent and `j` that message's `content`
21865 array — the same form error messages use.
21866 
21867 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
21868 
21869 Which binding check removed the block: `model_binding_mismatch` — it was
21870 created by a model whose reasoning the requested model may not read;
21871 `prefix_binding_mismatch` — the conversation before it differs from the
21872 conversation it was created in (the rest of that turn's consecutive thinking
21873 blocks are removed with it, each with this reason);
21874 `organization_binding_mismatch` — it was created under a different
21875 organization (an Anthropic organization, AWS account or Google Cloud project)
21876 and this organization is not one of its additional organizations;
21877 `end_user_binding_mismatch` — it was created for a different end user, or
21878 was removed by the consumer-organization binding. A block that would fail
21879 several checks reports one reason, in this order of precedence:
21880 `organization_binding_mismatch`, `end_user_binding_mismatch`,
21881 `model_binding_mismatch`, `prefix_binding_mismatch`.
21882 
21883 - `"model_binding_mismatch"`
21884 
21885 - `"prefix_binding_mismatch"`
21886 
21887 - `"organization_binding_mismatch"`
21888 
21889 - `"end_user_binding_mismatch"`
21890 
21891 - `BetaThinkingMismatchAllowedInputTransformation object`
21892 
21893 - `type: "thinking_mismatch_allowed"`
21894 
21895 Always `thinking_mismatch_allowed` for this entry type.
21896 
21897 default: thinking_mismatch_allowed
21898 
21899 - `path: string`
21900 
21901 Where the block is in your request, as `messages.{i}.content.{j}`:
21902 `i` indexes the `messages` array you sent and `j` that message's `content`
21903 array — the same form error messages use.
21904 
21905 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
21906 
21907 Which binding check the block failed; the block was shown to the model all
21908 the same. Always `prefix_binding_mismatch` today — the conversation before
21909 the block differs from the conversation it was created in, or the block
21910 carries no record of one on a model that requires it. Were the check
21911 enforced for this request, the block would have been removed or the request
21912 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
21913 takes the rest of that turn's consecutive thinking blocks, whereas here each
21914 block is checked on its own, so `thinking_mismatch_allowed` entries are a
21915 lower bound on what enforcement would remove.
21916 
21917 - `"model_binding_mismatch"`
21918 
21919 - `"prefix_binding_mismatch"`
21920 
21921 - `"organization_binding_mismatch"`
21922 
21923 - `"end_user_binding_mismatch"`
2144621924 
2144721925### Beta Message Delta Usage
2144821926 
from line 23571
2309323571 - `encrypted_content: optional string or null`
2309423572 
2309523573 Opaque metadata from prior compaction, to be round-tripped verbatim
23574 
23575 - `signature: optional string or null`
23576 
23577 The block's signature as returned, to be sent back verbatim
2309623578 
2309723579 - `BetaRequestToolAdditionBlock object`
2309823580 
from line 25126
2464425126 - `encrypted_content: string or null`
2464525127 
2464625128 Opaque metadata from prior compaction, to be round-tripped verbatim
25129 
25130 - `signature: optional string or null`
25131 
25132 Signature over the summary, to be sent back with the block verbatim
2464725133 
2464825134 - `BetaFallbackBlock object`
2464925135 
from line 25907
2542125907 
2542225908 default: 0, minimum: 0
2542325909 
25424 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
25425 
25426 Changes the API made to the request's input before showing it to the model:
25427 one entry per change, in request order. Today the only entry type is
25428 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
25429 block from the request's `messages` that was removed from the prompt instead
25430 of being shown to the model because it failed a binding check. More entry
25431 types may be added over time; ignore types you do not recognize.
25910 - `input_transformations: optional array of BetaInputTransformation or null`
25911 
25912 Changes the API made to the request's input before showing it to the model,
25913 and blocks that failed a binding check but were left unchanged: one entry per
25914 block, in request order. Two entry types today. `thinking_dropped` — a
25915 `thinking`, `redacted_thinking` or `connector_text` block from the request's
25916 `messages` that was removed from the prompt instead of being shown to the
25917 model because it failed a binding check. `thinking_mismatch_allowed` — a
25918 `thinking` or `redacted_thinking` block that failed the conversation check
25919 (the conversation before it differs from the one it was created in, or it
25920 carries no record of one on a model that requires it) and was shown to the
25921 model all the same, because that check is not enforced for this request.
25922 More entry types may be added over time; ignore types you do not recognize.
2543225923 
2543325924 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
2543425925 every such response from a model that supports extended thinking, as `[]`
25435 when nothing was changed; without the beta, blocks are removed all the same
25436 but nothing is reported. Removed blocks contribute nothing to
25437 `usage.input_tokens`. When streaming, the array is final in `message_start`;
25438 the final `message_delta` event carries it only when a server-side model
25439 fallback happened mid-stream, in which case it holds the serving model's
25440 entries and replaces the one in `message_start`.
25441 
25442 - `type: "thinking_dropped"`
25443 
25444 Always `thinking_dropped` for this entry type.
25445 
25446 default: thinking_dropped
25447 
25448 - `path: string`
25449 
25450 Where the removed block was in your request, as `messages.{i}.content.{j}`:
25451 `i` indexes the `messages` array you sent and `j` that message's `content`
25452 array — the same form error messages use.
25453 
25454 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
25455 
25456 Which binding check removed the block: `model_binding_mismatch` — it was
25457 created by a model whose reasoning the requested model may not read;
25458 `prefix_binding_mismatch` — the conversation before it differs from the
25459 conversation it was created in (the rest of that turn's consecutive thinking
25460 blocks are removed with it, each with this reason);
25461 `organization_binding_mismatch` — it was created under a different
25462 organization (an Anthropic organization, AWS account or Google Cloud project)
25463 and this organization is not one of its additional organizations;
25464 `end_user_binding_mismatch` — it was created for a different end user, or
25465 was removed by the consumer-organization binding. A block that would fail
25466 several checks reports one reason, in this order of precedence:
25467 `organization_binding_mismatch`, `end_user_binding_mismatch`,
25468 `model_binding_mismatch`, `prefix_binding_mismatch`.
25469 
25470 - `"model_binding_mismatch"`
25471 
25472 - `"prefix_binding_mismatch"`
25473 
25474 - `"organization_binding_mismatch"`
25475 
25476 - `"end_user_binding_mismatch"`
25926 when there is no entry to report; without the beta, blocks are removed or
25927 left in place all the same but nothing is reported. Removed blocks contribute
25928 nothing to `usage.input_tokens`; blocks left in place count as sent. When
25929 streaming, the array is final in `message_start`; the final `message_delta`
25930 event carries it only when a server-side model fallback happened mid-stream,
25931 in which case it holds the serving model's entries and replaces the one in
25932 `message_start`.
25933 
25934 - `BetaThinkingDroppedInputTransformation object`
25935 
25936 - `type: "thinking_dropped"`
25937 
25938 Always `thinking_dropped` for this entry type.
25939 
25940 default: thinking_dropped
25941 
25942 - `path: string`
25943 
25944 Where the removed block was in your request, as `messages.{i}.content.{j}`:
25945 `i` indexes the `messages` array you sent and `j` that message's `content`
25946 array — the same form error messages use.
25947 
25948 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
25949 
25950 Which binding check removed the block: `model_binding_mismatch` — it was
25951 created by a model whose reasoning the requested model may not read;
25952 `prefix_binding_mismatch` — the conversation before it differs from the
25953 conversation it was created in (the rest of that turn's consecutive thinking
25954 blocks are removed with it, each with this reason);
25955 `organization_binding_mismatch` — it was created under a different
25956 organization (an Anthropic organization, AWS account or Google Cloud project)
25957 and this organization is not one of its additional organizations;
25958 `end_user_binding_mismatch` — it was created for a different end user, or
25959 was removed by the consumer-organization binding. A block that would fail
25960 several checks reports one reason, in this order of precedence:
25961 `organization_binding_mismatch`, `end_user_binding_mismatch`,
25962 `model_binding_mismatch`, `prefix_binding_mismatch`.
25963 
25964 - `"model_binding_mismatch"`
25965 
25966 - `"prefix_binding_mismatch"`
25967 
25968 - `"organization_binding_mismatch"`
25969 
25970 - `"end_user_binding_mismatch"`
25971 
25972 - `BetaThinkingMismatchAllowedInputTransformation object`
25973 
25974 - `type: "thinking_mismatch_allowed"`
25975 
25976 Always `thinking_mismatch_allowed` for this entry type.
25977 
25978 default: thinking_mismatch_allowed
25979 
25980 - `path: string`
25981 
25982 Where the block is in your request, as `messages.{i}.content.{j}`:
25983 `i` indexes the `messages` array you sent and `j` that message's `content`
25984 array — the same form error messages use.
25985 
25986 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
25987 
25988 Which binding check the block failed; the block was shown to the model all
25989 the same. Always `prefix_binding_mismatch` today — the conversation before
25990 the block differs from the conversation it was created in, or the block
25991 carries no record of one on a model that requires it. Were the check
25992 enforced for this request, the block would have been removed or the request
25993 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
25994 takes the rest of that turn's consecutive thinking blocks, whereas here each
25995 block is checked on its own, so `thinking_mismatch_allowed` entries are a
25996 lower bound on what enforcement would remove.
25997 
25998 - `"model_binding_mismatch"`
25999 
26000 - `"prefix_binding_mismatch"`
26001 
26002 - `"organization_binding_mismatch"`
26003 
26004 - `"end_user_binding_mismatch"`
2547726005 
2547826006### Beta Raw Message Start Event
2547926007 
from line 26909
2638126909 - `encrypted_content: string or null`
2638226910 
2638326911 Opaque metadata from prior compaction, to be round-tripped verbatim
26912 
26913 - `signature: optional string or null`
26914 
26915 Signature over the summary, to be sent back with the block verbatim
2638426916 
2638526917 - `BetaFallbackBlock object`
2638626918 
from line 27677
2714527677 
2714627678 - `"fast"`
2714727679 
27148 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
27149 
27150 Changes the API made to the request's input before showing it to the model:
27151 one entry per change, in request order. Today the only entry type is
27152 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
27153 block from the request's `messages` that was removed from the prompt instead
27154 of being shown to the model because it failed a binding check. More entry
27155 types may be added over time; ignore types you do not recognize.
27680 - `input_transformations: optional array of BetaInputTransformation or null`
27681 
27682 Changes the API made to the request's input before showing it to the model,
27683 and blocks that failed a binding check but were left unchanged: one entry per
27684 block, in request order. Two entry types today. `thinking_dropped` — a
27685 `thinking`, `redacted_thinking` or `connector_text` block from the request's
27686 `messages` that was removed from the prompt instead of being shown to the
27687 model because it failed a binding check. `thinking_mismatch_allowed` — a
27688 `thinking` or `redacted_thinking` block that failed the conversation check
27689 (the conversation before it differs from the one it was created in, or it
27690 carries no record of one on a model that requires it) and was shown to the
27691 model all the same, because that check is not enforced for this request.
27692 More entry types may be added over time; ignore types you do not recognize.
2715627693 
2715727694 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
2715827695 every such response from a model that supports extended thinking, as `[]`
27159 when nothing was changed; without the beta, blocks are removed all the same
27160 but nothing is reported. Removed blocks contribute nothing to
27161 `usage.input_tokens`. When streaming, the array is final in `message_start`;
27162 the final `message_delta` event carries it only when a server-side model
27163 fallback happened mid-stream, in which case it holds the serving model's
27164 entries and replaces the one in `message_start`.
27165 
27166 - `type: "thinking_dropped"`
27167 
27168 Always `thinking_dropped` for this entry type.
27169 
27170 default: thinking_dropped
27171 
27172 - `path: string`
27173 
27174 Where the removed block was in your request, as `messages.{i}.content.{j}`:
27175 `i` indexes the `messages` array you sent and `j` that message's `content`
27176 array — the same form error messages use.
27177 
27178 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
27179 
27180 Which binding check removed the block: `model_binding_mismatch` — it was
27181 created by a model whose reasoning the requested model may not read;
27182 `prefix_binding_mismatch` — the conversation before it differs from the
27183 conversation it was created in (the rest of that turn's consecutive thinking
27184 blocks are removed with it, each with this reason);
27185 `organization_binding_mismatch` — it was created under a different
27186 organization (an Anthropic organization, AWS account or Google Cloud project)
27187 and this organization is not one of its additional organizations;
27188 `end_user_binding_mismatch` — it was created for a different end user, or
27189 was removed by the consumer-organization binding. A block that would fail
27190 several checks reports one reason, in this order of precedence:
27191 `organization_binding_mismatch`, `end_user_binding_mismatch`,
27192 `model_binding_mismatch`, `prefix_binding_mismatch`.
27193 
27194 - `"model_binding_mismatch"`
27195 
27196 - `"prefix_binding_mismatch"`
27197 
27198 - `"organization_binding_mismatch"`
27199 
27200 - `"end_user_binding_mismatch"`
27696 when there is no entry to report; without the beta, blocks are removed or
27697 left in place all the same but nothing is reported. Removed blocks contribute
27698 nothing to `usage.input_tokens`; blocks left in place count as sent. When
27699 streaming, the array is final in `message_start`; the final `message_delta`
27700 event carries it only when a server-side model fallback happened mid-stream,
27701 in which case it holds the serving model's entries and replaces the one in
27702 `message_start`.
27703 
27704 - `BetaThinkingDroppedInputTransformation object`
27705 
27706 - `type: "thinking_dropped"`
27707 
27708 Always `thinking_dropped` for this entry type.
27709 
27710 default: thinking_dropped
27711 
27712 - `path: string`
27713 
27714 Where the removed block was in your request, as `messages.{i}.content.{j}`:
27715 `i` indexes the `messages` array you sent and `j` that message's `content`
27716 array — the same form error messages use.
27717 
27718 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
27719 
27720 Which binding check removed the block: `model_binding_mismatch` — it was
27721 created by a model whose reasoning the requested model may not read;
27722 `prefix_binding_mismatch` — the conversation before it differs from the
27723 conversation it was created in (the rest of that turn's consecutive thinking
27724 blocks are removed with it, each with this reason);
27725 `organization_binding_mismatch` — it was created under a different
27726 organization (an Anthropic organization, AWS account or Google Cloud project)
27727 and this organization is not one of its additional organizations;
27728 `end_user_binding_mismatch` — it was created for a different end user, or
27729 was removed by the consumer-organization binding. A block that would fail
27730 several checks reports one reason, in this order of precedence:
27731 `organization_binding_mismatch`, `end_user_binding_mismatch`,
27732 `model_binding_mismatch`, `prefix_binding_mismatch`.
27733 
27734 - `"model_binding_mismatch"`
27735 
27736 - `"prefix_binding_mismatch"`
27737 
27738 - `"organization_binding_mismatch"`
27739 
27740 - `"end_user_binding_mismatch"`
27741 
27742 - `BetaThinkingMismatchAllowedInputTransformation object`
27743 
27744 - `type: "thinking_mismatch_allowed"`
27745 
27746 Always `thinking_mismatch_allowed` for this entry type.
27747 
27748 default: thinking_mismatch_allowed
27749 
27750 - `path: string`
27751 
27752 Where the block is in your request, as `messages.{i}.content.{j}`:
27753 `i` indexes the `messages` array you sent and `j` that message's `content`
27754 array — the same form error messages use.
27755 
27756 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
27757 
27758 Which binding check the block failed; the block was shown to the model all
27759 the same. Always `prefix_binding_mismatch` today — the conversation before
27760 the block differs from the conversation it was created in, or the block
27761 carries no record of one on a model that requires it. Were the check
27762 enforced for this request, the block would have been removed or the request
27763 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
27764 takes the rest of that turn's consecutive thinking blocks, whereas here each
27765 block is checked on its own, so `thinking_mismatch_allowed` entries are a
27766 lower bound on what enforcement would remove.
27767 
27768 - `"model_binding_mismatch"`
27769 
27770 - `"prefix_binding_mismatch"`
27771 
27772 - `"organization_binding_mismatch"`
27773 
27774 - `"end_user_binding_mismatch"`
2720127775 
2720227776### Beta Raw Message Stop Event
2720327777 
from line 28689
2811528689 - `encrypted_content: string or null`
2811628690 
2811728691 Opaque metadata from prior compaction, to be round-tripped verbatim
28692 
28693 - `signature: optional string or null`
28694 
28695 Signature over the summary, to be sent back with the block verbatim
2811828696 
2811928697 - `BetaFallbackBlock object`
2812028698 
from line 29457
2887929457 
2888029458 - `"fast"`
2888129459 
28882 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
28883 
28884 Changes the API made to the request's input before showing it to the model:
28885 one entry per change, in request order. Today the only entry type is
28886 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
28887 block from the request's `messages` that was removed from the prompt instead
28888 of being shown to the model because it failed a binding check. More entry
28889 types may be added over time; ignore types you do not recognize.
29460 - `input_transformations: optional array of BetaInputTransformation or null`
29461 
29462 Changes the API made to the request's input before showing it to the model,
29463 and blocks that failed a binding check but were left unchanged: one entry per
29464 block, in request order. Two entry types today. `thinking_dropped` — a
29465 `thinking`, `redacted_thinking` or `connector_text` block from the request's
29466 `messages` that was removed from the prompt instead of being shown to the
29467 model because it failed a binding check. `thinking_mismatch_allowed` — a
29468 `thinking` or `redacted_thinking` block that failed the conversation check
29469 (the conversation before it differs from the one it was created in, or it
29470 carries no record of one on a model that requires it) and was shown to the
29471 model all the same, because that check is not enforced for this request.
29472 More entry types may be added over time; ignore types you do not recognize.
2889029473 
2889129474 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
2889229475 every such response from a model that supports extended thinking, as `[]`
28893 when nothing was changed; without the beta, blocks are removed all the same
28894 but nothing is reported. Removed blocks contribute nothing to
28895 `usage.input_tokens`. When streaming, the array is final in `message_start`;
28896 the final `message_delta` event carries it only when a server-side model
28897 fallback happened mid-stream, in which case it holds the serving model's
28898 entries and replaces the one in `message_start`.
28899 
28900 - `type: "thinking_dropped"`
28901 
28902 Always `thinking_dropped` for this entry type.
28903 
28904 default: thinking_dropped
28905 
28906 - `path: string`
28907 
28908 Where the removed block was in your request, as `messages.{i}.content.{j}`:
28909 `i` indexes the `messages` array you sent and `j` that message's `content`
28910 array — the same form error messages use.
28911 
28912 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
28913 
28914 Which binding check removed the block: `model_binding_mismatch` — it was
28915 created by a model whose reasoning the requested model may not read;
28916 `prefix_binding_mismatch` — the conversation before it differs from the
28917 conversation it was created in (the rest of that turn's consecutive thinking
28918 blocks are removed with it, each with this reason);
28919 `organization_binding_mismatch` — it was created under a different
28920 organization (an Anthropic organization, AWS account or Google Cloud project)
28921 and this organization is not one of its additional organizations;
28922 `end_user_binding_mismatch` — it was created for a different end user, or
28923 was removed by the consumer-organization binding. A block that would fail
28924 several checks reports one reason, in this order of precedence:
28925 `organization_binding_mismatch`, `end_user_binding_mismatch`,
28926 `model_binding_mismatch`, `prefix_binding_mismatch`.
28927 
28928 - `"model_binding_mismatch"`
28929 
28930 - `"prefix_binding_mismatch"`
28931 
28932 - `"organization_binding_mismatch"`
28933 
28934 - `"end_user_binding_mismatch"`
29476 when there is no entry to report; without the beta, blocks are removed or
29477 left in place all the same but nothing is reported. Removed blocks contribute
29478 nothing to `usage.input_tokens`; blocks left in place count as sent. When
29479 streaming, the array is final in `message_start`; the final `message_delta`
29480 event carries it only when a server-side model fallback happened mid-stream,
29481 in which case it holds the serving model's entries and replaces the one in
29482 `message_start`.
29483 
29484 - `BetaThinkingDroppedInputTransformation object`
29485 
29486 - `type: "thinking_dropped"`
29487 
29488 Always `thinking_dropped` for this entry type.
29489 
29490 default: thinking_dropped
29491 
29492 - `path: string`
29493 
29494 Where the removed block was in your request, as `messages.{i}.content.{j}`:
29495 `i` indexes the `messages` array you sent and `j` that message's `content`
29496 array — the same form error messages use.
29497 
29498 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
29499 
29500 Which binding check removed the block: `model_binding_mismatch` — it was
29501 created by a model whose reasoning the requested model may not read;
29502 `prefix_binding_mismatch` — the conversation before it differs from the
29503 conversation it was created in (the rest of that turn's consecutive thinking
29504 blocks are removed with it, each with this reason);
29505 `organization_binding_mismatch` — it was created under a different
29506 organization (an Anthropic organization, AWS account or Google Cloud project)
29507 and this organization is not one of its additional organizations;
29508 `end_user_binding_mismatch` — it was created for a different end user, or
29509 was removed by the consumer-organization binding. A block that would fail
29510 several checks reports one reason, in this order of precedence:
29511 `organization_binding_mismatch`, `end_user_binding_mismatch`,
29512 `model_binding_mismatch`, `prefix_binding_mismatch`.
29513 
29514 - `"model_binding_mismatch"`
29515 
29516 - `"prefix_binding_mismatch"`
29517 
29518 - `"organization_binding_mismatch"`
29519 
29520 - `"end_user_binding_mismatch"`
29521 
29522 - `BetaThinkingMismatchAllowedInputTransformation object`
29523 
29524 - `type: "thinking_mismatch_allowed"`
29525 
29526 Always `thinking_mismatch_allowed` for this entry type.
29527 
29528 default: thinking_mismatch_allowed
29529 
29530 - `path: string`
29531 
29532 Where the block is in your request, as `messages.{i}.content.{j}`:
29533 `i` indexes the `messages` array you sent and `j` that message's `content`
29534 array — the same form error messages use.
29535 
29536 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
29537 
29538 Which binding check the block failed; the block was shown to the model all
29539 the same. Always `prefix_binding_mismatch` today — the conversation before
29540 the block differs from the conversation it was created in, or the block
29541 carries no record of one on a model that requires it. Were the check
29542 enforced for this request, the block would have been removed or the request
29543 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
29544 takes the rest of that turn's consecutive thinking blocks, whereas here each
29545 block is checked on its own, so `thinking_mismatch_allowed` entries are a
29546 lower bound on what enforcement would remove.
29547 
29548 - `"model_binding_mismatch"`
29549 
29550 - `"prefix_binding_mismatch"`
29551 
29552 - `"organization_binding_mismatch"`
29553 
29554 - `"end_user_binding_mismatch"`
2893529555 
2893629556 - `BetaRawMessageDeltaEvent object`
2893729557 
from line 29640
2902029640 
2902129641 The number of server tool requests.
2902229642 
29023 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
29024 
29025 Changes the API made to the request's input before showing it to the model:
29026 one entry per change, in request order. Today the only entry type is
29027 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
29028 block from the request's `messages` that was removed from the prompt instead
29029 of being shown to the model because it failed a binding check. More entry
29030 types may be added over time; ignore types you do not recognize.
29643 - `input_transformations: optional array of BetaInputTransformation or null`
29644 
29645 Changes the API made to the request's input before showing it to the model,
29646 and blocks that failed a binding check but were left unchanged: one entry per
29647 block, in request order. Two entry types today. `thinking_dropped` — a
29648 `thinking`, `redacted_thinking` or `connector_text` block from the request's
29649 `messages` that was removed from the prompt instead of being shown to the
29650 model because it failed a binding check. `thinking_mismatch_allowed` — a
29651 `thinking` or `redacted_thinking` block that failed the conversation check
29652 (the conversation before it differs from the one it was created in, or it
29653 carries no record of one on a model that requires it) and was shown to the
29654 model all the same, because that check is not enforced for this request.
29655 More entry types may be added over time; ignore types you do not recognize.
2903129656 
2903229657 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
2903329658 every such response from a model that supports extended thinking, as `[]`
29034 when nothing was changed; without the beta, blocks are removed all the same
29035 but nothing is reported. Removed blocks contribute nothing to
29036 `usage.input_tokens`. When streaming, the array is final in `message_start`;
29037 the final `message_delta` event carries it only when a server-side model
29038 fallback happened mid-stream, in which case it holds the serving model's
29039 entries and replaces the one in `message_start`.
29040 
29041 - `type: "thinking_dropped"`
29042 
29043 Always `thinking_dropped` for this entry type.
29044 
29045 default: thinking_dropped
29046 
29047 - `path: string`
29048 
29049 Where the removed block was in your request, as `messages.{i}.content.{j}`:
29050 `i` indexes the `messages` array you sent and `j` that message's `content`
29051 array — the same form error messages use.
29052 
29053 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
29054 
29055 Which binding check removed the block: `model_binding_mismatch` — it was
29056 created by a model whose reasoning the requested model may not read;
29057 `prefix_binding_mismatch` — the conversation before it differs from the
29058 conversation it was created in (the rest of that turn's consecutive thinking
29059 blocks are removed with it, each with this reason);
29060 `organization_binding_mismatch` — it was created under a different
29061 organization (an Anthropic organization, AWS account or Google Cloud project)
29062 and this organization is not one of its additional organizations;
29063 `end_user_binding_mismatch` — it was created for a different end user, or
29064 was removed by the consumer-organization binding. A block that would fail
29065 several checks reports one reason, in this order of precedence:
29066 `organization_binding_mismatch`, `end_user_binding_mismatch`,
29067 `model_binding_mismatch`, `prefix_binding_mismatch`.
29659 when there is no entry to report; without the beta, blocks are removed or
29660 left in place all the same but nothing is reported. Removed blocks contribute
29661 nothing to `usage.input_tokens`; blocks left in place count as sent. When
29662 streaming, the array is final in `message_start`; the final `message_delta`
29663 event carries it only when a server-side model fallback happened mid-stream,
29664 in which case it holds the serving model's entries and replaces the one in
29665 `message_start`.
29666 
29667 - `BetaThinkingDroppedInputTransformation object`
29668 
29669 - `BetaThinkingMismatchAllowedInputTransformation object`
2906829670 
2906929671 - `BetaRawMessageStopEvent object`
2907029672 
from line 30939
3033730939 
3033830940 - `"model_context_window_exceeded"`
3033930941 
30942### Beta Summarize Compaction
30943 
30944- `BetaSummarizeCompaction object`
30945 
30946 Compact the whole conversation and return a signed `compaction` block,
30947 alone, that a later request sends back first in `messages`, in place of
30948 the messages it summarizes. There is no trigger and no pause flag: sending
30949 the parameter compacts, and nothing is sampled after the block.
30950 
30951 The summarization prompt is the server's own unless `instructions` are
30952 given, which then replace it for this request; a value that is empty or
30953 only whitespace counts as absent.
30954 
30955 - `type: "summarize"`
30956 
30957 - `instructions: optional string or null`
30958 
30959 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
30960 
30961 maxLength: 16384
30962 
3034030963### Beta System Message Output Config
3034130964 
3034230965- `BetaSystemMessageOutputConfig object`
from line 32132
3150932132 
3151032133 - `"end_user_binding_mismatch"`
3151132134 
32135### Beta Thinking Mismatch Allowed Input Transformation
32136 
32137- `BetaThinkingMismatchAllowedInputTransformation object`
32138 
32139 - `type: "thinking_mismatch_allowed"`
32140 
32141 Always `thinking_mismatch_allowed` for this entry type.
32142 
32143 default: thinking_mismatch_allowed
32144 
32145 - `path: string`
32146 
32147 Where the block is in your request, as `messages.{i}.content.{j}`:
32148 `i` indexes the `messages` array you sent and `j` that message's `content`
32149 array — the same form error messages use.
32150 
32151 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
32152 
32153 Which binding check the block failed; the block was shown to the model all
32154 the same. Always `prefix_binding_mismatch` today — the conversation before
32155 the block differs from the conversation it was created in, or the block
32156 carries no record of one on a model that requires it. Were the check
32157 enforced for this request, the block would have been removed or the request
32158 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
32159 takes the rest of that turn's consecutive thinking blocks, whereas here each
32160 block is checked on its own, so `thinking_mismatch_allowed` entries are a
32161 lower bound on what enforcement would remove.
32162 
32163 - `"model_binding_mismatch"`
32164 
32165 - `"prefix_binding_mismatch"`
32166 
32167 - `"organization_binding_mismatch"`
32168 
32169 - `"end_user_binding_mismatch"`
32170 
3151232171### Beta Thinking Prefix Mismatch Behavior
3151332172 
3151432173- `BetaThinkingPrefixMismatchBehavior = "error" or "drop_block"`
from line 35190
3453135190 
3453235191 When true, guarantees schema validation on tool names and inputs
3453335192 
35193 - `url_sources: optional BetaWebFetchURLSources or null`
35194 
35195 Which sources contribute to the set of URLs web fetch may fetch.
35196 
35197 Each key is a tagged variant: `user_input` is `all` or `none`; the
35198 two tool filters are `all`, `none`, `only` (only the named tools'
35199 results) or `except` (every result but the named tools'). A named tool
35200 must be declared in this request's `tools[]`.
35201 
35202 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
35203 
35204 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
35205 
35206 - `BetaWebFetchURLSourceAll object`
35207 
35208 The `url_sources` variant under which a source contributes in
35209 full: every result of the tool filter's source, or all user input.
35210 
35211 - `type: "all"`
35212 
35213 - `BetaWebFetchURLSourceNone object`
35214 
35215 The `url_sources` variant under which a source contributes nothing:
35216 no result of the tool filter's source, or no user input.
35217 
35218 - `type: "none"`
35219 
35220 - `BetaWebFetchURLSourceOnly object`
35221 
35222 The tool filter variant under which only the named tools' results
35223 contribute.
35224 
35225 - `type: "only"`
35226 
35227 - `tools: array of BetaWebFetchURLSourceToolReference`
35228 
35229 - `type: "tool_reference"`
35230 
35231 - `name: string`
35232 
35233 - `BetaWebFetchURLSourceExcept object`
35234 
35235 The tool filter variant under which every result but the named
35236 tools' contributes.
35237 
35238 - `type: "except"`
35239 
35240 - `tools: array of BetaWebFetchURLSourceToolReference`
35241 
35242 - `type: "tool_reference"`
35243 
35244 - `name: string`
35245 
35246 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
35247 
35248 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
35249 
35250 - `BetaWebFetchURLSourceAll object`
35251 
35252 The `url_sources` variant under which a source contributes in
35253 full: every result of the tool filter's source, or all user input.
35254 
35255 - `BetaWebFetchURLSourceNone object`
35256 
35257 The `url_sources` variant under which a source contributes nothing:
35258 no result of the tool filter's source, or no user input.
35259 
35260 - `BetaWebFetchURLSourceOnly object`
35261 
35262 The tool filter variant under which only the named tools' results
35263 contribute.
35264 
35265 - `BetaWebFetchURLSourceExcept object`
35266 
35267 The tool filter variant under which every result but the named
35268 tools' contributes.
35269 
35270 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
35271 
35272 Whether URLs in user messages are fetchable: "all" or "none".
35273 
35274 - `BetaWebFetchURLSourceAll object`
35275 
35276 The `url_sources` variant under which a source contributes in
35277 full: every result of the tool filter's source, or all user input.
35278 
35279 - `BetaWebFetchURLSourceNone object`
35280 
35281 The `url_sources` variant under which a source contributes nothing:
35282 no result of the tool filter's source, or no user input.
35283 
3453435284 - `BetaWebSearchTool20260209 object`
3453535285 
3453635286 - `type: "web_search_20260209"`
from line 35387
3463735387 
3463835388 When true, guarantees schema validation on tool names and inputs
3463935389 
35390 - `url_sources: optional BetaWebFetchURLSources or null`
35391 
35392 Which sources contribute to the set of URLs web fetch may fetch.
35393 
35394 Each key is a tagged variant: `user_input` is `all` or `none`; the
35395 two tool filters are `all`, `none`, `only` (only the named tools'
35396 results) or `except` (every result but the named tools'). A named tool
35397 must be declared in this request's `tools[]`.
35398 
3464035399 - `BetaWebFetchTool20260309 object`
3464135400 
3464235401 Web fetch tool with use_cache parameter for bypassing cached content.
from line 35454
3469535454 
3469635455 When true, guarantees schema validation on tool names and inputs
3469735456 
35457 - `url_sources: optional BetaWebFetchURLSources or null`
35458 
35459 Which sources contribute to the set of URLs web fetch may fetch.
35460 
35461 Each key is a tagged variant: `user_input` is `all` or `none`; the
35462 two tool filters are `all`, `none`, `only` (only the named tools'
35463 results) or `except` (every result but the named tools'). A named tool
35464 must be declared in this request's `tools[]`.
35465 
3469835466 - `use_cache: optional boolean`
3469935467 
3470035468 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 35588
3482035588 - `strict: optional boolean`
3482135589 
3482235590 When true, guarantees schema validation on tool names and inputs
35591 
35592 - `url_sources: optional BetaWebFetchURLSources or null`
35593 
35594 Which sources contribute to the set of URLs web fetch may fetch.
35595 
35596 Each key is a tagged variant: `user_input` is `all` or `none`; the
35597 two tool filters are `all`, `none`, `only` (only the named tools'
35598 results) or `except` (every result but the named tools'). A named tool
35599 must be declared in this request's `tools[]`.
3482335600 
3482435601 - `use_cache: optional boolean`
3482535602 
from line 36875
3609836875 
3609936876 When true, guarantees schema validation on tool names and inputs
3610036877 
36878 - `url_sources: optional BetaWebFetchURLSources or null`
36879 
36880 Which sources contribute to the set of URLs web fetch may fetch.
36881 
36882 Each key is a tagged variant: `user_input` is `all` or `none`; the
36883 two tool filters are `all`, `none`, `only` (only the named tools'
36884 results) or `except` (every result but the named tools'). A named tool
36885 must be declared in this request's `tools[]`.
36886 
36887 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
36888 
36889 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
36890 
36891 - `BetaWebFetchURLSourceAll object`
36892 
36893 The `url_sources` variant under which a source contributes in
36894 full: every result of the tool filter's source, or all user input.
36895 
36896 - `type: "all"`
36897 
36898 - `BetaWebFetchURLSourceNone object`
36899 
36900 The `url_sources` variant under which a source contributes nothing:
36901 no result of the tool filter's source, or no user input.
36902 
36903 - `type: "none"`
36904 
36905 - `BetaWebFetchURLSourceOnly object`
36906 
36907 The tool filter variant under which only the named tools' results
36908 contribute.
36909 
36910 - `type: "only"`
36911 
36912 - `tools: array of BetaWebFetchURLSourceToolReference`
36913 
36914 - `type: "tool_reference"`
36915 
36916 - `name: string`
36917 
36918 - `BetaWebFetchURLSourceExcept object`
36919 
36920 The tool filter variant under which every result but the named
36921 tools' contributes.
36922 
36923 - `type: "except"`
36924 
36925 - `tools: array of BetaWebFetchURLSourceToolReference`
36926 
36927 - `type: "tool_reference"`
36928 
36929 - `name: string`
36930 
36931 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
36932 
36933 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
36934 
36935 - `BetaWebFetchURLSourceAll object`
36936 
36937 The `url_sources` variant under which a source contributes in
36938 full: every result of the tool filter's source, or all user input.
36939 
36940 - `BetaWebFetchURLSourceNone object`
36941 
36942 The `url_sources` variant under which a source contributes nothing:
36943 no result of the tool filter's source, or no user input.
36944 
36945 - `BetaWebFetchURLSourceOnly object`
36946 
36947 The tool filter variant under which only the named tools' results
36948 contribute.
36949 
36950 - `BetaWebFetchURLSourceExcept object`
36951 
36952 The tool filter variant under which every result but the named
36953 tools' contributes.
36954 
36955 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
36956 
36957 Whether URLs in user messages are fetchable: "all" or "none".
36958 
36959 - `BetaWebFetchURLSourceAll object`
36960 
36961 The `url_sources` variant under which a source contributes in
36962 full: every result of the tool filter's source, or all user input.
36963 
36964 - `BetaWebFetchURLSourceNone object`
36965 
36966 The `url_sources` variant under which a source contributes nothing:
36967 no result of the tool filter's source, or no user input.
36968 
3610136969### Beta Web Fetch Tool 20260209
3610236970 
3610336971- `BetaWebFetchTool20260209 object`
from line 37043
3617537043 
3617637044 When true, guarantees schema validation on tool names and inputs
3617737045 
37046 - `url_sources: optional BetaWebFetchURLSources or null`
37047 
37048 Which sources contribute to the set of URLs web fetch may fetch.
37049 
37050 Each key is a tagged variant: `user_input` is `all` or `none`; the
37051 two tool filters are `all`, `none`, `only` (only the named tools'
37052 results) or `except` (every result but the named tools'). A named tool
37053 must be declared in this request's `tools[]`.
37054 
37055 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
37056 
37057 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
37058 
37059 - `BetaWebFetchURLSourceAll object`
37060 
37061 The `url_sources` variant under which a source contributes in
37062 full: every result of the tool filter's source, or all user input.
37063 
37064 - `type: "all"`
37065 
37066 - `BetaWebFetchURLSourceNone object`
37067 
37068 The `url_sources` variant under which a source contributes nothing:
37069 no result of the tool filter's source, or no user input.
37070 
37071 - `type: "none"`
37072 
37073 - `BetaWebFetchURLSourceOnly object`
37074 
37075 The tool filter variant under which only the named tools' results
37076 contribute.
37077 
37078 - `type: "only"`
37079 
37080 - `tools: array of BetaWebFetchURLSourceToolReference`
37081 
37082 - `type: "tool_reference"`
37083 
37084 - `name: string`
37085 
37086 - `BetaWebFetchURLSourceExcept object`
37087 
37088 The tool filter variant under which every result but the named
37089 tools' contributes.
37090 
37091 - `type: "except"`
37092 
37093 - `tools: array of BetaWebFetchURLSourceToolReference`
37094 
37095 - `type: "tool_reference"`
37096 
37097 - `name: string`
37098 
37099 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
37100 
37101 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
37102 
37103 - `BetaWebFetchURLSourceAll object`
37104 
37105 The `url_sources` variant under which a source contributes in
37106 full: every result of the tool filter's source, or all user input.
37107 
37108 - `BetaWebFetchURLSourceNone object`
37109 
37110 The `url_sources` variant under which a source contributes nothing:
37111 no result of the tool filter's source, or no user input.
37112 
37113 - `BetaWebFetchURLSourceOnly object`
37114 
37115 The tool filter variant under which only the named tools' results
37116 contribute.
37117 
37118 - `BetaWebFetchURLSourceExcept object`
37119 
37120 The tool filter variant under which every result but the named
37121 tools' contributes.
37122 
37123 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
37124 
37125 Whether URLs in user messages are fetchable: "all" or "none".
37126 
37127 - `BetaWebFetchURLSourceAll object`
37128 
37129 The `url_sources` variant under which a source contributes in
37130 full: every result of the tool filter's source, or all user input.
37131 
37132 - `BetaWebFetchURLSourceNone object`
37133 
37134 The `url_sources` variant under which a source contributes nothing:
37135 no result of the tool filter's source, or no user input.
37136 
3617837137### Beta Web Fetch Tool 20260309
3617937138 
3618037139- `BetaWebFetchTool20260309 object`
from line 37213
3625437213 
3625537214 When true, guarantees schema validation on tool names and inputs
3625637215 
37216 - `url_sources: optional BetaWebFetchURLSources or null`
37217 
37218 Which sources contribute to the set of URLs web fetch may fetch.
37219 
37220 Each key is a tagged variant: `user_input` is `all` or `none`; the
37221 two tool filters are `all`, `none`, `only` (only the named tools'
37222 results) or `except` (every result but the named tools'). A named tool
37223 must be declared in this request's `tools[]`.
37224 
37225 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
37226 
37227 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
37228 
37229 - `BetaWebFetchURLSourceAll object`
37230 
37231 The `url_sources` variant under which a source contributes in
37232 full: every result of the tool filter's source, or all user input.
37233 
37234 - `type: "all"`
37235 
37236 - `BetaWebFetchURLSourceNone object`
37237 
37238 The `url_sources` variant under which a source contributes nothing:
37239 no result of the tool filter's source, or no user input.
37240 
37241 - `type: "none"`
37242 
37243 - `BetaWebFetchURLSourceOnly object`
37244 
37245 The tool filter variant under which only the named tools' results
37246 contribute.
37247 
37248 - `type: "only"`
37249 
37250 - `tools: array of BetaWebFetchURLSourceToolReference`
37251 
37252 - `type: "tool_reference"`
37253 
37254 - `name: string`
37255 
37256 - `BetaWebFetchURLSourceExcept object`
37257 
37258 The tool filter variant under which every result but the named
37259 tools' contributes.
37260 
37261 - `type: "except"`
37262 
37263 - `tools: array of BetaWebFetchURLSourceToolReference`
37264 
37265 - `type: "tool_reference"`
37266 
37267 - `name: string`
37268 
37269 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
37270 
37271 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
37272 
37273 - `BetaWebFetchURLSourceAll object`
37274 
37275 The `url_sources` variant under which a source contributes in
37276 full: every result of the tool filter's source, or all user input.
37277 
37278 - `BetaWebFetchURLSourceNone object`
37279 
37280 The `url_sources` variant under which a source contributes nothing:
37281 no result of the tool filter's source, or no user input.
37282 
37283 - `BetaWebFetchURLSourceOnly object`
37284 
37285 The tool filter variant under which only the named tools' results
37286 contribute.
37287 
37288 - `BetaWebFetchURLSourceExcept object`
37289 
37290 The tool filter variant under which every result but the named
37291 tools' contributes.
37292 
37293 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
37294 
37295 Whether URLs in user messages are fetchable: "all" or "none".
37296 
37297 - `BetaWebFetchURLSourceAll object`
37298 
37299 The `url_sources` variant under which a source contributes in
37300 full: every result of the tool filter's source, or all user input.
37301 
37302 - `BetaWebFetchURLSourceNone object`
37303 
37304 The `url_sources` variant under which a source contributes nothing:
37305 no result of the tool filter's source, or no user input.
37306 
3625737307 - `use_cache: optional boolean`
3625837308 
3625937309 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 37393
3634337393 
3634437394 When true, guarantees schema validation on tool names and inputs
3634537395 
37396 - `url_sources: optional BetaWebFetchURLSources or null`
37397 
37398 Which sources contribute to the set of URLs web fetch may fetch.
37399 
37400 Each key is a tagged variant: `user_input` is `all` or `none`; the
37401 two tool filters are `all`, `none`, `only` (only the named tools'
37402 results) or `except` (every result but the named tools'). A named tool
37403 must be declared in this request's `tools[]`.
37404 
37405 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
37406 
37407 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
37408 
37409 - `BetaWebFetchURLSourceAll object`
37410 
37411 The `url_sources` variant under which a source contributes in
37412 full: every result of the tool filter's source, or all user input.
37413 
37414 - `type: "all"`
37415 
37416 - `BetaWebFetchURLSourceNone object`
37417 
37418 The `url_sources` variant under which a source contributes nothing:
37419 no result of the tool filter's source, or no user input.
37420 
37421 - `type: "none"`
37422 
37423 - `BetaWebFetchURLSourceOnly object`
37424 
37425 The tool filter variant under which only the named tools' results
37426 contribute.
37427 
37428 - `type: "only"`
37429 
37430 - `tools: array of BetaWebFetchURLSourceToolReference`
37431 
37432 - `type: "tool_reference"`
37433 
37434 - `name: string`
37435 
37436 - `BetaWebFetchURLSourceExcept object`
37437 
37438 The tool filter variant under which every result but the named
37439 tools' contributes.
37440 
37441 - `type: "except"`
37442 
37443 - `tools: array of BetaWebFetchURLSourceToolReference`
37444 
37445 - `type: "tool_reference"`
37446 
37447 - `name: string`
37448 
37449 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
37450 
37451 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
37452 
37453 - `BetaWebFetchURLSourceAll object`
37454 
37455 The `url_sources` variant under which a source contributes in
37456 full: every result of the tool filter's source, or all user input.
37457 
37458 - `BetaWebFetchURLSourceNone object`
37459 
37460 The `url_sources` variant under which a source contributes nothing:
37461 no result of the tool filter's source, or no user input.
37462 
37463 - `BetaWebFetchURLSourceOnly object`
37464 
37465 The tool filter variant under which only the named tools' results
37466 contribute.
37467 
37468 - `BetaWebFetchURLSourceExcept object`
37469 
37470 The tool filter variant under which every result but the named
37471 tools' contributes.
37472 
37473 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
37474 
37475 Whether URLs in user messages are fetchable: "all" or "none".
37476 
37477 - `BetaWebFetchURLSourceAll object`
37478 
37479 The `url_sources` variant under which a source contributes in
37480 full: every result of the tool filter's source, or all user input.
37481 
37482 - `BetaWebFetchURLSourceNone object`
37483 
37484 The `url_sources` variant under which a source contributes nothing:
37485 no result of the tool filter's source, or no user input.
37486 
3634637487 - `use_cache: optional boolean`
3634737488 
3634837489 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 38035
3689438035 
3689538036 - `"content_too_large"`
3689638037 
38038### Beta Web Fetch URL Source All
38039 
38040- `BetaWebFetchURLSourceAll object`
38041 
38042 The `url_sources` variant under which a source contributes in
38043 full: every result of the tool filter's source, or all user input.
38044 
38045 - `type: "all"`
38046 
38047### Beta Web Fetch URL Source Except
38048 
38049- `BetaWebFetchURLSourceExcept object`
38050 
38051 The tool filter variant under which every result but the named
38052 tools' contributes.
38053 
38054 - `type: "except"`
38055 
38056 - `tools: array of BetaWebFetchURLSourceToolReference`
38057 
38058 - `type: "tool_reference"`
38059 
38060 - `name: string`
38061 
38062### Beta Web Fetch URL Source None
38063 
38064- `BetaWebFetchURLSourceNone object`
38065 
38066 The `url_sources` variant under which a source contributes nothing:
38067 no result of the tool filter's source, or no user input.
38068 
38069 - `type: "none"`
38070 
38071### Beta Web Fetch URL Source Only
38072 
38073- `BetaWebFetchURLSourceOnly object`
38074 
38075 The tool filter variant under which only the named tools' results
38076 contribute.
38077 
38078 - `type: "only"`
38079 
38080 - `tools: array of BetaWebFetchURLSourceToolReference`
38081 
38082 - `type: "tool_reference"`
38083 
38084 - `name: string`
38085 
38086### Beta Web Fetch URL Source Tool Reference
38087 
38088- `BetaWebFetchURLSourceToolReference object`
38089 
38090 One entry of a tool filter's `tools`: it must name a tool declared
38091 in this request's `tools[]`.
38092 
38093 - `type: "tool_reference"`
38094 
38095 - `name: string`
38096 
38097### Beta Web Fetch URL Sources
38098 
38099- `BetaWebFetchURLSources object`
38100 
38101 Which sources contribute to the set of URLs web fetch may fetch.
38102 
38103 Each key is a tagged variant: `user_input` is `all` or `none`; the
38104 two tool filters are `all`, `none`, `only` (only the named tools'
38105 results) or `except` (every result but the named tools'). A named tool
38106 must be declared in this request's `tools[]`.
38107 
38108 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
38109 
38110 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
38111 
38112 - `BetaWebFetchURLSourceAll object`
38113 
38114 The `url_sources` variant under which a source contributes in
38115 full: every result of the tool filter's source, or all user input.
38116 
38117 - `type: "all"`
38118 
38119 - `BetaWebFetchURLSourceNone object`
38120 
38121 The `url_sources` variant under which a source contributes nothing:
38122 no result of the tool filter's source, or no user input.
38123 
38124 - `type: "none"`
38125 
38126 - `BetaWebFetchURLSourceOnly object`
38127 
38128 The tool filter variant under which only the named tools' results
38129 contribute.
38130 
38131 - `type: "only"`
38132 
38133 - `tools: array of BetaWebFetchURLSourceToolReference`
38134 
38135 - `type: "tool_reference"`
38136 
38137 - `name: string`
38138 
38139 - `BetaWebFetchURLSourceExcept object`
38140 
38141 The tool filter variant under which every result but the named
38142 tools' contributes.
38143 
38144 - `type: "except"`
38145 
38146 - `tools: array of BetaWebFetchURLSourceToolReference`
38147 
38148 - `type: "tool_reference"`
38149 
38150 - `name: string`
38151 
38152 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
38153 
38154 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
38155 
38156 - `BetaWebFetchURLSourceAll object`
38157 
38158 The `url_sources` variant under which a source contributes in
38159 full: every result of the tool filter's source, or all user input.
38160 
38161 - `BetaWebFetchURLSourceNone object`
38162 
38163 The `url_sources` variant under which a source contributes nothing:
38164 no result of the tool filter's source, or no user input.
38165 
38166 - `BetaWebFetchURLSourceOnly object`
38167 
38168 The tool filter variant under which only the named tools' results
38169 contribute.
38170 
38171 - `BetaWebFetchURLSourceExcept object`
38172 
38173 The tool filter variant under which every result but the named
38174 tools' contributes.
38175 
38176 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
38177 
38178 Whether URLs in user messages are fetchable: "all" or "none".
38179 
38180 - `BetaWebFetchURLSourceAll object`
38181 
38182 The `url_sources` variant under which a source contributes in
38183 full: every result of the tool filter's source, or all user input.
38184 
38185 - `BetaWebFetchURLSourceNone object`
38186 
38187 The `url_sources` variant under which a source contributes nothing:
38188 no result of the tool filter's source, or no user input.
38189 
3689738190### Beta Web Search Result Block
3689838191 
3689938192- `BetaWebSearchResultBlock object`
from line 38823
3753038823 
3753138824 - `string`
3753238825 
37533 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
38826 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3753438827 
3753538828 - `"message-batches-2024-09-24"`
3753638829 
from line 38914
3762138914 - `"thinking-binding-controls-2026-08-01"`
3762238915 
3762338916 - `"mid-conversation-system-clear-at-2026-08-21"`
38917 
38918 - `"compact-2026-09-04"`
3762438919 
3762538920- `"anthropic-user-profile-id": optional string`
3762638921 
from line 40106
3881140106 - `encrypted_content: optional string or null`
3881240107 
3881340108 Opaque metadata from prior compaction, to be round-tripped verbatim
40109 
40110 - `signature: optional string or null`
40111 
40112 The block's signature as returned, to be sent back verbatim
3881440113 
3881540114 - `BetaRequestToolAdditionBlock object`
3881640115 
from line 40350
3905140350 - `cache_control: optional BetaCacheControlEphemeral or null`
3905240351 
3905340352 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
40353 
40354 - `compaction: optional BetaCompactionConfig or null`
40355 
40356 Compact the whole conversation and return a signed `compaction` block,
40357 alone, that a later request sends back first in `messages`, in place of
40358 the messages it summarizes. There is no trigger and no pause flag: sending
40359 the parameter compacts, and nothing is sampled after the block.
40360 
40361 The summarization prompt is the server's own unless `instructions` are
40362 given, which then replace it for this request; a value that is empty or
40363 only whitespace counts as absent.
40364 
40365 - `type: "summarize"`
40366 
40367 - `instructions: optional string or null`
40368 
40369 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
40370 
40371 maxLength: 16384
3905440372 
3905540373 - `container: optional BetaContainerParams or string or null`
3905640374 
from line 42288
4097042288 
4097142289 When true, guarantees schema validation on tool names and inputs
4097242290 
42291 - `url_sources: optional BetaWebFetchURLSources or null`
42292 
42293 Which sources contribute to the set of URLs web fetch may fetch.
42294 
42295 Each key is a tagged variant: `user_input` is `all` or `none`; the
42296 two tool filters are `all`, `none`, `only` (only the named tools'
42297 results) or `except` (every result but the named tools'). A named tool
42298 must be declared in this request's `tools[]`.
42299 
42300 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
42301 
42302 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
42303 
42304 - `BetaWebFetchURLSourceAll object`
42305 
42306 The `url_sources` variant under which a source contributes in
42307 full: every result of the tool filter's source, or all user input.
42308 
42309 - `type: "all"`
42310 
42311 - `BetaWebFetchURLSourceNone object`
42312 
42313 The `url_sources` variant under which a source contributes nothing:
42314 no result of the tool filter's source, or no user input.
42315 
42316 - `type: "none"`
42317 
42318 - `BetaWebFetchURLSourceOnly object`
42319 
42320 The tool filter variant under which only the named tools' results
42321 contribute.
42322 
42323 - `type: "only"`
42324 
42325 - `tools: array of BetaWebFetchURLSourceToolReference`
42326 
42327 - `type: "tool_reference"`
42328 
42329 - `name: string`
42330 
42331 - `BetaWebFetchURLSourceExcept object`
42332 
42333 The tool filter variant under which every result but the named
42334 tools' contributes.
42335 
42336 - `type: "except"`
42337 
42338 - `tools: array of BetaWebFetchURLSourceToolReference`
42339 
42340 - `type: "tool_reference"`
42341 
42342 - `name: string`
42343 
42344 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
42345 
42346 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
42347 
42348 - `BetaWebFetchURLSourceAll object`
42349 
42350 The `url_sources` variant under which a source contributes in
42351 full: every result of the tool filter's source, or all user input.
42352 
42353 - `BetaWebFetchURLSourceNone object`
42354 
42355 The `url_sources` variant under which a source contributes nothing:
42356 no result of the tool filter's source, or no user input.
42357 
42358 - `BetaWebFetchURLSourceOnly object`
42359 
42360 The tool filter variant under which only the named tools' results
42361 contribute.
42362 
42363 - `BetaWebFetchURLSourceExcept object`
42364 
42365 The tool filter variant under which every result but the named
42366 tools' contributes.
42367 
42368 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
42369 
42370 Whether URLs in user messages are fetchable: "all" or "none".
42371 
42372 - `BetaWebFetchURLSourceAll object`
42373 
42374 The `url_sources` variant under which a source contributes in
42375 full: every result of the tool filter's source, or all user input.
42376 
42377 - `BetaWebFetchURLSourceNone object`
42378 
42379 The `url_sources` variant under which a source contributes nothing:
42380 no result of the tool filter's source, or no user input.
42381 
4097342382 - `BetaWebSearchTool20260209 object`
4097442383 
4097542384 - `type: "web_search_20260209"`
from line 42485
4107642485 
4107742486 When true, guarantees schema validation on tool names and inputs
4107842487 
42488 - `url_sources: optional BetaWebFetchURLSources or null`
42489 
42490 Which sources contribute to the set of URLs web fetch may fetch.
42491 
42492 Each key is a tagged variant: `user_input` is `all` or `none`; the
42493 two tool filters are `all`, `none`, `only` (only the named tools'
42494 results) or `except` (every result but the named tools'). A named tool
42495 must be declared in this request's `tools[]`.
42496 
4107942497 - `BetaWebFetchTool20260309 object`
4108042498 
4108142499 Web fetch tool with use_cache parameter for bypassing cached content.
from line 42552
4113442552 
4113542553 When true, guarantees schema validation on tool names and inputs
4113642554 
42555 - `url_sources: optional BetaWebFetchURLSources or null`
42556 
42557 Which sources contribute to the set of URLs web fetch may fetch.
42558 
42559 Each key is a tagged variant: `user_input` is `all` or `none`; the
42560 two tool filters are `all`, `none`, `only` (only the named tools'
42561 results) or `except` (every result but the named tools'). A named tool
42562 must be declared in this request's `tools[]`.
42563 
4113742564 - `use_cache: optional boolean`
4113842565 
4113942566 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 42686
4125942686 - `strict: optional boolean`
4126042687 
4126142688 When true, guarantees schema validation on tool names and inputs
42689 
42690 - `url_sources: optional BetaWebFetchURLSources or null`
42691 
42692 Which sources contribute to the set of URLs web fetch may fetch.
42693 
42694 Each key is a tagged variant: `user_input` is `all` or `none`; the
42695 two tool filters are `all`, `none`, `only` (only the named tools'
42696 results) or `except` (every result but the named tools'). A named tool
42697 must be declared in this request's `tools[]`.
4126242698 
4126342699 - `use_cache: optional boolean`
4126442700 
from line 43087
4165143087 
4165243088 - `string`
4165343089 
41654 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
43090 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4165543091 
4165643092 - `"message-batches-2024-09-24"`
4165743093 
from line 43178
4174243178 - `"thinking-binding-controls-2026-08-01"`
4174343179 
4174443180 - `"mid-conversation-system-clear-at-2026-08-21"`
43181 
43182 - `"compact-2026-09-04"`
4174543183 
4174643184- `"anthropic-workspace-id": optional string`
4174743185 
from line 43359
4192143359 
4192243360 - `string`
4192343361 
41924 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
43362 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4192543363 
4192643364 - `"message-batches-2024-09-24"`
4192743365 
from line 43450
4201243450 - `"thinking-binding-controls-2026-08-01"`
4201343451 
4201443452 - `"mid-conversation-system-clear-at-2026-08-21"`
43453 
43454 - `"compact-2026-09-04"`
4201543455 
4201643456- `"anthropic-workspace-id": optional string`
4201743457 
from line 43640
4220043640 
4220143641 - `string`
4220243642 
42203 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
43643 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4220443644 
4220543645 - `"message-batches-2024-09-24"`
4220643646 
from line 43731
4229143731 - `"thinking-binding-controls-2026-08-01"`
4229243732 
4229343733 - `"mid-conversation-system-clear-at-2026-08-21"`
43734 
43735 - `"compact-2026-09-04"`
4229443736 
4229543737- `"anthropic-workspace-id": optional string`
4229643738 
from line 43903
4246143903 
4246243904 - `string`
4246343905 
42464 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
43906 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4246543907 
4246643908 - `"message-batches-2024-09-24"`
4246743909 
from line 43994
4255243994 - `"thinking-binding-controls-2026-08-01"`
4255343995 
4255443996 - `"mid-conversation-system-clear-at-2026-08-21"`
43997 
43998 - `"compact-2026-09-04"`
4255543999 
4255644000- `"anthropic-workspace-id": optional string`
4255744001 
from line 44058
4261444058 
4261544059 - `string`
4261644060 
42617 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
44061 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4261844062 
4261944063 - `"message-batches-2024-09-24"`
4262044064 
from line 44149
4270544149 - `"thinking-binding-controls-2026-08-01"`
4270644150 
4270744151 - `"mid-conversation-system-clear-at-2026-08-21"`
44152 
44153 - `"compact-2026-09-04"`
4270844154 
4270944155- `"anthropic-workspace-id": optional string`
4271044156 
from line 45076
4363045076 - `encrypted_content: string or null`
4363145077 
4363245078 Opaque metadata from prior compaction, to be round-tripped verbatim
45079 
45080 - `signature: optional string or null`
45081 
45082 Signature over the summary, to be sent back with the block verbatim
4363345083 
4363445084 - `BetaFallbackBlock object`
4363545085 
from line 45844
4439445844 
4439545845 - `"fast"`
4439645846 
44397 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
44398 
44399 Changes the API made to the request's input before showing it to the model:
44400 one entry per change, in request order. Today the only entry type is
44401 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
44402 block from the request's `messages` that was removed from the prompt instead
44403 of being shown to the model because it failed a binding check. More entry
44404 types may be added over time; ignore types you do not recognize.
45847 - `input_transformations: optional array of BetaInputTransformation or null`
45848 
45849 Changes the API made to the request's input before showing it to the model,
45850 and blocks that failed a binding check but were left unchanged: one entry per
45851 block, in request order. Two entry types today. `thinking_dropped` — a
45852 `thinking`, `redacted_thinking` or `connector_text` block from the request's
45853 `messages` that was removed from the prompt instead of being shown to the
45854 model because it failed a binding check. `thinking_mismatch_allowed` — a
45855 `thinking` or `redacted_thinking` block that failed the conversation check
45856 (the conversation before it differs from the one it was created in, or it
45857 carries no record of one on a model that requires it) and was shown to the
45858 model all the same, because that check is not enforced for this request.
45859 More entry types may be added over time; ignore types you do not recognize.
4440545860 
4440645861 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
4440745862 every such response from a model that supports extended thinking, as `[]`
44408 when nothing was changed; without the beta, blocks are removed all the same
44409 but nothing is reported. Removed blocks contribute nothing to
44410 `usage.input_tokens`. When streaming, the array is final in `message_start`;
44411 the final `message_delta` event carries it only when a server-side model
44412 fallback happened mid-stream, in which case it holds the serving model's
44413 entries and replaces the one in `message_start`.
44414 
44415 - `type: "thinking_dropped"`
44416 
44417 Always `thinking_dropped` for this entry type.
44418 
44419 default: thinking_dropped
44420 
44421 - `path: string`
44422 
44423 Where the removed block was in your request, as `messages.{i}.content.{j}`:
44424 `i` indexes the `messages` array you sent and `j` that message's `content`
44425 array — the same form error messages use.
44426 
44427 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
44428 
44429 Which binding check removed the block: `model_binding_mismatch` — it was
44430 created by a model whose reasoning the requested model may not read;
44431 `prefix_binding_mismatch` — the conversation before it differs from the
44432 conversation it was created in (the rest of that turn's consecutive thinking
44433 blocks are removed with it, each with this reason);
44434 `organization_binding_mismatch` — it was created under a different
44435 organization (an Anthropic organization, AWS account or Google Cloud project)
44436 and this organization is not one of its additional organizations;
44437 `end_user_binding_mismatch` — it was created for a different end user, or
44438 was removed by the consumer-organization binding. A block that would fail
44439 several checks reports one reason, in this order of precedence:
44440 `organization_binding_mismatch`, `end_user_binding_mismatch`,
44441 `model_binding_mismatch`, `prefix_binding_mismatch`.
44442 
44443 - `"model_binding_mismatch"`
44444 
44445 - `"prefix_binding_mismatch"`
44446 
44447 - `"organization_binding_mismatch"`
44448 
44449 - `"end_user_binding_mismatch"`
45863 when there is no entry to report; without the beta, blocks are removed or
45864 left in place all the same but nothing is reported. Removed blocks contribute
45865 nothing to `usage.input_tokens`; blocks left in place count as sent. When
45866 streaming, the array is final in `message_start`; the final `message_delta`
45867 event carries it only when a server-side model fallback happened mid-stream,
45868 in which case it holds the serving model's entries and replaces the one in
45869 `message_start`.
45870 
45871 - `BetaThinkingDroppedInputTransformation object`
45872 
45873 - `type: "thinking_dropped"`
45874 
45875 Always `thinking_dropped` for this entry type.
45876 
45877 default: thinking_dropped
45878 
45879 - `path: string`
45880 
45881 Where the removed block was in your request, as `messages.{i}.content.{j}`:
45882 `i` indexes the `messages` array you sent and `j` that message's `content`
45883 array — the same form error messages use.
45884 
45885 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
45886 
45887 Which binding check removed the block: `model_binding_mismatch` — it was
45888 created by a model whose reasoning the requested model may not read;
45889 `prefix_binding_mismatch` — the conversation before it differs from the
45890 conversation it was created in (the rest of that turn's consecutive thinking
45891 blocks are removed with it, each with this reason);
45892 `organization_binding_mismatch` — it was created under a different
45893 organization (an Anthropic organization, AWS account or Google Cloud project)
45894 and this organization is not one of its additional organizations;
45895 `end_user_binding_mismatch` — it was created for a different end user, or
45896 was removed by the consumer-organization binding. A block that would fail
45897 several checks reports one reason, in this order of precedence:
45898 `organization_binding_mismatch`, `end_user_binding_mismatch`,
45899 `model_binding_mismatch`, `prefix_binding_mismatch`.
45900 
45901 - `"model_binding_mismatch"`
45902 
45903 - `"prefix_binding_mismatch"`
45904 
45905 - `"organization_binding_mismatch"`
45906 
45907 - `"end_user_binding_mismatch"`
45908 
45909 - `BetaThinkingMismatchAllowedInputTransformation object`
45910 
45911 - `type: "thinking_mismatch_allowed"`
45912 
45913 Always `thinking_mismatch_allowed` for this entry type.
45914 
45915 default: thinking_mismatch_allowed
45916 
45917 - `path: string`
45918 
45919 Where the block is in your request, as `messages.{i}.content.{j}`:
45920 `i` indexes the `messages` array you sent and `j` that message's `content`
45921 array — the same form error messages use.
45922 
45923 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
45924 
45925 Which binding check the block failed; the block was shown to the model all
45926 the same. Always `prefix_binding_mismatch` today — the conversation before
45927 the block differs from the conversation it was created in, or the block
45928 carries no record of one on a model that requires it. Were the check
45929 enforced for this request, the block would have been removed or the request
45930 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
45931 takes the rest of that turn's consecutive thinking blocks, whereas here each
45932 block is checked on its own, so `thinking_mismatch_allowed` entries are a
45933 lower bound on what enforcement would remove.
45934 
45935 - `"model_binding_mismatch"`
45936 
45937 - `"prefix_binding_mismatch"`
45938 
45939 - `"organization_binding_mismatch"`
45940 
45941 - `"end_user_binding_mismatch"`
4445045942 
4445145943 - `BetaMessageBatchErroredResult object`
4445245944 
4445345945 

api/beta/messages/batches Changed · +543 / -206 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 23
2323 
2424 - `string`
2525 
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2727 
2828 - `"message-batches-2024-09-24"`
2929 
from line 114
114114 - `"thinking-binding-controls-2026-08-01"`
115115 
116116 - `"mid-conversation-system-clear-at-2026-08-21"`
117 
118 - `"compact-2026-09-04"`
117119 
118120- `"anthropic-user-profile-id": optional string`
119121 
from line 1306
13041306 - `encrypted_content: optional string or null`
13051307 
13061308 Opaque metadata from prior compaction, to be round-tripped verbatim
1309 
1310 - `signature: optional string or null`
1311 
1312 The block's signature as returned, to be sent back verbatim
13071313 
13081314 - `BetaRequestToolAdditionBlock object`
13091315 
from line 1550
15441550 - `cache_control: optional BetaCacheControlEphemeral or null`
15451551 
15461552 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
1553 
1554 - `compaction: optional BetaCompactionConfig or null`
1555 
1556 Compact the whole conversation and return a signed `compaction` block,
1557 alone, that a later request sends back first in `messages`, in place of
1558 the messages it summarizes. There is no trigger and no pause flag: sending
1559 the parameter compacts, and nothing is sampled after the block.
1560 
1561 The summarization prompt is the server's own unless `instructions` are
1562 given, which then replace it for this request; a value that is empty or
1563 only whitespace counts as absent.
1564 
1565 - `type: "summarize"`
1566 
1567 - `instructions: optional string or null`
1568 
1569 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
1570 
1571 maxLength: 16384
15471572 
15481573 - `container: optional BetaContainerParams or string or null`
15491574 
from line 3488
34633488 
34643489 When true, guarantees schema validation on tool names and inputs
34653490 
3491 - `url_sources: optional BetaWebFetchURLSources or null`
3492 
3493 Which sources contribute to the set of URLs web fetch may fetch.
3494 
3495 Each key is a tagged variant: `user_input` is `all` or `none`; the
3496 two tool filters are `all`, `none`, `only` (only the named tools'
3497 results) or `except` (every result but the named tools'). A named tool
3498 must be declared in this request's `tools[]`.
3499 
3500 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3501 
3502 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
3503 
3504 - `BetaWebFetchURLSourceAll object`
3505 
3506 The `url_sources` variant under which a source contributes in
3507 full: every result of the tool filter's source, or all user input.
3508 
3509 - `type: "all"`
3510 
3511 - `BetaWebFetchURLSourceNone object`
3512 
3513 The `url_sources` variant under which a source contributes nothing:
3514 no result of the tool filter's source, or no user input.
3515 
3516 - `type: "none"`
3517 
3518 - `BetaWebFetchURLSourceOnly object`
3519 
3520 The tool filter variant under which only the named tools' results
3521 contribute.
3522 
3523 - `type: "only"`
3524 
3525 - `tools: array of BetaWebFetchURLSourceToolReference`
3526 
3527 - `type: "tool_reference"`
3528 
3529 - `name: string`
3530 
3531 - `BetaWebFetchURLSourceExcept object`
3532 
3533 The tool filter variant under which every result but the named
3534 tools' contributes.
3535 
3536 - `type: "except"`
3537 
3538 - `tools: array of BetaWebFetchURLSourceToolReference`
3539 
3540 - `type: "tool_reference"`
3541 
3542 - `name: string`
3543 
3544 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3545 
3546 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
3547 
3548 - `BetaWebFetchURLSourceAll object`
3549 
3550 The `url_sources` variant under which a source contributes in
3551 full: every result of the tool filter's source, or all user input.
3552 
3553 - `BetaWebFetchURLSourceNone object`
3554 
3555 The `url_sources` variant under which a source contributes nothing:
3556 no result of the tool filter's source, or no user input.
3557 
3558 - `BetaWebFetchURLSourceOnly object`
3559 
3560 The tool filter variant under which only the named tools' results
3561 contribute.
3562 
3563 - `BetaWebFetchURLSourceExcept object`
3564 
3565 The tool filter variant under which every result but the named
3566 tools' contributes.
3567 
3568 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
3569 
3570 Whether URLs in user messages are fetchable: "all" or "none".
3571 
3572 - `BetaWebFetchURLSourceAll object`
3573 
3574 The `url_sources` variant under which a source contributes in
3575 full: every result of the tool filter's source, or all user input.
3576 
3577 - `BetaWebFetchURLSourceNone object`
3578 
3579 The `url_sources` variant under which a source contributes nothing:
3580 no result of the tool filter's source, or no user input.
3581 
34663582 - `BetaWebSearchTool20260209 object`
34673583 
34683584 - `type: "web_search_20260209"`
from line 3685
35693685 
35703686 When true, guarantees schema validation on tool names and inputs
35713687 
3688 - `url_sources: optional BetaWebFetchURLSources or null`
3689 
3690 Which sources contribute to the set of URLs web fetch may fetch.
3691 
3692 Each key is a tagged variant: `user_input` is `all` or `none`; the
3693 two tool filters are `all`, `none`, `only` (only the named tools'
3694 results) or `except` (every result but the named tools'). A named tool
3695 must be declared in this request's `tools[]`.
3696 
35723697 - `BetaWebFetchTool20260309 object`
35733698 
35743699 Web fetch tool with use_cache parameter for bypassing cached content.
from line 3752
36273752 
36283753 When true, guarantees schema validation on tool names and inputs
36293754 
3755 - `url_sources: optional BetaWebFetchURLSources or null`
3756 
3757 Which sources contribute to the set of URLs web fetch may fetch.
3758 
3759 Each key is a tagged variant: `user_input` is `all` or `none`; the
3760 two tool filters are `all`, `none`, `only` (only the named tools'
3761 results) or `except` (every result but the named tools'). A named tool
3762 must be declared in this request's `tools[]`.
3763 
36303764 - `use_cache: optional boolean`
36313765 
36323766 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 3886
37523886 - `strict: optional boolean`
37533887 
37543888 When true, guarantees schema validation on tool names and inputs
3889 
3890 - `url_sources: optional BetaWebFetchURLSources or null`
3891 
3892 Which sources contribute to the set of URLs web fetch may fetch.
3893 
3894 Each key is a tagged variant: `user_input` is `all` or `none`; the
3895 two tool filters are `all`, `none`, `only` (only the named tools'
3896 results) or `except` (every result but the named tools'). A named tool
3897 must be declared in this request's `tools[]`.
37553898 
37563899 - `use_cache: optional boolean`
37573900 
from line 4287
41444287 
41454288 - `string`
41464289 
4147 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4290 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
41484291 
41494292 - `"message-batches-2024-09-24"`
41504293 
from line 4378
42354378 - `"thinking-binding-controls-2026-08-01"`
42364379 
42374380 - `"mid-conversation-system-clear-at-2026-08-21"`
4381 
4382 - `"compact-2026-09-04"`
42384383 
42394384- `"anthropic-workspace-id": optional string`
42404385 
from line 4559
44144559 
44154560 - `string`
44164561 
4417 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4562 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
44184563 
44194564 - `"message-batches-2024-09-24"`
44204565 
from line 4650
45054650 - `"thinking-binding-controls-2026-08-01"`
45064651 
45074652 - `"mid-conversation-system-clear-at-2026-08-21"`
4653 
4654 - `"compact-2026-09-04"`
45084655 
45094656- `"anthropic-workspace-id": optional string`
45104657 
from line 4840
46934840 
46944841 - `string`
46954842 
4696 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4843 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
46974844 
46984845 - `"message-batches-2024-09-24"`
46994846 
from line 4931
47844931 - `"thinking-binding-controls-2026-08-01"`
47854932 
47864933 - `"mid-conversation-system-clear-at-2026-08-21"`
4934 
4935 - `"compact-2026-09-04"`
47874936 
47884937- `"anthropic-workspace-id": optional string`
47894938 
from line 5103
49545103 
49555104 - `string`
49565105 
4957 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
5106 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
49585107 
49595108 - `"message-batches-2024-09-24"`
49605109 
from line 5194
50455194 - `"thinking-binding-controls-2026-08-01"`
50465195 
50475196 - `"mid-conversation-system-clear-at-2026-08-21"`
5197 
5198 - `"compact-2026-09-04"`
50485199 
50495200- `"anthropic-workspace-id": optional string`
50505201 
from line 5258
51075258 
51085259 - `string`
51095260 
5110 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
5261 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
51115262 
51125263 - `"message-batches-2024-09-24"`
51135264 
from line 5349
51985349 - `"thinking-binding-controls-2026-08-01"`
51995350 
52005351 - `"mid-conversation-system-clear-at-2026-08-21"`
5352 
5353 - `"compact-2026-09-04"`
52015354 
52025355- `"anthropic-workspace-id": optional string`
52035356 
from line 6276
61236276 - `encrypted_content: string or null`
61246277 
61256278 Opaque metadata from prior compaction, to be round-tripped verbatim
6279 
6280 - `signature: optional string or null`
6281 
6282 Signature over the summary, to be sent back with the block verbatim
61266283 
61276284 - `BetaFallbackBlock object`
61286285 
from line 7044
68877044 
68887045 - `"fast"`
68897046 
6890 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
6891 
6892 Changes the API made to the request's input before showing it to the model:
6893 one entry per change, in request order. Today the only entry type is
6894 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
6895 block from the request's `messages` that was removed from the prompt instead
6896 of being shown to the model because it failed a binding check. More entry
6897 types may be added over time; ignore types you do not recognize.
7047 - `input_transformations: optional array of BetaInputTransformation or null`
7048 
7049 Changes the API made to the request's input before showing it to the model,
7050 and blocks that failed a binding check but were left unchanged: one entry per
7051 block, in request order. Two entry types today. `thinking_dropped` — a
7052 `thinking`, `redacted_thinking` or `connector_text` block from the request's
7053 `messages` that was removed from the prompt instead of being shown to the
7054 model because it failed a binding check. `thinking_mismatch_allowed` — a
7055 `thinking` or `redacted_thinking` block that failed the conversation check
7056 (the conversation before it differs from the one it was created in, or it
7057 carries no record of one on a model that requires it) and was shown to the
7058 model all the same, because that check is not enforced for this request.
7059 More entry types may be added over time; ignore types you do not recognize.
68987060 
68997061 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
69007062 every such response from a model that supports extended thinking, as `[]`
6901 when nothing was changed; without the beta, blocks are removed all the same
6902 but nothing is reported. Removed blocks contribute nothing to
6903 `usage.input_tokens`. When streaming, the array is final in `message_start`;
6904 the final `message_delta` event carries it only when a server-side model
6905 fallback happened mid-stream, in which case it holds the serving model's
6906 entries and replaces the one in `message_start`.
6907 
6908 - `type: "thinking_dropped"`
6909 
6910 Always `thinking_dropped` for this entry type.
6911 
6912 default: thinking_dropped
6913 
6914 - `path: string`
6915 
6916 Where the removed block was in your request, as `messages.{i}.content.{j}`:
6917 `i` indexes the `messages` array you sent and `j` that message's `content`
6918 array — the same form error messages use.
6919 
6920 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
6921 
6922 Which binding check removed the block: `model_binding_mismatch` — it was
6923 created by a model whose reasoning the requested model may not read;
6924 `prefix_binding_mismatch` — the conversation before it differs from the
6925 conversation it was created in (the rest of that turn's consecutive thinking
6926 blocks are removed with it, each with this reason);
6927 `organization_binding_mismatch` — it was created under a different
6928 organization (an Anthropic organization, AWS account or Google Cloud project)
6929 and this organization is not one of its additional organizations;
6930 `end_user_binding_mismatch` — it was created for a different end user, or
6931 was removed by the consumer-organization binding. A block that would fail
6932 several checks reports one reason, in this order of precedence:
6933 `organization_binding_mismatch`, `end_user_binding_mismatch`,
6934 `model_binding_mismatch`, `prefix_binding_mismatch`.
6935 
6936 - `"model_binding_mismatch"`
6937 
6938 - `"prefix_binding_mismatch"`
6939 
6940 - `"organization_binding_mismatch"`
6941 
6942 - `"end_user_binding_mismatch"`
7063 when there is no entry to report; without the beta, blocks are removed or
7064 left in place all the same but nothing is reported. Removed blocks contribute
7065 nothing to `usage.input_tokens`; blocks left in place count as sent. When
7066 streaming, the array is final in `message_start`; the final `message_delta`
7067 event carries it only when a server-side model fallback happened mid-stream,
7068 in which case it holds the serving model's entries and replaces the one in
7069 `message_start`.
7070 
7071 - `BetaThinkingDroppedInputTransformation object`
7072 
7073 - `type: "thinking_dropped"`
7074 
7075 Always `thinking_dropped` for this entry type.
7076 
7077 default: thinking_dropped
7078 
7079 - `path: string`
7080 
7081 Where the removed block was in your request, as `messages.{i}.content.{j}`:
7082 `i` indexes the `messages` array you sent and `j` that message's `content`
7083 array — the same form error messages use.
7084 
7085 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
7086 
7087 Which binding check removed the block: `model_binding_mismatch` — it was
7088 created by a model whose reasoning the requested model may not read;
7089 `prefix_binding_mismatch` — the conversation before it differs from the
7090 conversation it was created in (the rest of that turn's consecutive thinking
7091 blocks are removed with it, each with this reason);
7092 `organization_binding_mismatch` — it was created under a different
7093 organization (an Anthropic organization, AWS account or Google Cloud project)
7094 and this organization is not one of its additional organizations;
7095 `end_user_binding_mismatch` — it was created for a different end user, or
7096 was removed by the consumer-organization binding. A block that would fail
7097 several checks reports one reason, in this order of precedence:
7098 `organization_binding_mismatch`, `end_user_binding_mismatch`,
7099 `model_binding_mismatch`, `prefix_binding_mismatch`.
7100 
7101 - `"model_binding_mismatch"`
7102 
7103 - `"prefix_binding_mismatch"`
7104 
7105 - `"organization_binding_mismatch"`
7106 
7107 - `"end_user_binding_mismatch"`
7108 
7109 - `BetaThinkingMismatchAllowedInputTransformation object`
7110 
7111 - `type: "thinking_mismatch_allowed"`
7112 
7113 Always `thinking_mismatch_allowed` for this entry type.
7114 
7115 default: thinking_mismatch_allowed
7116 
7117 - `path: string`
7118 
7119 Where the block is in your request, as `messages.{i}.content.{j}`:
7120 `i` indexes the `messages` array you sent and `j` that message's `content`
7121 array — the same form error messages use.
7122 
7123 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
7124 
7125 Which binding check the block failed; the block was shown to the model all
7126 the same. Always `prefix_binding_mismatch` today — the conversation before
7127 the block differs from the conversation it was created in, or the block
7128 carries no record of one on a model that requires it. Were the check
7129 enforced for this request, the block would have been removed or the request
7130 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
7131 takes the rest of that turn's consecutive thinking blocks, whereas here each
7132 block is checked on its own, so `thinking_mismatch_allowed` entries are a
7133 lower bound on what enforcement would remove.
7134 
7135 - `"model_binding_mismatch"`
7136 
7137 - `"prefix_binding_mismatch"`
7138 
7139 - `"organization_binding_mismatch"`
7140 
7141 - `"end_user_binding_mismatch"`
69437142 
69447143 - `BetaMessageBatchErroredResult object`
69457144 
from line 8441
82428441 - `encrypted_content: string or null`
82438442 
82448443 Opaque metadata from prior compaction, to be round-tripped verbatim
8444 
8445 - `signature: optional string or null`
8446 
8447 Signature over the summary, to be sent back with the block verbatim
82458448 
82468449 - `BetaFallbackBlock object`
82478450 
from line 9209
90069209 
90079210 - `"fast"`
90089211 
9009 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
9010 
9011 Changes the API made to the request's input before showing it to the model:
9012 one entry per change, in request order. Today the only entry type is
9013 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
9014 block from the request's `messages` that was removed from the prompt instead
9015 of being shown to the model because it failed a binding check. More entry
9016 types may be added over time; ignore types you do not recognize.
9212 - `input_transformations: optional array of BetaInputTransformation or null`
9213 
9214 Changes the API made to the request's input before showing it to the model,
9215 and blocks that failed a binding check but were left unchanged: one entry per
9216 block, in request order. Two entry types today. `thinking_dropped` — a
9217 `thinking`, `redacted_thinking` or `connector_text` block from the request's
9218 `messages` that was removed from the prompt instead of being shown to the
9219 model because it failed a binding check. `thinking_mismatch_allowed` — a
9220 `thinking` or `redacted_thinking` block that failed the conversation check
9221 (the conversation before it differs from the one it was created in, or it
9222 carries no record of one on a model that requires it) and was shown to the
9223 model all the same, because that check is not enforced for this request.
9224 More entry types may be added over time; ignore types you do not recognize.
90179225 
90189226 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
90199227 every such response from a model that supports extended thinking, as `[]`
9020 when nothing was changed; without the beta, blocks are removed all the same
9021 but nothing is reported. Removed blocks contribute nothing to
9022 `usage.input_tokens`. When streaming, the array is final in `message_start`;
9023 the final `message_delta` event carries it only when a server-side model
9024 fallback happened mid-stream, in which case it holds the serving model's
9025 entries and replaces the one in `message_start`.
9026 
9027 - `type: "thinking_dropped"`
9028 
9029 Always `thinking_dropped` for this entry type.
9030 
9031 default: thinking_dropped
9032 
9033 - `path: string`
9034 
9035 Where the removed block was in your request, as `messages.{i}.content.{j}`:
9036 `i` indexes the `messages` array you sent and `j` that message's `content`
9037 array — the same form error messages use.
9038 
9039 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
9040 
9041 Which binding check removed the block: `model_binding_mismatch` — it was
9042 created by a model whose reasoning the requested model may not read;
9043 `prefix_binding_mismatch` — the conversation before it differs from the
9044 conversation it was created in (the rest of that turn's consecutive thinking
9045 blocks are removed with it, each with this reason);
9046 `organization_binding_mismatch` — it was created under a different
9047 organization (an Anthropic organization, AWS account or Google Cloud project)
9048 and this organization is not one of its additional organizations;
9049 `end_user_binding_mismatch` — it was created for a different end user, or
9050 was removed by the consumer-organization binding. A block that would fail
9051 several checks reports one reason, in this order of precedence:
9052 `organization_binding_mismatch`, `end_user_binding_mismatch`,
9053 `model_binding_mismatch`, `prefix_binding_mismatch`.
9054 
9055 - `"model_binding_mismatch"`
9056 
9057 - `"prefix_binding_mismatch"`
9058 
9059 - `"organization_binding_mismatch"`
9060 
9061 - `"end_user_binding_mismatch"`
9228 when there is no entry to report; without the beta, blocks are removed or
9229 left in place all the same but nothing is reported. Removed blocks contribute
9230 nothing to `usage.input_tokens`; blocks left in place count as sent. When
9231 streaming, the array is final in `message_start`; the final `message_delta`
9232 event carries it only when a server-side model fallback happened mid-stream,
9233 in which case it holds the serving model's entries and replaces the one in
9234 `message_start`.
9235 
9236 - `BetaThinkingDroppedInputTransformation object`
9237 
9238 - `type: "thinking_dropped"`
9239 
9240 Always `thinking_dropped` for this entry type.
9241 
9242 default: thinking_dropped
9243 
9244 - `path: string`
9245 
9246 Where the removed block was in your request, as `messages.{i}.content.{j}`:
9247 `i` indexes the `messages` array you sent and `j` that message's `content`
9248 array — the same form error messages use.
9249 
9250 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
9251 
9252 Which binding check removed the block: `model_binding_mismatch` — it was
9253 created by a model whose reasoning the requested model may not read;
9254 `prefix_binding_mismatch` — the conversation before it differs from the
9255 conversation it was created in (the rest of that turn's consecutive thinking
9256 blocks are removed with it, each with this reason);
9257 `organization_binding_mismatch` — it was created under a different
9258 organization (an Anthropic organization, AWS account or Google Cloud project)
9259 and this organization is not one of its additional organizations;
9260 `end_user_binding_mismatch` — it was created for a different end user, or
9261 was removed by the consumer-organization binding. A block that would fail
9262 several checks reports one reason, in this order of precedence:
9263 `organization_binding_mismatch`, `end_user_binding_mismatch`,
9264 `model_binding_mismatch`, `prefix_binding_mismatch`.
9265 
9266 - `"model_binding_mismatch"`
9267 
9268 - `"prefix_binding_mismatch"`
9269 
9270 - `"organization_binding_mismatch"`
9271 
9272 - `"end_user_binding_mismatch"`
9273 
9274 - `BetaThinkingMismatchAllowedInputTransformation object`
9275 
9276 - `type: "thinking_mismatch_allowed"`
9277 
9278 Always `thinking_mismatch_allowed` for this entry type.
9279 
9280 default: thinking_mismatch_allowed
9281 
9282 - `path: string`
9283 
9284 Where the block is in your request, as `messages.{i}.content.{j}`:
9285 `i` indexes the `messages` array you sent and `j` that message's `content`
9286 array — the same form error messages use.
9287 
9288 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
9289 
9290 Which binding check the block failed; the block was shown to the model all
9291 the same. Always `prefix_binding_mismatch` today — the conversation before
9292 the block differs from the conversation it was created in, or the block
9293 carries no record of one on a model that requires it. Were the check
9294 enforced for this request, the block would have been removed or the request
9295 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
9296 takes the rest of that turn's consecutive thinking blocks, whereas here each
9297 block is checked on its own, so `thinking_mismatch_allowed` entries are a
9298 lower bound on what enforcement would remove.
9299 
9300 - `"model_binding_mismatch"`
9301 
9302 - `"prefix_binding_mismatch"`
9303 
9304 - `"organization_binding_mismatch"`
9305 
9306 - `"end_user_binding_mismatch"`
90629307 
90639308 - `BetaMessageBatchErroredResult object`
90649309 
from line 10377
1013210377 - `encrypted_content: string or null`
1013310378 
1013410379 Opaque metadata from prior compaction, to be round-tripped verbatim
10380 
10381 - `signature: optional string or null`
10382 
10383 Signature over the summary, to be sent back with the block verbatim
1013510384 
1013610385 - `BetaFallbackBlock object`
1013710386 
from line 11145
1089611145 
1089711146 - `"fast"`
1089811147 
10899 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
10900 
10901 Changes the API made to the request's input before showing it to the model:
10902 one entry per change, in request order. Today the only entry type is
10903 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
10904 block from the request's `messages` that was removed from the prompt instead
10905 of being shown to the model because it failed a binding check. More entry
10906 types may be added over time; ignore types you do not recognize.
11148 - `input_transformations: optional array of BetaInputTransformation or null`
11149 
11150 Changes the API made to the request's input before showing it to the model,
11151 and blocks that failed a binding check but were left unchanged: one entry per
11152 block, in request order. Two entry types today. `thinking_dropped` — a
11153 `thinking`, `redacted_thinking` or `connector_text` block from the request's
11154 `messages` that was removed from the prompt instead of being shown to the
11155 model because it failed a binding check. `thinking_mismatch_allowed` — a
11156 `thinking` or `redacted_thinking` block that failed the conversation check
11157 (the conversation before it differs from the one it was created in, or it
11158 carries no record of one on a model that requires it) and was shown to the
11159 model all the same, because that check is not enforced for this request.
11160 More entry types may be added over time; ignore types you do not recognize.
1090711161 
1090811162 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
1090911163 every such response from a model that supports extended thinking, as `[]`
10910 when nothing was changed; without the beta, blocks are removed all the same
10911 but nothing is reported. Removed blocks contribute nothing to
10912 `usage.input_tokens`. When streaming, the array is final in `message_start`;
10913 the final `message_delta` event carries it only when a server-side model
10914 fallback happened mid-stream, in which case it holds the serving model's
10915 entries and replaces the one in `message_start`.
10916 
10917 - `type: "thinking_dropped"`
10918 
10919 Always `thinking_dropped` for this entry type.
10920 
10921 default: thinking_dropped
10922 
10923 - `path: string`
10924 
10925 Where the removed block was in your request, as `messages.{i}.content.{j}`:
10926 `i` indexes the `messages` array you sent and `j` that message's `content`
10927 array — the same form error messages use.
10928 
10929 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
10930 
10931 Which binding check removed the block: `model_binding_mismatch` — it was
10932 created by a model whose reasoning the requested model may not read;
10933 `prefix_binding_mismatch` — the conversation before it differs from the
10934 conversation it was created in (the rest of that turn's consecutive thinking
10935 blocks are removed with it, each with this reason);
10936 `organization_binding_mismatch` — it was created under a different
10937 organization (an Anthropic organization, AWS account or Google Cloud project)
10938 and this organization is not one of its additional organizations;
10939 `end_user_binding_mismatch` — it was created for a different end user, or
10940 was removed by the consumer-organization binding. A block that would fail
10941 several checks reports one reason, in this order of precedence:
10942 `organization_binding_mismatch`, `end_user_binding_mismatch`,
10943 `model_binding_mismatch`, `prefix_binding_mismatch`.
10944 
10945 - `"model_binding_mismatch"`
10946 
10947 - `"prefix_binding_mismatch"`
10948 
10949 - `"organization_binding_mismatch"`
10950 
10951 - `"end_user_binding_mismatch"`
11164 when there is no entry to report; without the beta, blocks are removed or
11165 left in place all the same but nothing is reported. Removed blocks contribute
11166 nothing to `usage.input_tokens`; blocks left in place count as sent. When
11167 streaming, the array is final in `message_start`; the final `message_delta`
11168 event carries it only when a server-side model fallback happened mid-stream,
11169 in which case it holds the serving model's entries and replaces the one in
11170 `message_start`.
11171 
11172 - `BetaThinkingDroppedInputTransformation object`
11173 
11174 - `type: "thinking_dropped"`
11175 
11176 Always `thinking_dropped` for this entry type.
11177 
11178 default: thinking_dropped
11179 
11180 - `path: string`
11181 
11182 Where the removed block was in your request, as `messages.{i}.content.{j}`:
11183 `i` indexes the `messages` array you sent and `j` that message's `content`
11184 array — the same form error messages use.
11185 
11186 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
11187 
11188 Which binding check removed the block: `model_binding_mismatch` — it was
11189 created by a model whose reasoning the requested model may not read;
11190 `prefix_binding_mismatch` — the conversation before it differs from the
11191 conversation it was created in (the rest of that turn's consecutive thinking
11192 blocks are removed with it, each with this reason);
11193 `organization_binding_mismatch` — it was created under a different
11194 organization (an Anthropic organization, AWS account or Google Cloud project)
11195 and this organization is not one of its additional organizations;
11196 `end_user_binding_mismatch` — it was created for a different end user, or
11197 was removed by the consumer-organization binding. A block that would fail
11198 several checks reports one reason, in this order of precedence:
11199 `organization_binding_mismatch`, `end_user_binding_mismatch`,
11200 `model_binding_mismatch`, `prefix_binding_mismatch`.
11201 
11202 - `"model_binding_mismatch"`
11203 
11204 - `"prefix_binding_mismatch"`
11205 
11206 - `"organization_binding_mismatch"`
11207 
11208 - `"end_user_binding_mismatch"`
11209 
11210 - `BetaThinkingMismatchAllowedInputTransformation object`
11211 
11212 - `type: "thinking_mismatch_allowed"`
11213 
11214 Always `thinking_mismatch_allowed` for this entry type.
11215 
11216 default: thinking_mismatch_allowed
11217 
11218 - `path: string`
11219 
11220 Where the block is in your request, as `messages.{i}.content.{j}`:
11221 `i` indexes the `messages` array you sent and `j` that message's `content`
11222 array — the same form error messages use.
11223 
11224 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
11225 
11226 Which binding check the block failed; the block was shown to the model all
11227 the same. Always `prefix_binding_mismatch` today — the conversation before
11228 the block differs from the conversation it was created in, or the block
11229 carries no record of one on a model that requires it. Were the check
11230 enforced for this request, the block would have been removed or the request
11231 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
11232 takes the rest of that turn's consecutive thinking blocks, whereas here each
11233 block is checked on its own, so `thinking_mismatch_allowed` entries are a
11234 lower bound on what enforcement would remove.
11235 
11236 - `"model_binding_mismatch"`
11237 
11238 - `"prefix_binding_mismatch"`
11239 
11240 - `"organization_binding_mismatch"`
11241 
11242 - `"end_user_binding_mismatch"`
1095211243 
1095311244 - `BetaMessageBatchErroredResult object`
1095411245 
from line 12265
1197412265 - `encrypted_content: string or null`
1197512266 
1197612267 Opaque metadata from prior compaction, to be round-tripped verbatim
12268 
12269 - `signature: optional string or null`
12270 
12271 Signature over the summary, to be sent back with the block verbatim
1197712272 
1197812273 - `BetaFallbackBlock object`
1197912274 
from line 13033
1273813033 
1273913034 - `"fast"`
1274013035 
12741 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
12742 
12743 Changes the API made to the request's input before showing it to the model:
12744 one entry per change, in request order. Today the only entry type is
12745 `thinking_dropped` — a `thinking`, `redacted_thinking` or `connector_text`
12746 block from the request's `messages` that was removed from the prompt instead
12747 of being shown to the model because it failed a binding check. More entry
12748 types may be added over time; ignore types you do not recognize.
13036 - `input_transformations: optional array of BetaInputTransformation or null`
13037 
13038 Changes the API made to the request's input before showing it to the model,
13039 and blocks that failed a binding check but were left unchanged: one entry per
13040 block, in request order. Two entry types today. `thinking_dropped` — a
13041 `thinking`, `redacted_thinking` or `connector_text` block from the request's
13042 `messages` that was removed from the prompt instead of being shown to the
13043 model because it failed a binding check. `thinking_mismatch_allowed` — a
13044 `thinking` or `redacted_thinking` block that failed the conversation check
13045 (the conversation before it differs from the one it was created in, or it
13046 carries no record of one on a model that requires it) and was shown to the
13047 model all the same, because that check is not enforced for this request.
13048 More entry types may be added over time; ignore types you do not recognize.
1274913049 
1275013050 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
1275113051 every such response from a model that supports extended thinking, as `[]`
12752 when nothing was changed; without the beta, blocks are removed all the same
12753 but nothing is reported. Removed blocks contribute nothing to
12754 `usage.input_tokens`. When streaming, the array is final in `message_start`;
12755 the final `message_delta` event carries it only when a server-side model
12756 fallback happened mid-stream, in which case it holds the serving model's
12757 entries and replaces the one in `message_start`.
12758 
12759 - `type: "thinking_dropped"`
12760 
12761 Always `thinking_dropped` for this entry type.
12762 
12763 default: thinking_dropped
12764 
12765 - `path: string`
12766 
12767 Where the removed block was in your request, as `messages.{i}.content.{j}`:
12768 `i` indexes the `messages` array you sent and `j` that message's `content`
12769 array — the same form error messages use.
12770 
12771 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
12772 
12773 Which binding check removed the block: `model_binding_mismatch` — it was
12774 created by a model whose reasoning the requested model may not read;
12775 `prefix_binding_mismatch` — the conversation before it differs from the
12776 conversation it was created in (the rest of that turn's consecutive thinking
12777 blocks are removed with it, each with this reason);
12778 `organization_binding_mismatch` — it was created under a different
12779 organization (an Anthropic organization, AWS account or Google Cloud project)
12780 and this organization is not one of its additional organizations;
12781 `end_user_binding_mismatch` — it was created for a different end user, or
12782 was removed by the consumer-organization binding. A block that would fail
12783 several checks reports one reason, in this order of precedence:
12784 `organization_binding_mismatch`, `end_user_binding_mismatch`,
12785 `model_binding_mismatch`, `prefix_binding_mismatch`.
12786 
12787 - `"model_binding_mismatch"`
12788 
12789 - `"prefix_binding_mismatch"`
12790 
12791 - `"organization_binding_mismatch"`
12792 
12793 - `"end_user_binding_mismatch"`
13052 when there is no entry to report; without the beta, blocks are removed or
13053 left in place all the same but nothing is reported. Removed blocks contribute
13054 nothing to `usage.input_tokens`; blocks left in place count as sent. When
13055 streaming, the array is final in `message_start`; the final `message_delta`
13056 event carries it only when a server-side model fallback happened mid-stream,
13057 in which case it holds the serving model's entries and replaces the one in
13058 `message_start`.
13059 
13060 - `BetaThinkingDroppedInputTransformation object`
13061 
13062 - `type: "thinking_dropped"`
13063 
13064 Always `thinking_dropped` for this entry type.
13065 
13066 default: thinking_dropped
13067 
13068 - `path: string`
13069 
13070 Where the removed block was in your request, as `messages.{i}.content.{j}`:
13071 `i` indexes the `messages` array you sent and `j` that message's `content`
13072 array — the same form error messages use.
13073 
13074 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
13075 
13076 Which binding check removed the block: `model_binding_mismatch` — it was
13077 created by a model whose reasoning the requested model may not read;
13078 `prefix_binding_mismatch` — the conversation before it differs from the
13079 conversation it was created in (the rest of that turn's consecutive thinking
13080 blocks are removed with it, each with this reason);
13081 `organization_binding_mismatch` — it was created under a different
13082 organization (an Anthropic organization, AWS account or Google Cloud project)
13083 and this organization is not one of its additional organizations;
13084 `end_user_binding_mismatch` — it was created for a different end user, or
13085 was removed by the consumer-organization binding. A block that would fail
13086 several checks reports one reason, in this order of precedence:
13087 `organization_binding_mismatch`, `end_user_binding_mismatch`,
13088 `model_binding_mismatch`, `prefix_binding_mismatch`.
13089 
13090 - `"model_binding_mismatch"`
13091 
13092 - `"prefix_binding_mismatch"`
13093 
13094 - `"organization_binding_mismatch"`
13095 
13096 - `"end_user_binding_mismatch"`
13097 
13098 - `BetaThinkingMismatchAllowedInputTransformation object`
13099 
13100 - `type: "thinking_mismatch_allowed"`
13101 
13102 Always `thinking_mismatch_allowed` for this entry type.
13103 
13104 default: thinking_mismatch_allowed
13105 
13106 - `path: string`
13107 
13108 Where the block is in your request, as `messages.{i}.content.{j}`:
13109 `i` indexes the `messages` array you sent and `j` that message's `content`
13110 array — the same form error messages use.
13111 
13112 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
13113 
13114 Which binding check the block failed; the block was shown to the model all
13115 the same. Always `prefix_binding_mismatch` today — the conversation before
13116 the block differs from the conversation it was created in, or the block
13117 carries no record of one on a model that requires it. Were the check
13118 enforced for this request, the block would have been removed or the request
13119 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
13120 takes the rest of that turn's consecutive thinking blocks, whereas here each
13121 block is checked on its own, so `thinking_mismatch_allowed` entries are a
13122 lower bound on what enforcement would remove.
13123 
13124 - `"model_binding_mismatch"`
13125 
13126 - `"prefix_binding_mismatch"`
13127 
13128 - `"organization_binding_mismatch"`
13129 
13130 - `"end_user_binding_mismatch"`
1279413131 

api/beta/messages/batches/create Changed · +144 / -1 lines

from line 21
2121 
2222 - `string`
2323 
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2525 
2626 - `"message-batches-2024-09-24"`
2727 
from line 113
113113 
114114 - `"mid-conversation-system-clear-at-2026-08-21"`
115115 
116 - `"compact-2026-09-04"`
117 
116118- `"anthropic-user-profile-id": optional string`
117119 
118120 The user profile ID to attribute the requests in this batch to. Use when acting on behalf of a party other than your organization. Requires the `user-profiles` beta header. Applies to every request in the batch; an individual request whose `user_profile_id` body field conflicts with this header is errored.
from line 1305
13031305 
13041306 Opaque metadata from prior compaction, to be round-tripped verbatim
13051307 
1308 - `signature: optional string or null`
1309 
1310 The block's signature as returned, to be sent back verbatim
1311 
13061312 - `BetaRequestToolAdditionBlock object`
13071313 
13081314 Mid-conversation directive to surface a declared tool.
from line 1549
15431549 
15441550 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
15451551 
1552 - `compaction: optional BetaCompactionConfig or null`
1553 
1554 Compact the whole conversation and return a signed `compaction` block,
1555 alone, that a later request sends back first in `messages`, in place of
1556 the messages it summarizes. There is no trigger and no pause flag: sending
1557 the parameter compacts, and nothing is sampled after the block.
1558 
1559 The summarization prompt is the server's own unless `instructions` are
1560 given, which then replace it for this request; a value that is empty or
1561 only whitespace counts as absent.
1562 
1563 - `type: "summarize"`
1564 
1565 - `instructions: optional string or null`
1566 
1567 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
1568 
1569 maxLength: 16384
1570 
15461571 - `container: optional BetaContainerParams or string or null`
15471572 
15481573 Container identifier for reuse across requests.
from line 3486
34613486 
34623487 When true, guarantees schema validation on tool names and inputs
34633488 
3489 - `url_sources: optional BetaWebFetchURLSources or null`
3490 
3491 Which sources contribute to the set of URLs web fetch may fetch.
3492 
3493 Each key is a tagged variant: `user_input` is `all` or `none`; the
3494 two tool filters are `all`, `none`, `only` (only the named tools'
3495 results) or `except` (every result but the named tools'). A named tool
3496 must be declared in this request's `tools[]`.
3497 
3498 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3499 
3500 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
3501 
3502 - `BetaWebFetchURLSourceAll object`
3503 
3504 The `url_sources` variant under which a source contributes in
3505 full: every result of the tool filter's source, or all user input.
3506 
3507 - `type: "all"`
3508 
3509 - `BetaWebFetchURLSourceNone object`
3510 
3511 The `url_sources` variant under which a source contributes nothing:
3512 no result of the tool filter's source, or no user input.
3513 
3514 - `type: "none"`
3515 
3516 - `BetaWebFetchURLSourceOnly object`
3517 
3518 The tool filter variant under which only the named tools' results
3519 contribute.
3520 
3521 - `type: "only"`
3522 
3523 - `tools: array of BetaWebFetchURLSourceToolReference`
3524 
3525 - `type: "tool_reference"`
3526 
3527 - `name: string`
3528 
3529 - `BetaWebFetchURLSourceExcept object`
3530 
3531 The tool filter variant under which every result but the named
3532 tools' contributes.
3533 
3534 - `type: "except"`
3535 
3536 - `tools: array of BetaWebFetchURLSourceToolReference`
3537 
3538 - `type: "tool_reference"`
3539 
3540 - `name: string`
3541 
3542 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3543 
3544 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
3545 
3546 - `BetaWebFetchURLSourceAll object`
3547 
3548 The `url_sources` variant under which a source contributes in
3549 full: every result of the tool filter's source, or all user input.
3550 
3551 - `BetaWebFetchURLSourceNone object`
3552 
3553 The `url_sources` variant under which a source contributes nothing:
3554 no result of the tool filter's source, or no user input.
3555 
3556 - `BetaWebFetchURLSourceOnly object`
3557 
3558 The tool filter variant under which only the named tools' results
3559 contribute.
3560 
3561 - `BetaWebFetchURLSourceExcept object`
3562 
3563 The tool filter variant under which every result but the named
3564 tools' contributes.
3565 
3566 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
3567 
3568 Whether URLs in user messages are fetchable: "all" or "none".
3569 
3570 - `BetaWebFetchURLSourceAll object`
3571 
3572 The `url_sources` variant under which a source contributes in
3573 full: every result of the tool filter's source, or all user input.
3574 
3575 - `BetaWebFetchURLSourceNone object`
3576 
3577 The `url_sources` variant under which a source contributes nothing:
3578 no result of the tool filter's source, or no user input.
3579 
34643580 - `BetaWebSearchTool20260209 object`
34653581 
34663582 - `type: "web_search_20260209"`
from line 3683
35673683 
35683684 When true, guarantees schema validation on tool names and inputs
35693685 
3686 - `url_sources: optional BetaWebFetchURLSources or null`
3687 
3688 Which sources contribute to the set of URLs web fetch may fetch.
3689 
3690 Each key is a tagged variant: `user_input` is `all` or `none`; the
3691 two tool filters are `all`, `none`, `only` (only the named tools'
3692 results) or `except` (every result but the named tools'). A named tool
3693 must be declared in this request's `tools[]`.
3694 
35703695 - `BetaWebFetchTool20260309 object`
35713696 
35723697 Web fetch tool with use_cache parameter for bypassing cached content.
from line 3750
36253750 
36263751 When true, guarantees schema validation on tool names and inputs
36273752 
3753 - `url_sources: optional BetaWebFetchURLSources or null`
3754 
3755 Which sources contribute to the set of URLs web fetch may fetch.
3756 
3757 Each key is a tagged variant: `user_input` is `all` or `none`; the
3758 two tool filters are `all`, `none`, `only` (only the named tools'
3759 results) or `except` (every result but the named tools'). A named tool
3760 must be declared in this request's `tools[]`.
3761 
36283762 - `use_cache: optional boolean`
36293763 
36303764 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 3884
37503884 - `strict: optional boolean`
37513885 
37523886 When true, guarantees schema validation on tool names and inputs
3887 
3888 - `url_sources: optional BetaWebFetchURLSources or null`
3889 
3890 Which sources contribute to the set of URLs web fetch may fetch.
3891 
3892 Each key is a tagged variant: `user_input` is `all` or `none`; the
3893 two tool filters are `all`, `none`, `only` (only the named tools'
3894 results) or `except` (every result but the named tools'). A named tool
3895 must be declared in this request's `tools[]`.
37533896 
37543897 - `use_cache: optional boolean`
37553898 

api/beta/messages/batches/results Changed · +99 / -51 lines

from line 27
2727 
2828 - `string`
2929 
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
30 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3131 
3232 - `"message-batches-2024-09-24"`
3333 
from line 119
119119 
120120 - `"mid-conversation-system-clear-at-2026-08-21"`
121121 
122 - `"compact-2026-09-04"`
123 
122124- `"anthropic-workspace-id": optional string`
123125 
124126## Returns
from line 1046
10441046 
10451047 Opaque metadata from prior compaction, to be round-tripped verbatim
10461048 
1049 - `signature: optional string or null`
1050 
1051 Signature over the summary, to be sent back with the block verbatim
1052 
10471053 - `BetaFallbackBlock object`
10481054 
10491055 Marks the point in `content` where one model's output gives way to the next.
from line 1813
18071813 
18081814 - `"fast"`
18091815 
1810 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
1816 - `input_transformations: optional array of BetaInputTransformation or null`
18111817 
1812 Changes the API made to the request's input before showing it to the model:
1813 one entry per change, in request order. Today the only entry type is
1814 `thinking_dropped` a `thinking`, `redacted_thinking` or `connector_text`
1815 block from the request's `messages` that was removed from the prompt instead
1816 of being shown to the model because it failed a binding check. More entry
1817 types may be added over time; ignore types you do not recognize.
1818 Changes the API made to the request's input before showing it to the model,
1819 and blocks that failed a binding check but were left unchanged: one entry per
1820 block, in request order. Two entry types today. `thinking_dropped` — a
1821 `thinking`, `redacted_thinking` or `connector_text` block from the request's
1822 `messages` that was removed from the prompt instead of being shown to the
1823 model because it failed a binding check. `thinking_mismatch_allowed` a
1824 `thinking` or `redacted_thinking` block that failed the conversation check
1825 (the conversation before it differs from the one it was created in, or it
1826 carries no record of one on a model that requires it) and was shown to the
1827 model all the same, because that check is not enforced for this request.
1828 More entry types may be added over time; ignore types you do not recognize.
18181829 
18191830 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
18201831 every such response from a model that supports extended thinking, as `[]`
1821 when nothing was changed; without the beta, blocks are removed all the same
1822 but nothing is reported. Removed blocks contribute nothing to
1823 `usage.input_tokens`. When streaming, the array is final in `message_start`;
1824 the final `message_delta` event carries it only when a server-side model
1825 fallback happened mid-stream, in which case it holds the serving model's
1826 entries and replaces the one in `message_start`.
1832 when there is no entry to report; without the beta, blocks are removed or
1833 left in place all the same but nothing is reported. Removed blocks contribute
1834 nothing to `usage.input_tokens`; blocks left in place count as sent. When
1835 streaming, the array is final in `message_start`; the final `message_delta`
1836 event carries it only when a server-side model fallback happened mid-stream,
1837 in which case it holds the serving model's entries and replaces the one in
1838 `message_start`.
18271839 
1828 - `type: "thinking_dropped"`
1840 - `BetaThinkingDroppedInputTransformation object`
18291841 
1830 Always `thinking_dropped` for this entry type.
1842 - `type: "thinking_dropped"`
18311843 
1832 default: thinking_dropped
1844 Always `thinking_dropped` for this entry type.
18331845 
1834 - `path: string`
1846 default: thinking_dropped
18351847 
1836 Where the removed block was in your request, as `messages.{i}.content.{j}`:
1837 `i` indexes the `messages` array you sent and `j` that message's `content`
1838 array — the same form error messages use.
1848 - `path: string`
18391849 
1840 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
1850 Where the removed block was in your request, as `messages.{i}.content.{j}`:
1851 `i` indexes the `messages` array you sent and `j` that message's `content`
1852 array — the same form error messages use.
18411853 
1842 Which binding check removed the block: `model_binding_mismatch` it was
1843 created by a model whose reasoning the requested model may not read;
1844 `prefix_binding_mismatch` — the conversation before it differs from the
1845 conversation it was created in (the rest of that turn's consecutive thinking
1846 blocks are removed with it, each with this reason);
1847 `organization_binding_mismatch` — it was created under a different
1848 organization (an Anthropic organization, AWS account or Google Cloud project)
1849 and this organization is not one of its additional organizations;
1850 `end_user_binding_mismatch` — it was created for a different end user, or
1851 was removed by the consumer-organization binding. A block that would fail
1852 several checks reports one reason, in this order of precedence:
1853 `organization_binding_mismatch`, `end_user_binding_mismatch`,
1854 `model_binding_mismatch`, `prefix_binding_mismatch`.
1854 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
18551855 
1856 - `"model_binding_mismatch"`
1856 Which binding check removed the block: `model_binding_mismatch` — it was
1857 created by a model whose reasoning the requested model may not read;
1858 `prefix_binding_mismatch` — the conversation before it differs from the
1859 conversation it was created in (the rest of that turn's consecutive thinking
1860 blocks are removed with it, each with this reason);
1861 `organization_binding_mismatch` — it was created under a different
1862 organization (an Anthropic organization, AWS account or Google Cloud project)
1863 and this organization is not one of its additional organizations;
1864 `end_user_binding_mismatch` — it was created for a different end user, or
1865 was removed by the consumer-organization binding. A block that would fail
1866 several checks reports one reason, in this order of precedence:
1867 `organization_binding_mismatch`, `end_user_binding_mismatch`,
1868 `model_binding_mismatch`, `prefix_binding_mismatch`.
18571869 
1858 - `"prefix_binding_mismatch"`
1870 - `"model_binding_mismatch"`
18591871 
1860 - `"organization_binding_mismatch"`
1872 - `"prefix_binding_mismatch"`
18611873 
1862 - `"end_user_binding_mismatch"`
1874 - `"organization_binding_mismatch"`
1875 
1876 - `"end_user_binding_mismatch"`
1877 
1878 - `BetaThinkingMismatchAllowedInputTransformation object`
1879 
1880 - `type: "thinking_mismatch_allowed"`
1881 
1882 Always `thinking_mismatch_allowed` for this entry type.
1883 
1884 default: thinking_mismatch_allowed
1885 
1886 - `path: string`
1887 
1888 Where the block is in your request, as `messages.{i}.content.{j}`:
1889 `i` indexes the `messages` array you sent and `j` that message's `content`
1890 array — the same form error messages use.
1891 
1892 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
1893 
1894 Which binding check the block failed; the block was shown to the model all
1895 the same. Always `prefix_binding_mismatch` today — the conversation before
1896 the block differs from the conversation it was created in, or the block
1897 carries no record of one on a model that requires it. Were the check
1898 enforced for this request, the block would have been removed or the request
1899 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
1900 takes the rest of that turn's consecutive thinking blocks, whereas here each
1901 block is checked on its own, so `thinking_mismatch_allowed` entries are a
1902 lower bound on what enforcement would remove.
1903 
1904 - `"model_binding_mismatch"`
1905 
1906 - `"prefix_binding_mismatch"`
1907 
1908 - `"organization_binding_mismatch"`
1909 
1910 - `"end_user_binding_mismatch"`
18631911 
18641912 - `BetaMessageBatchErroredResult object`
18651913 

api/beta/messages/count_tokens Changed · +144 / -1 lines

from line 21
2121 
2222 - `string`
2323 
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2525 
2626 - `"message-batches-2024-09-24"`
2727 
from line 113
113113 
114114 - `"mid-conversation-system-clear-at-2026-08-21"`
115115 
116 - `"compact-2026-09-04"`
117 
116118- `"anthropic-user-profile-id": optional string`
117119 
118120 The user profile ID to attribute this request to. Use when acting on behalf of a party other than your organization. Requires the `user-profiles` beta header.
from line 1273
12711273 
12721274 Opaque metadata from prior compaction, to be round-tripped verbatim
12731275 
1276 - `signature: optional string or null`
1277 
1278 The block's signature as returned, to be sent back verbatim
1279 
12741280 - `BetaRequestToolAdditionBlock object`
12751281 
12761282 Mid-conversation directive to surface a declared tool.
from line 1517
15111517 
15121518 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
15131519 
1520- `compaction: optional BetaCompactionConfig or null`
1521 
1522 Compact the whole conversation and return a signed `compaction` block,
1523 alone, that a later request sends back first in `messages`, in place of
1524 the messages it summarizes. There is no trigger and no pause flag: sending
1525 the parameter compacts, and nothing is sampled after the block.
1526 
1527 The summarization prompt is the server's own unless `instructions` are
1528 given, which then replace it for this request; a value that is empty or
1529 only whitespace counts as absent.
1530 
1531 - `type: "summarize"`
1532 
1533 - `instructions: optional string or null`
1534 
1535 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
1536 
1537 maxLength: 16384
1538 
15141539- `context_management: optional BetaContextManagementConfig or null`
15151540 
15161541 Context management configuration.
from line 3280
32553280 
32563281 When true, guarantees schema validation on tool names and inputs
32573282 
3283 - `url_sources: optional BetaWebFetchURLSources or null`
3284 
3285 Which sources contribute to the set of URLs web fetch may fetch.
3286 
3287 Each key is a tagged variant: `user_input` is `all` or `none`; the
3288 two tool filters are `all`, `none`, `only` (only the named tools'
3289 results) or `except` (every result but the named tools'). A named tool
3290 must be declared in this request's `tools[]`.
3291 
3292 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3293 
3294 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
3295 
3296 - `BetaWebFetchURLSourceAll object`
3297 
3298 The `url_sources` variant under which a source contributes in
3299 full: every result of the tool filter's source, or all user input.
3300 
3301 - `type: "all"`
3302 
3303 - `BetaWebFetchURLSourceNone object`
3304 
3305 The `url_sources` variant under which a source contributes nothing:
3306 no result of the tool filter's source, or no user input.
3307 
3308 - `type: "none"`
3309 
3310 - `BetaWebFetchURLSourceOnly object`
3311 
3312 The tool filter variant under which only the named tools' results
3313 contribute.
3314 
3315 - `type: "only"`
3316 
3317 - `tools: array of BetaWebFetchURLSourceToolReference`
3318 
3319 - `type: "tool_reference"`
3320 
3321 - `name: string`
3322 
3323 - `BetaWebFetchURLSourceExcept object`
3324 
3325 The tool filter variant under which every result but the named
3326 tools' contributes.
3327 
3328 - `type: "except"`
3329 
3330 - `tools: array of BetaWebFetchURLSourceToolReference`
3331 
3332 - `type: "tool_reference"`
3333 
3334 - `name: string`
3335 
3336 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3337 
3338 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
3339 
3340 - `BetaWebFetchURLSourceAll object`
3341 
3342 The `url_sources` variant under which a source contributes in
3343 full: every result of the tool filter's source, or all user input.
3344 
3345 - `BetaWebFetchURLSourceNone object`
3346 
3347 The `url_sources` variant under which a source contributes nothing:
3348 no result of the tool filter's source, or no user input.
3349 
3350 - `BetaWebFetchURLSourceOnly object`
3351 
3352 The tool filter variant under which only the named tools' results
3353 contribute.
3354 
3355 - `BetaWebFetchURLSourceExcept object`
3356 
3357 The tool filter variant under which every result but the named
3358 tools' contributes.
3359 
3360 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
3361 
3362 Whether URLs in user messages are fetchable: "all" or "none".
3363 
3364 - `BetaWebFetchURLSourceAll object`
3365 
3366 The `url_sources` variant under which a source contributes in
3367 full: every result of the tool filter's source, or all user input.
3368 
3369 - `BetaWebFetchURLSourceNone object`
3370 
3371 The `url_sources` variant under which a source contributes nothing:
3372 no result of the tool filter's source, or no user input.
3373 
32583374 - `BetaWebSearchTool20260209 object`
32593375 
32603376 - `type: "web_search_20260209"`
from line 3477
33613477 
33623478 When true, guarantees schema validation on tool names and inputs
33633479 
3480 - `url_sources: optional BetaWebFetchURLSources or null`
3481 
3482 Which sources contribute to the set of URLs web fetch may fetch.
3483 
3484 Each key is a tagged variant: `user_input` is `all` or `none`; the
3485 two tool filters are `all`, `none`, `only` (only the named tools'
3486 results) or `except` (every result but the named tools'). A named tool
3487 must be declared in this request's `tools[]`.
3488 
33643489 - `BetaWebFetchTool20260309 object`
33653490 
33663491 Web fetch tool with use_cache parameter for bypassing cached content.
from line 3544
34193544 
34203545 When true, guarantees schema validation on tool names and inputs
34213546 
3547 - `url_sources: optional BetaWebFetchURLSources or null`
3548 
3549 Which sources contribute to the set of URLs web fetch may fetch.
3550 
3551 Each key is a tagged variant: `user_input` is `all` or `none`; the
3552 two tool filters are `all`, `none`, `only` (only the named tools'
3553 results) or `except` (every result but the named tools'). A named tool
3554 must be declared in this request's `tools[]`.
3555 
34223556 - `use_cache: optional boolean`
34233557 
34243558 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 3678
35443678 - `strict: optional boolean`
35453679 
35463680 When true, guarantees schema validation on tool names and inputs
3681 
3682 - `url_sources: optional BetaWebFetchURLSources or null`
3683 
3684 Which sources contribute to the set of URLs web fetch may fetch.
3685 
3686 Each key is a tagged variant: `user_input` is `all` or `none`; the
3687 two tool filters are `all`, `none`, `only` (only the named tools'
3688 results) or `except` (every result but the named tools'). A named tool
3689 must be declared in this request's `tools[]`.
35473690 
35483691 - `use_cache: optional boolean`
35493692 

api/beta/messages/create Changed · +337 / -166 lines

from line 21
2121 
2222 - `string`
2323 
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2525 
2626 - `"message-batches-2024-09-24"`
2727 
from line 113
113113 
114114 - `"mid-conversation-system-clear-at-2026-08-21"`
115115 
116 - `"compact-2026-09-04"`
117 
116118- `"anthropic-user-profile-id": optional string`
117119 
118120 The user profile ID to attribute this request to. Use when acting on behalf of a party other than your organization. Requires the `user-profiles` beta header.
from line 1285
12831285 
12841286 Opaque metadata from prior compaction, to be round-tripped verbatim
12851287 
1288 - `signature: optional string or null`
1289 
1290 The block's signature as returned, to be sent back verbatim
1291 
12861292 - `BetaRequestToolAdditionBlock object`
12871293 
12881294 Mid-conversation directive to surface a declared tool.
from line 1529
15231529 
15241530 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
15251531 
1532- `compaction: optional BetaCompactionConfig or null`
1533 
1534 Compact the whole conversation and return a signed `compaction` block,
1535 alone, that a later request sends back first in `messages`, in place of
1536 the messages it summarizes. There is no trigger and no pause flag: sending
1537 the parameter compacts, and nothing is sampled after the block.
1538 
1539 The summarization prompt is the server's own unless `instructions` are
1540 given, which then replace it for this request; a value that is empty or
1541 only whitespace counts as absent.
1542 
1543 - `type: "summarize"`
1544 
1545 - `instructions: optional string or null`
1546 
1547 Replaces the server's default summarization prompt for this request. An empty or whitespace-only value counts as absent.
1548 
1549 maxLength: 16384
1550 
15261551- `container: optional BetaContainerParams or string or null`
15271552 
15281553 Container identifier for reuse across requests.
from line 3466
34413466 
34423467 When true, guarantees schema validation on tool names and inputs
34433468 
3469 - `url_sources: optional BetaWebFetchURLSources or null`
3470 
3471 Which sources contribute to the set of URLs web fetch may fetch.
3472 
3473 Each key is a tagged variant: `user_input` is `all` or `none`; the
3474 two tool filters are `all`, `none`, `only` (only the named tools'
3475 results) or `except` (every result but the named tools'). A named tool
3476 must be declared in this request's `tools[]`.
3477 
3478 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3479 
3480 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
3481 
3482 - `BetaWebFetchURLSourceAll object`
3483 
3484 The `url_sources` variant under which a source contributes in
3485 full: every result of the tool filter's source, or all user input.
3486 
3487 - `type: "all"`
3488 
3489 - `BetaWebFetchURLSourceNone object`
3490 
3491 The `url_sources` variant under which a source contributes nothing:
3492 no result of the tool filter's source, or no user input.
3493 
3494 - `type: "none"`
3495 
3496 - `BetaWebFetchURLSourceOnly object`
3497 
3498 The tool filter variant under which only the named tools' results
3499 contribute.
3500 
3501 - `type: "only"`
3502 
3503 - `tools: array of BetaWebFetchURLSourceToolReference`
3504 
3505 - `type: "tool_reference"`
3506 
3507 - `name: string`
3508 
3509 - `BetaWebFetchURLSourceExcept object`
3510 
3511 The tool filter variant under which every result but the named
3512 tools' contributes.
3513 
3514 - `type: "except"`
3515 
3516 - `tools: array of BetaWebFetchURLSourceToolReference`
3517 
3518 - `type: "tool_reference"`
3519 
3520 - `name: string`
3521 
3522 - `server_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
3523 
3524 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
3525 
3526 - `BetaWebFetchURLSourceAll object`
3527 
3528 The `url_sources` variant under which a source contributes in
3529 full: every result of the tool filter's source, or all user input.
3530 
3531 - `BetaWebFetchURLSourceNone object`
3532 
3533 The `url_sources` variant under which a source contributes nothing:
3534 no result of the tool filter's source, or no user input.
3535 
3536 - `BetaWebFetchURLSourceOnly object`
3537 
3538 The tool filter variant under which only the named tools' results
3539 contribute.
3540 
3541 - `BetaWebFetchURLSourceExcept object`
3542 
3543 The tool filter variant under which every result but the named
3544 tools' contributes.
3545 
3546 - `user_input: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone`
3547 
3548 Whether URLs in user messages are fetchable: "all" or "none".
3549 
3550 - `BetaWebFetchURLSourceAll object`
3551 
3552 The `url_sources` variant under which a source contributes in
3553 full: every result of the tool filter's source, or all user input.
3554 
3555 - `BetaWebFetchURLSourceNone object`
3556 
3557 The `url_sources` variant under which a source contributes nothing:
3558 no result of the tool filter's source, or no user input.
3559 
34443560 - `BetaWebSearchTool20260209 object`
34453561 
34463562 - `type: "web_search_20260209"`
from line 3663
35473663 
35483664 When true, guarantees schema validation on tool names and inputs
35493665 
3666 - `url_sources: optional BetaWebFetchURLSources or null`
3667 
3668 Which sources contribute to the set of URLs web fetch may fetch.
3669 
3670 Each key is a tagged variant: `user_input` is `all` or `none`; the
3671 two tool filters are `all`, `none`, `only` (only the named tools'
3672 results) or `except` (every result but the named tools'). A named tool
3673 must be declared in this request's `tools[]`.
3674 
35503675 - `BetaWebFetchTool20260309 object`
35513676 
35523677 Web fetch tool with use_cache parameter for bypassing cached content.
from line 3730
36053730 
36063731 When true, guarantees schema validation on tool names and inputs
36073732 
3733 - `url_sources: optional BetaWebFetchURLSources or null`
3734 
3735 Which sources contribute to the set of URLs web fetch may fetch.
3736 
3737 Each key is a tagged variant: `user_input` is `all` or `none`; the
3738 two tool filters are `all`, `none`, `only` (only the named tools'
3739 results) or `except` (every result but the named tools'). A named tool
3740 must be declared in this request's `tools[]`.
3741 
36083742 - `use_cache: optional boolean`
36093743 
36103744 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 3865
37313865 
37323866 When true, guarantees schema validation on tool names and inputs
37333867 
3868 - `url_sources: optional BetaWebFetchURLSources or null`
3869 
3870 Which sources contribute to the set of URLs web fetch may fetch.
3871 
3872 Each key is a tagged variant: `user_input` is `all` or `none`; the
3873 two tool filters are `all`, `none`, `only` (only the named tools'
3874 results) or `except` (every result but the named tools'). A named tool
3875 must be declared in this request's `tools[]`.
3876 
37343877 - `use_cache: optional boolean`
37353878 
37363879 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 4984
48414984 
48424985 Opaque metadata from prior compaction, to be round-tripped verbatim
48434986 
4987 - `signature: optional string or null`
4988 
4989 Signature over the summary, to be sent back with the block verbatim
4990 
48444991 - `BetaFallbackBlock object`
48454992 
48464993 Marks the point in `content` where one model's output gives way to the next.
from line 5751
56045751 
56055752 - `"fast"`
56065753 
5607 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
5754 - `input_transformations: optional array of BetaInputTransformation or null`
56085755 
5609 Changes the API made to the request's input before showing it to the model:
5610 one entry per change, in request order. Today the only entry type is
5611 `thinking_dropped` a `thinking`, `redacted_thinking` or `connector_text`
5612 block from the request's `messages` that was removed from the prompt instead
5613 of being shown to the model because it failed a binding check. More entry
5614 types may be added over time; ignore types you do not recognize.
5756 Changes the API made to the request's input before showing it to the model,
5757 and blocks that failed a binding check but were left unchanged: one entry per
5758 block, in request order. Two entry types today. `thinking_dropped` — a
5759 `thinking`, `redacted_thinking` or `connector_text` block from the request's
5760 `messages` that was removed from the prompt instead of being shown to the
5761 model because it failed a binding check. `thinking_mismatch_allowed` a
5762 `thinking` or `redacted_thinking` block that failed the conversation check
5763 (the conversation before it differs from the one it was created in, or it
5764 carries no record of one on a model that requires it) and was shown to the
5765 model all the same, because that check is not enforced for this request.
5766 More entry types may be added over time; ignore types you do not recognize.
56155767 
56165768 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
56175769 every such response from a model that supports extended thinking, as `[]`
5618 when nothing was changed; without the beta, blocks are removed all the same
5619 but nothing is reported. Removed blocks contribute nothing to
5620 `usage.input_tokens`. When streaming, the array is final in `message_start`;
5621 the final `message_delta` event carries it only when a server-side model
5622 fallback happened mid-stream, in which case it holds the serving model's
5623 entries and replaces the one in `message_start`.
5770 when there is no entry to report; without the beta, blocks are removed or
5771 left in place all the same but nothing is reported. Removed blocks contribute
5772 nothing to `usage.input_tokens`; blocks left in place count as sent. When
5773 streaming, the array is final in `message_start`; the final `message_delta`
5774 event carries it only when a server-side model fallback happened mid-stream,
5775 in which case it holds the serving model's entries and replaces the one in
5776 `message_start`.
56245777 
5625 - `type: "thinking_dropped"`
5778 - `BetaThinkingDroppedInputTransformation object`
56265779 
5627 Always `thinking_dropped` for this entry type.
5780 - `type: "thinking_dropped"`
56285781 
5629 default: thinking_dropped
5782 Always `thinking_dropped` for this entry type.
56305783 
5631 - `path: string`
5784 default: thinking_dropped
56325785 
5633 Where the removed block was in your request, as `messages.{i}.content.{j}`:
5634 `i` indexes the `messages` array you sent and `j` that message's `content`
5635 array — the same form error messages use.
5786 - `path: string`
56365787 
5637 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
5788 Where the removed block was in your request, as `messages.{i}.content.{j}`:
5789 `i` indexes the `messages` array you sent and `j` that message's `content`
5790 array — the same form error messages use.
56385791 
5639 Which binding check removed the block: `model_binding_mismatch` it was
5640 created by a model whose reasoning the requested model may not read;
5641 `prefix_binding_mismatch` — the conversation before it differs from the
5642 conversation it was created in (the rest of that turn's consecutive thinking
5643 blocks are removed with it, each with this reason);
5644 `organization_binding_mismatch` — it was created under a different
5645 organization (an Anthropic organization, AWS account or Google Cloud project)
5646 and this organization is not one of its additional organizations;
5647 `end_user_binding_mismatch` — it was created for a different end user, or
5648 was removed by the consumer-organization binding. A block that would fail
5649 several checks reports one reason, in this order of precedence:
5650 `organization_binding_mismatch`, `end_user_binding_mismatch`,
5651 `model_binding_mismatch`, `prefix_binding_mismatch`.
5792 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
56525793 
5653 - `"model_binding_mismatch"`
5794 Which binding check removed the block: `model_binding_mismatch` — it was
5795 created by a model whose reasoning the requested model may not read;
5796 `prefix_binding_mismatch` — the conversation before it differs from the
5797 conversation it was created in (the rest of that turn's consecutive thinking
5798 blocks are removed with it, each with this reason);
5799 `organization_binding_mismatch` — it was created under a different
5800 organization (an Anthropic organization, AWS account or Google Cloud project)
5801 and this organization is not one of its additional organizations;
5802 `end_user_binding_mismatch` — it was created for a different end user, or
5803 was removed by the consumer-organization binding. A block that would fail
5804 several checks reports one reason, in this order of precedence:
5805 `organization_binding_mismatch`, `end_user_binding_mismatch`,
5806 `model_binding_mismatch`, `prefix_binding_mismatch`.
56545807 
5655 - `"prefix_binding_mismatch"`
5808 - `"model_binding_mismatch"`
56565809 
5657 - `"organization_binding_mismatch"`
5810 - `"prefix_binding_mismatch"`
56585811 
5659 - `"end_user_binding_mismatch"`
5812 - `"organization_binding_mismatch"`
56605813 
5814 - `"end_user_binding_mismatch"`
5815 
5816 - `BetaThinkingMismatchAllowedInputTransformation object`
5817 
5818 - `type: "thinking_mismatch_allowed"`
5819 
5820 Always `thinking_mismatch_allowed` for this entry type.
5821 
5822 default: thinking_mismatch_allowed
5823 
5824 - `path: string`
5825 
5826 Where the block is in your request, as `messages.{i}.content.{j}`:
5827 `i` indexes the `messages` array you sent and `j` that message's `content`
5828 array — the same form error messages use.
5829 
5830 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
5831 
5832 Which binding check the block failed; the block was shown to the model all
5833 the same. Always `prefix_binding_mismatch` today — the conversation before
5834 the block differs from the conversation it was created in, or the block
5835 carries no record of one on a model that requires it. Were the check
5836 enforced for this request, the block would have been removed or the request
5837 rejected (`thinking.block_binding.prefix_mismatch_behavior`). A removal also
5838 takes the rest of that turn's consecutive thinking blocks, whereas here each
5839 block is checked on its own, so `thinking_mismatch_allowed` entries are a
5840 lower bound on what enforcement would remove.
5841 
5842 - `"model_binding_mismatch"`
5843 
5844 - `"prefix_binding_mismatch"`
5845 
5846 - `"organization_binding_mismatch"`
5847 
5848 - `"end_user_binding_mismatch"`
5849 
56615850- `BetaRawMessageStreamEvent = BetaRawMessageStartEvent or BetaRawMessageDeltaEvent or BetaRawMessageStopEvent or 3 more`
56625851 
56635852 - `BetaRawMessageStartEvent object`
from line 5944
57555944 
57565945 The number of server tool requests.
57575946 
5758 - `input_transformations: optional array of BetaThinkingDroppedInputTransformation or null`
5947 - `input_transformations: optional array of BetaInputTransformation or null`
57595948 
5760 Changes the API made to the request's input before showing it to the model:
5761 one entry per change, in request order. Today the only entry type is
5762 `thinking_dropped` a `thinking`, `redacted_thinking` or `connector_text`
5763 block from the request's `messages` that was removed from the prompt instead
5764 of being shown to the model because it failed a binding check. More entry
5765 types may be added over time; ignore types you do not recognize.
5949 Changes the API made to the request's input before showing it to the model,
5950 and blocks that failed a binding check but were left unchanged: one entry per
5951 block, in request order. Two entry types today. `thinking_dropped` — a
5952 `thinking`, `redacted_thinking` or `connector_text` block from the request's
5953 `messages` that was removed from the prompt instead of being shown to the
5954 model because it failed a binding check. `thinking_mismatch_allowed` a
5955 `thinking` or `redacted_thinking` block that failed the conversation check
5956 (the conversation before it differs from the one it was created in, or it
5957 carries no record of one on a model that requires it) and was shown to the
5958 model all the same, because that check is not enforced for this request.
5959 More entry types may be added over time; ignore types you do not recognize.
57665960 
57675961 Requires `anthropic-beta: thinking-binding-controls-2026-08-01`. Present on
57685962 every such response from a model that supports extended thinking, as `[]`
5769 when nothing was changed; without the beta, blocks are removed all the same
5770 but nothing is reported. Removed blocks contribute nothing to
5771 `usage.input_tokens`. When streaming, the array is final in `message_start`;
5772 the final `message_delta` event carries it only when a server-side model
5773 fallback happened mid-stream, in which case it holds the serving model's
5774 entries and replaces the one in `message_start`.
5963 when there is no entry to report; without the beta, blocks are removed or
5964 left in place all the same but nothing is reported. Removed blocks contribute
5965 nothing to `usage.input_tokens`; blocks left in place count as sent. When
5966 streaming, the array is final in `message_start`; the final `message_delta`
5967 event carries it only when a server-side model fallback happened mid-stream,
5968 in which case it holds the serving model's entries and replaces the one in
5969 `message_start`.
57755970 
5776 - `type: "thinking_dropped"`
5971 - `BetaThinkingDroppedInputTransformation object`
57775972 
5778 Always `thinking_dropped` for this entry type.
5779 
5780 default: thinking_dropped
5781 
5782 - `path: string`
5783 
5784 Where the removed block was in your request, as `messages.{i}.content.{j}`:
5785 `i` indexes the `messages` array you sent and `j` that message's `content`
5786 array — the same form error messages use.
5787 
5788 - `reason: "model_binding_mismatch" or "prefix_binding_mismatch" or "organization_binding_mismatch" or "end_user_binding_mismatch"`
5789 
5790 Which binding check removed the block: `model_binding_mismatch` — it was
5791 created by a model whose reasoning the requested model may not read;
5792 `prefix_binding_mismatch` — the conversation before it differs from the
5793 conversation it was created in (the rest of that turn's consecutive thinking
5794 blocks are removed with it, each with this reason);
5795 `organization_binding_mismatch` — it was created under a different
5796 organization (an Anthropic organization, AWS account or Google Cloud project)
5797 and this organization is not one of its additional organizations;
5798 `end_user_binding_mismatch` — it was created for a different end user, or
5799 was removed by the consumer-organization binding. A block that would fail
5800 several checks reports one reason, in this order of precedence:
5801 `organization_binding_mismatch`, `end_user_binding_mismatch`,
5802 `model_binding_mismatch`, `prefix_binding_mismatch`.
5973 - `BetaThinkingMismatchAllowedInputTransformation object`
58035974 
58045975 - `BetaRawMessageStopEvent object`
58055976 

api/beta/models Changed · +94 / -2 lines

### Beta Compaction Capability

from line 39
3939 
4040 - `string`
4141 
42 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
42 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4343 
4444 - `"message-batches-2024-09-24"`
4545 
from line 131
131131 
132132 - `"mid-conversation-system-clear-at-2026-08-21"`
133133 
134 - `"compact-2026-09-04"`
135 
134136- `"anthropic-workspace-id": optional string`
135137 
136138### Returns
from line 175
173175 
174176 Whether the model supports code execution tools.
175177 
178 - `compaction: BetaCompactionCapability or null`
179 
180 Compaction capability details: whether the model accepts the top-level
181 `compaction` request parameter, with one entry per supported
182 `compaction.type` value.
183 
184 - `summarize: BetaCapabilitySupport`
185 
186 Whether the summarize compaction type is supported.
187 
188 - `supported: boolean`
189 
190 Whether this capability is supported by the model.
191 
176192 - `context_management: BetaContextManagementCapability`
177193 
178194 Context management support and available strategies.
from line 327
311327 "code_execution": {
312328 "supported": true
313329 },
330 "compaction": {
331 "summarize": {
332 "supported": true
333 },
334 "supported": true
335 },
314336 "context_management": {
315337 "clear_thinking_20251015": {
316338 "supported": true
from line 419
397419 
398420 - `string`
399421 
400 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
422 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
401423 
402424 - `"message-batches-2024-09-24"`
403425 
from line 511
489511 
490512 - `"mid-conversation-system-clear-at-2026-08-21"`
491513 
514 - `"compact-2026-09-04"`
515 
492516- `"anthropic-workspace-id": optional string`
493517 
494518### Returns
from line 555
531555 
532556 Whether the model supports code execution tools.
533557 
558 - `compaction: BetaCompactionCapability or null`
559 
560 Compaction capability details: whether the model accepts the top-level
561 `compaction` request parameter, with one entry per supported
562 `compaction.type` value.
563 
564 - `summarize: BetaCapabilitySupport`
565 
566 Whether the summarize compaction type is supported.
567 
568 - `supported: boolean`
569 
570 Whether this capability is supported by the model.
571 
534572 - `context_management: BetaContextManagementCapability`
535573 
536574 Context management support and available strategies.
from line 693
655693 "code_execution": {
656694 "supported": true
657695 },
696 "compaction": {
697 "summarize": {
698 "supported": true
699 },
700 "supported": true
701 },
658702 "context_management": {
659703 "clear_thinking_20251015": {
660704 "supported": true
from line 770
726770 
727771 Whether this capability is supported by the model.
728772 
773### Beta Compaction Capability
774 
775- `BetaCompactionCapability object`
776 
777 Compaction capability details: whether the model accepts the top-level
778 `compaction` request parameter, with one entry per supported
779 `compaction.type` value.
780 
781 - `summarize: BetaCapabilitySupport`
782 
783 Whether the summarize compaction type is supported.
784 
785 - `supported: boolean`
786 
787 Whether this capability is supported by the model.
788 
789 - `supported: boolean`
790 
791 Whether this capability is supported by the model.
792 
729793### Beta Context Management Capability
730794 
731795- `BetaContextManagementCapability object`
from line 872
808872 
809873 Whether the model supports code execution tools.
810874 
875 - `compaction: BetaCompactionCapability or null`
876 
877 Compaction capability details: whether the model accepts the top-level
878 `compaction` request parameter, with one entry per supported
879 `compaction.type` value.
880 
881 - `summarize: BetaCapabilitySupport`
882 
883 Whether the summarize compaction type is supported.
884 
885 - `supported: boolean`
886 
887 Whether this capability is supported by the model.
888 
811889 - `context_management: BetaContextManagementCapability`
812890 
813891 Context management support and available strategies.
from line 1005
9271005 - `code_execution: BetaCapabilitySupport`
9281006 
9291007 Whether the model supports code execution tools.
1008 
1009 - `compaction: BetaCompactionCapability or null`
1010 
1011 Compaction capability details: whether the model accepts the top-level
1012 `compaction` request parameter, with one entry per supported
1013 `compaction.type` value.
1014 
1015 - `summarize: BetaCapabilitySupport`
1016 
1017 Whether the summarize compaction type is supported.
1018 
1019 - `supported: boolean`
1020 
1021 Whether this capability is supported by the model.
9301022 
9311023 - `context_management: BetaContextManagementCapability`
9321024 

api/beta/models/list Changed · +23 / -1 lines

from line 37
3737 
3838 - `string`
3939 
40 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
40 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4141 
4242 - `"message-batches-2024-09-24"`
4343 
from line 129
129129 
130130 - `"mid-conversation-system-clear-at-2026-08-21"`
131131 
132 - `"compact-2026-09-04"`
133 
132134- `"anthropic-workspace-id": optional string`
133135 
134136## Returns
from line 173
171173 
172174 Whether the model supports code execution tools.
173175 
176 - `compaction: BetaCompactionCapability or null`
177 
178 Compaction capability details: whether the model accepts the top-level
179 `compaction` request parameter, with one entry per supported
180 `compaction.type` value.
181 
182 - `summarize: BetaCapabilitySupport`
183 
184 Whether the summarize compaction type is supported.
185 
186 - `supported: boolean`
187 
188 Whether this capability is supported by the model.
189 
174190 - `context_management: BetaContextManagementCapability`
175191 
176192 Context management support and available strategies.
from line 323
307323 "supported": true
308324 },
309325 "code_execution": {
326 "supported": true
327 },
328 "compaction": {
329 "summarize": {
330 "supported": true
331 },
310332 "supported": true
311333 },
312334 "context_management": {

api/beta/models/retrieve Changed · +23 / -1 lines

from line 25
2525 
2626 - `string`
2727 
28 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
28 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2929 
3030 - `"message-batches-2024-09-24"`
3131 
from line 117
117117 
118118 - `"mid-conversation-system-clear-at-2026-08-21"`
119119 
120 - `"compact-2026-09-04"`
121 
120122- `"anthropic-workspace-id": optional string`
121123 
122124## Returns
from line 161
159161 
160162 Whether the model supports code execution tools.
161163 
164 - `compaction: BetaCompactionCapability or null`
165 
166 Compaction capability details: whether the model accepts the top-level
167 `compaction` request parameter, with one entry per supported
168 `compaction.type` value.
169 
170 - `summarize: BetaCapabilitySupport`
171 
172 Whether the summarize compaction type is supported.
173 
174 - `supported: boolean`
175 
176 Whether this capability is supported by the model.
177 
162178 - `context_management: BetaContextManagementCapability`
163179 
164180 Context management support and available strategies.
from line 297
281297 "supported": true
282298 },
283299 "code_execution": {
300 "supported": true
301 },
302 "compaction": {
303 "summarize": {
304 "supported": true
305 },
284306 "supported": true
285307 },
286308 "context_management": {

api/beta/organization Changed · +114 / -38 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.

from line 1544
15441544 
15451545 - `string`
15461546 
1547 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1547 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
15481548 
15491549 - `"message-batches-2024-09-24"`
15501550 
from line 1636
16361636 
16371637 - `"mid-conversation-system-clear-at-2026-08-21"`
16381638 
1639 - `"compact-2026-09-04"`
1640 
16391641#### Body parameters
16401642 
16411643- `issuer_url: string`
from line 1934
19321934 
19331935 - `string`
19341936 
1935 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1937 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
19361938 
19371939 - `"message-batches-2024-09-24"`
19381940 
from line 2026
20242026 
20252027 - `"mid-conversation-system-clear-at-2026-08-21"`
20262028 
2029 - `"compact-2026-09-04"`
2030 
20272031#### Returns
20282032 
20292033- `data: array of BetaFederationIssuer`
from line 2235
22312235 
22322236 - `string`
22332237 
2234 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2238 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
22352239 
22362240 - `"message-batches-2024-09-24"`
22372241 
from line 2327
23232327 
23242328 - `"mid-conversation-system-clear-at-2026-08-21"`
23252329 
2330 - `"compact-2026-09-04"`
2331 
23262332#### Returns
23272333 
23282334- `BetaFederationIssuer object`
from line 2539
25332539 
25342540 - `string`
25352541 
2536 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2542 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
25372543 
25382544 - `"message-batches-2024-09-24"`
25392545 
from line 2631
26252631 
26262632 - `"mid-conversation-system-clear-at-2026-08-21"`
26272633 
2634 - `"compact-2026-09-04"`
2635 
26282636#### Body parameters
26292637 
26302638- `check_jti: optional boolean or null`
from line 2921
29132921 
29142922 - `string`
29152923 
2916 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2924 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
29172925 
29182926 - `"message-batches-2024-09-24"`
29192927 
from line 3013
30053013 
30063014 - `"mid-conversation-system-clear-at-2026-08-21"`
30073015 
3016 - `"compact-2026-09-04"`
3017 
30083018#### Returns
30093019 
30103020- `BetaFederationIssuer object`
from line 3229
32193229 
32203230 - `string`
32213231 
3222 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3232 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
32233233 
32243234 - `"message-batches-2024-09-24"`
32253235 
from line 3321
33113321 
33123322 - `"mid-conversation-system-clear-at-2026-08-21"`
33133323 
3324 - `"compact-2026-09-04"`
3325 
33143326#### Body parameters
33153327 
33163328- `issuer_id: string`
from line 3640
36283640 
36293641 - `string`
36303642 
3631 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3643 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
36323644 
36333645 - `"message-batches-2024-09-24"`
36343646 
from line 3732
37203732 
37213733 - `"mid-conversation-system-clear-at-2026-08-21"`
37223734 
3735 - `"compact-2026-09-04"`
3736 
37233737#### Returns
37243738 
37253739- `data: array of BetaFederationRule`
from line 3937
39233937 
39243938 - `string`
39253939 
3926 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3940 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
39273941 
39283942 - `"message-batches-2024-09-24"`
39293943 
from line 4029
40154029 
40164030 - `"mid-conversation-system-clear-at-2026-08-21"`
40174031 
4032 - `"compact-2026-09-04"`
4033 
40184034#### Returns
40194035 
40204036- `BetaFederationRule object`
from line 4252
42364252 
42374253 - `string`
42384254 
4239 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4255 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
42404256 
42414257 - `"message-batches-2024-09-24"`
42424258 
from line 4344
43284344 
43294345 - `"mid-conversation-system-clear-at-2026-08-21"`
43304346 
4347 - `"compact-2026-09-04"`
4348 
43314349#### Body parameters
43324350 
43334351- `applies_to_all_workspaces: optional boolean or null`
from line 4643
46254643 
46264644 - `string`
46274645 
4628 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4646 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
46294647 
46304648 - `"message-batches-2024-09-24"`
46314649 
from line 4735
47174735 
47184736 - `"mid-conversation-system-clear-at-2026-08-21"`
47194737 
4738 - `"compact-2026-09-04"`
4739 
47204740#### Returns
47214741 
47224742- `BetaFederationRule object`
from line 4954
49344954 
49354955 - `string`
49364956 
4937 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
4957 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
49384958 
49394959 - `"message-batches-2024-09-24"`
49404960 
from line 5046
50265046 
50275047 - `"mid-conversation-system-clear-at-2026-08-21"`
50285048 
5049 - `"compact-2026-09-04"`
5050 
50295051#### Body parameters
50305052 
50315053- `workspace_id: string`
from line 5149
51275149 
51285150 - `string`
51295151 
5130 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
5152 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
51315153 
51325154 - `"message-batches-2024-09-24"`
51335155 
from line 5241
52195241 
52205242 - `"mid-conversation-system-clear-at-2026-08-21"`
52215243 
5244 - `"compact-2026-09-04"`
5245 
52225246#### Returns
52235247 
52245248- `data: array of BetaFederationRuleWorkspace`
from line 5334
53105334 
53115335 - `string`
53125336 
5313 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
5337 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
53145338 
53155339 - `"message-batches-2024-09-24"`
53165340 
from line 5426
54025426 
54035427 - `"mid-conversation-system-clear-at-2026-08-21"`
54045428 
5429 - `"compact-2026-09-04"`
5430 
54055431#### Returns
54065432 
54075433- `type: "federation_rule_workspace_deleted"`
from line 5959
59335959 
59345960 - `string`
59355961 
5936 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
5962 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
59375963 
59385964 - `"message-batches-2024-09-24"`
59395965 
from line 6051
60256051 
60266052 - `"mid-conversation-system-clear-at-2026-08-21"`
60276053 
6054 - `"compact-2026-09-04"`
6055 
60286056#### Body parameters
60296057 
60306058- `name: string`
from line 6206
61786206 
61796207 - `string`
61806208 
6181 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
6209 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
61826210 
61836211 - `"message-batches-2024-09-24"`
61846212 
from line 6298
62706298 
62716299 - `"mid-conversation-system-clear-at-2026-08-21"`
62726300 
6301 - `"compact-2026-09-04"`
6302 
62736303#### Returns
62746304 
62756305- `data: array of BetaServiceAccount`
from line 6415
63856415 
63866416 - `string`
63876417 
6388 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
6418 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
63896419 
63906420 - `"message-batches-2024-09-24"`
63916421 
from line 6507
64776507 
64786508 - `"mid-conversation-system-clear-at-2026-08-21"`
64796509 
6510 - `"compact-2026-09-04"`
6511 
64806512#### Returns
64816513 
64826514- `BetaServiceAccount object`
from line 6625
65936625 
65946626 - `string`
65956627 
6596 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
6628 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
65976629 
65986630 - `"message-batches-2024-09-24"`
65996631 
from line 6717
66856717 
66866718 - `"mid-conversation-system-clear-at-2026-08-21"`
66876719 
6720 - `"compact-2026-09-04"`
6721 
66886722#### Body parameters
66896723 
66906724- `description: optional string or null`
from line 6853
68196853 
68206854 - `string`
68216855 
6822 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
6856 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
68236857 
68246858 - `"message-batches-2024-09-24"`
68256859 
from line 6945
69116945 
69126946 - `"mid-conversation-system-clear-at-2026-08-21"`
69136947 
6948 - `"compact-2026-09-04"`
6949 
69146950#### Returns
69156951 
69166952- `BetaServiceAccount object`
from line 7068
70327068 
70337069 - `string`
70347070 
7035 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
7071 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
70367072 
70377073 - `"message-batches-2024-09-24"`
70387074 
from line 7160
71247160 
71257161 - `"mid-conversation-system-clear-at-2026-08-21"`
71267162 
7163 - `"compact-2026-09-04"`
7164 
71277165#### Body parameters
71287166 
71297167- `workspace_id: string`
from line 7292
72547292 
72557293 - `string`
72567294 
7257 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
7295 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
72587296 
72597297 - `"message-batches-2024-09-24"`
72607298 
from line 7384
73467384 
73477385 - `"mid-conversation-system-clear-at-2026-08-21"`
73487386 
7387 - `"compact-2026-09-04"`
7388 
73497389#### Returns
73507390 
73517391- `data: array of BetaServiceAccountWorkspaceMember`
from line 7488
74487488 
74497489 - `string`
74507490 
7451 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
7491 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
74527492 
74537493 - `"message-batches-2024-09-24"`
74547494 
from line 7580
75407580 
75417581 - `"mid-conversation-system-clear-at-2026-08-21"`
75427582 
7583 - `"compact-2026-09-04"`
7584 
75437585#### Returns
75447586 
75457587- `type: "service_account_workspace_member_deleted"`
from line 8174
81328174 
81338175 - `string`
81348176 
8135 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
8177 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
81368178 
81378179 - `"message-batches-2024-09-24"`
81388180 
from line 8266
82248266 
82258267 - `"mid-conversation-system-clear-at-2026-08-21"`
82268268 
8269 - `"compact-2026-09-04"`
8270 
82278271#### Body parameters
82288272 
82298273- `name: string`
from line 9540
94969540 
94979541 - `string`
94989542 
9499 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
9543 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
95009544 
95019545 - `"message-batches-2024-09-24"`
95029546 
from line 9632
95889632 
95899633 - `"mid-conversation-system-clear-at-2026-08-21"`
95909634 
9635 - `"compact-2026-09-04"`
9636 
95919637#### Returns
95929638 
95939639- `data: array of BetaServiceAccountWorkspaceMember`
from line 9733
96879733 
96889734 - `string`
96899735 
9690 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
9736 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
96919737 
96929738 - `"message-batches-2024-09-24"`
96939739 
from line 9825
97799825 
97809826 - `"mid-conversation-system-clear-at-2026-08-21"`
97819827 
9828 - `"compact-2026-09-04"`
9829 
97829830#### Body parameters
97839831 
97849832- `service_account_id: string`
from line 9942
98949942 
98959943 - `string`
98969944 
9897 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
9945 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
98989946 
98999947 - `"message-batches-2024-09-24"`
99009948 
from line 10034
998610034 
998710035 - `"mid-conversation-system-clear-at-2026-08-21"`
998810036 
10037 - `"compact-2026-09-04"`
10038 
998910039#### Returns
999010040 
999110041- `BetaServiceAccountWorkspaceMember object`
from line 10128
1007810128 
1007910129 - `string`
1008010130 
10081 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
10131 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1008210132 
1008310133 - `"message-batches-2024-09-24"`
1008410134 
from line 10220
1017010220 
1017110221 - `"mid-conversation-system-clear-at-2026-08-21"`
1017210222 
10223 - `"compact-2026-09-04"`
10224 
1017310225#### Body parameters
1017410226 
1017510227- `workspace_role: BetaNoBillingWorkspaceRole`
from line 10331
1027910331 
1028010332 - `string`
1028110333 
10282 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
10334 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1028310335 
1028410336 - `"message-batches-2024-09-24"`
1028510337 
from line 10423
1037110423 
1037210424 - `"mid-conversation-system-clear-at-2026-08-21"`
1037310425 
10426 - `"compact-2026-09-04"`
10427 
1037410428#### Returns
1037510429 
1037610430- `type: "service_account_workspace_member_deleted"`
from line 10585
1053110585 "models": [
1053210586 "string"
1053310587 ],
10534 "type": "rate_limit"
10535 }
10536 ],
10537 "next_page": "next_page"
10538}
10539```
10540 
10541## Organization › Compliance Settings
10542 
10543### Get Compliance Settings
10544 
10545**GET** `/v1/organizations/compliance_settings`
10546 
10547Retrieve your organization's Compliance Settings.
10548 
10549Compliance Settings is a singleton resource: there is exactly one per
10550organization, addressed without an identifier. The `state` field reflects
10551whether the Compliance API is enabled. An organization with a parent
10552organization reads the state inherited from the parent's configuration.
10553 
10554#### Returns
10555 
10556- `BetaComplianceSettings object`
10557 
10558 - `type: "compliance_settings"`
10559 
10560 default: compliance_settings
10561 
10562 - `state: BetaComplianceSettingsState`
10563 
10564 Whether the Compliance API is enabled for this organization.
10565 
10566 - `BetaComplianceSettingsStateEnabled object`
10567 
10568 - `type: "enabled"`
10569 
10570
10588 "type": "rate_limi

api/beta/organization/federation Changed · +39 / -13 lines

from line 33
3333 
3434 - `string`
3535 
36 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
36 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3737 
3838 - `"message-batches-2024-09-24"`
3939 
from line 125
125125 
126126 - `"mid-conversation-system-clear-at-2026-08-21"`
127127 
128 - `"compact-2026-09-04"`
129 
128130#### Body parameters
129131 
130132- `issuer_url: string`
from line 423
421423 
422424 - `string`
423425 
424 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
426 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
425427 
426428 - `"message-batches-2024-09-24"`
427429 
from line 515
513515 
514516 - `"mid-conversation-system-clear-at-2026-08-21"`
515517 
518 - `"compact-2026-09-04"`
519 
516520#### Returns
517521 
518522- `data: array of BetaFederationIssuer`
from line 724
720724 
721725 - `string`
722726 
723 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
727 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
724728 
725729 - `"message-batches-2024-09-24"`
726730 
from line 816
812816 
813817 - `"mid-conversation-system-clear-at-2026-08-21"`
814818 
819 - `"compact-2026-09-04"`
820 
815821#### Returns
816822 
817823- `BetaFederationIssuer object`
from line 1028
10221028 
10231029 - `string`
10241030 
1025 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1031 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
10261032 
10271033 - `"message-batches-2024-09-24"`
10281034 
from line 1120
11141120 
11151121 - `"mid-conversation-system-clear-at-2026-08-21"`
11161122 
1123 - `"compact-2026-09-04"`
1124 
11171125#### Body parameters
11181126 
11191127- `check_jti: optional boolean or null`
from line 1410
14021410 
14031411 - `string`
14041412 
1405 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1413 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
14061414 
14071415 - `"message-batches-2024-09-24"`
14081416 
from line 1502
14941502 
14951503 - `"mid-conversation-system-clear-at-2026-08-21"`
14961504 
1505 - `"compact-2026-09-04"`
1506 
14971507#### Returns
14981508 
14991509- `BetaFederationIssuer object`
from line 1718
17081718 
17091719 - `string`
17101720 
1711 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1721 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
17121722 
17131723 - `"message-batches-2024-09-24"`
17141724 
from line 1810
18001810 
18011811 - `"mid-conversation-system-clear-at-2026-08-21"`
18021812 
1813 - `"compact-2026-09-04"`
1814 
18031815#### Body parameters
18041816 
18051817- `issuer_id: string`
from line 2129
21172129 
21182130 - `string`
21192131 
2120 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2132 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
21212133 
21222134 - `"message-batches-2024-09-24"`
21232135 
from line 2221
22092221 
22102222 - `"mid-conversation-system-clear-at-2026-08-21"`
22112223 
2224 - `"compact-2026-09-04"`
2225 
22122226#### Returns
22132227 
22142228- `data: array of BetaFederationRule`
from line 2426
24122426 
24132427 - `string`
24142428 
2415 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2429 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
24162430 
24172431 - `"message-batches-2024-09-24"`
24182432 
from line 2518
25042518 
25052519 - `"mid-conversation-system-clear-at-2026-08-21"`
25062520 
2521 - `"compact-2026-09-04"`
2522 
25072523#### Returns
25082524 
25092525- `BetaFederationRule object`
from line 2741
27252741 
27262742 - `string`
27272743 
2728 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2744 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
27292745 
27302746 - `"message-batches-2024-09-24"`
27312747 
from line 2833
28172833 
28182834 - `"mid-conversation-system-clear-at-2026-08-21"`
28192835 
2836 - `"compact-2026-09-04"`
2837 
28202838#### Body parameters
28212839 
28222840- `applies_to_all_workspaces: optional boolean or null`
from line 3132
31143132 
31153133 - `string`
31163134 
3117 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3135 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
31183136 
31193137 - `"message-batches-2024-09-24"`
31203138 
from line 3224
32063224 
32073225 - `"mid-conversation-system-clear-at-2026-08-21"`
32083226 
3227 - `"compact-2026-09-04"`
3228 
32093229#### Returns
32103230 
32113231- `BetaFederationRule object`
from line 3443
34233443 
34243444 - `string`
34253445 
3426 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3446 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
34273447 
34283448 - `"message-batches-2024-09-24"`
34293449 
from line 3535
35153535 
35163536 - `"mid-conversation-system-clear-at-2026-08-21"`
35173537 
3538 - `"compact-2026-09-04"`
3539 
35183540#### Body parameters
35193541 
35203542- `workspace_id: string`
from line 3638
36163638 
36173639 - `string`
36183640 
3619 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3641 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
36203642 
36213643 - `"message-batches-2024-09-24"`
36223644 
from line 3730
37083730 
37093731 - `"mid-conversation-system-clear-at-2026-08-21"`
37103732 
3733 - `"compact-2026-09-04"`
3734 
37113735#### Returns
37123736 
37133737- `data: array of BetaFederationRuleWorkspace`
from line 3823
37993823 
38003824 - `string`
38013825 
3802 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3826 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
38033827 
38043828 - `"message-batches-2024-09-24"`
38053829 
from line 3914
38903914 - `"thinking-binding-controls-2026-08-01"`
38913915 
38923916 - `"mid-conversation-system-clear-at-2026-08-21"`
3917 
3918 - `"compact-2026-09-04"`
38933919 
38943920#### Returns
38953921 

api/beta/organization/federation/issuers Changed · +15 / -5 lines

from line 31
3131 
3232 - `string`
3333 
34 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
34 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3535 
3636 - `"message-batches-2024-09-24"`
3737 
from line 123
123123 
124124 - `"mid-conversation-system-clear-at-2026-08-21"`
125125 
126 - `"compact-2026-09-04"`
127 
126128### Body parameters
127129 
128130- `issuer_url: string`
from line 421
419421 
420422 - `string`
421423 
422 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
424 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
423425 
424426 - `"message-batches-2024-09-24"`
425427 
from line 513
511513 
512514 - `"mid-conversation-system-clear-at-2026-08-21"`
513515 
516 - `"compact-2026-09-04"`
517 
514518### Returns
515519 
516520- `data: array of BetaFederationIssuer`
from line 722
718722 
719723 - `string`
720724 
721 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
725 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
722726 
723727 - `"message-batches-2024-09-24"`
724728 
from line 814
810814 
811815 - `"mid-conversation-system-clear-at-2026-08-21"`
812816 
817 - `"compact-2026-09-04"`
818 
813819### Returns
814820 
815821- `BetaFederationIssuer object`
from line 1026
10201026 
10211027 - `string`
10221028 
1023 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1029 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
10241030 
10251031 - `"message-batches-2024-09-24"`
10261032 
from line 1118
11121118 
11131119 - `"mid-conversation-system-clear-at-2026-08-21"`
11141120 
1121 - `"compact-2026-09-04"`
1122 
11151123### Body parameters
11161124 
11171125- `check_jti: optional boolean or null`
from line 1408
14001408 
14011409 - `string`
14021410 
1403 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1411 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
14041412 
14051413 - `"message-batches-2024-09-24"`
14061414 
from line 1499
14911499 - `"thinking-binding-controls-2026-08-01"`
14921500 
14931501 - `"mid-conversation-system-clear-at-2026-08-21"`
1502 
1503 - `"compact-2026-09-04"`
14941504 
14951505### Returns
14961506 

api/beta/organization/federation/rules Changed · +24 / -8 lines

from line 35
3535 
3636 - `string`
3737 
38 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
38 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3939 
4040 - `"message-batches-2024-09-24"`
4141 
from line 127
127127 
128128 - `"mid-conversation-system-clear-at-2026-08-21"`
129129 
130 - `"compact-2026-09-04"`
131 
130132### Body parameters
131133 
132134- `issuer_id: string`
from line 446
444446 
445447 - `string`
446448 
447 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
449 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
448450 
449451 - `"message-batches-2024-09-24"`
450452 
from line 538
536538 
537539 - `"mid-conversation-system-clear-at-2026-08-21"`
538540 
541 - `"compact-2026-09-04"`
542 
539543### Returns
540544 
541545- `data: array of BetaFederationRule`
from line 743
739743 
740744 - `string`
741745 
742 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
746 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
743747 
744748 - `"message-batches-2024-09-24"`
745749 
from line 835
831835 
832836 - `"mid-conversation-system-clear-at-2026-08-21"`
833837 
838 - `"compact-2026-09-04"`
839 
834840### Returns
835841 
836842- `BetaFederationRule object`
from line 1058
10521058 
10531059 - `string`
10541060 
1055 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1061 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
10561062 
10571063 - `"message-batches-2024-09-24"`
10581064 
from line 1150
11441150 
11451151 - `"mid-conversation-system-clear-at-2026-08-21"`
11461152 
1153 - `"compact-2026-09-04"`
1154 
11471155### Body parameters
11481156 
11491157- `applies_to_all_workspaces: optional boolean or null`
from line 1449
14411449 
14421450 - `string`
14431451 
1444 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1452 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
14451453 
14461454 - `"message-batches-2024-09-24"`
14471455 
from line 1541
15331541 
15341542 - `"mid-conversation-system-clear-at-2026-08-21"`
15351543 
1544 - `"compact-2026-09-04"`
1545 
15361546### Returns
15371547 
15381548- `BetaFederationRule object`
from line 1973
19631973 
19641974 - `string`
19651975 
1966 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
1976 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
19671977 
19681978 - `"message-batches-2024-09-24"`
19691979 
from line 2065
20552065 
20562066 - `"mid-conversation-system-clear-at-2026-08-21"`
20572067 
2068 - `"compact-2026-09-04"`
2069 
20582070#### Body parameters
20592071 
20602072- `workspace_id: string`
from line 2168
21562168 
21572169 - `string`
21582170 
2159 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2171 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
21602172 
21612173 - `"message-batches-2024-09-24"`
21622174 
from line 2260
22482260 
22492261 - `"mid-conversation-system-clear-at-2026-08-21"`
22502262 
2263 - `"compact-2026-09-04"`
2264 
22512265#### Returns
22522266 
22532267- `data: array of BetaFederationRuleWorkspace`
from line 2353
23392353 
23402354 - `string`
23412355 
2342 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2356 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
23432357 
23442358 - `"message-batches-2024-09-24"`
23452359 
from line 2444
24302444 - `"thinking-binding-controls-2026-08-01"`
24312445 
24322446 - `"mid-conversation-system-clear-at-2026-08-21"`
2447 
2448 - `"compact-2026-09-04"`
24332449 
24342450#### Returns
24352451