Create a Message changedapi/beta/messages/create
Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+47added
Lines−15removed
From line
119
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits39to this page, all time
The whole hunk
from line 119, old and new numbered
/
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 119
119119
120120 - `"experimental-claude-tag-2026-10-21"`
121121
122 - `"ce-claude-code-managed-settings-2026-10-06"`
123
122124 - `"user-profiles-billing-2026-10-01"`
123125
124126 - `"message-batches-2024-09-24"`
from line 868
866868
867869 - `page_age: optional string or null`
868870
869 - `BetaWebSearchToolRequestError object`
871 - `BetaWebSearchToolRequestErrorObject object`
870872
871873 - `type: "web_search_tool_result_error"`
872874
from line 3627
36253627
36263628 Declares which organization is billed for this request. `{"type": "billing_policy", "bill_to": "user_profile"}` bills the customer behind the user profile named in the `anthropic-user-profile-id` header, instead of your organization. If that customer has not linked an Anthropic organization to the profile, or has not allowed your organization to bill it, the request is rejected rather than billed to you. Omit the field, or send `"bill_to": "self"` (the default), to be billed as usual.
36273629
3630 Message Batches does not currently support billing the customer behind a user profile. In a batch, omit the field or send `"bill_to": "self"`. A request in a batch that sets `"bill_to": "user_profile"` gets an `errored` result with an `invalid_request_error`, nobody is billed for it, and the batch's other requests run as usual.
3631
36283632 - `type: "billing_policy"`
36293633
36303634 - `bill_to: optional BetaBillTo`
from line 4720
47164720
47174721 - `content: BetaWebSearchToolResultBlockContent`
47184722
4719 - `BetaWebSearchToolResultError object`
4723 - `BetaWebSearchToolResultErrorObject object`
47204724
47214725 - `type: "web_search_tool_result_error"`
47224726
from line 4880
48764880
48774881 default: advisor_tool_result
48784882
4879 - `content: BetaAdvisorToolResultError or BetaAdvisorResultBlock or BetaAdvisorRedactedResultBlock`
4883 - `content: BetaAdvisorToolResultErrorObject or BetaAdvisorResultBlock or BetaAdvisorRedactedResultBlock`
48804884
4881 - `BetaAdvisorToolResultError object`
4885 - `BetaAdvisorToolResultErrorObject object`
48824886
48834887 - `type: "advisor_tool_result_error"`
48844888
from line 4942
49384942
49394943 - `content: BetaCodeExecutionToolResultBlockContent`
49404944
4941 - `BetaCodeExecutionToolResultError object`
4945 - `BetaCodeExecutionToolResultErrorObject object`
49424946
49434947 - `type: "code_execution_tool_result_error"`
49444948
from line 5014
50105014
50115015 default: bash_code_execution_tool_result
50125016
5013 - `content: BetaBashCodeExecutionToolResultError or BetaBashCodeExecutionResultBlock`
5017 - `content: BetaBashCodeExecutionToolResultErrorObject or BetaBashCodeExecutionResultBlock`
50145018
5015 - `BetaBashCodeExecutionToolResultError object`
5019 - `BetaBashCodeExecutionToolResultErrorObject object`
50165020
50175021 - `type: "bash_code_execution_tool_result_error"`
50185022
from line 5064
50605064
50615065 default: text_editor_code_execution_tool_result
50625066
5063 - `content: BetaTextEditorCodeExecutionToolResultError or BetaTextEditorCodeExecutionViewResultBlock or BetaTextEditorCodeExecutionCreateResultBlock or BetaTextEditorCodeExecutionStrReplaceResultBlock`
5067 - `content: BetaTextEditorCodeExecutionToolResultErrorObject or BetaTextEditorCodeExecutionViewResultBlock or BetaTextEditorCodeExecutionCreateResultBlock or BetaTextEditorCodeExecutionStrReplaceResultBlock`
50645068
5065 - `BetaTextEditorCodeExecutionToolResultError object`
5069 - `BetaTextEditorCodeExecutionToolResultErrorObject object`
50665070
50675071 - `type: "text_editor_code_execution_tool_result_error"`
50685072
from line 5142
51385142
51395143 default: tool_search_tool_result
51405144
5141 - `content: BetaToolSearchToolResultError or BetaToolSearchToolSearchResultBlock`
5145 - `content: BetaToolSearchToolResultErrorObject or BetaToolSearchToolSearchResultBlock`
51425146
5143 - `BetaToolSearchToolResultError object`
5147 - `BetaToolSearchToolResultErrorObject object`
51445148
51455149 - `type: "tool_search_tool_result_error"`
51465150
from line 6988
69846988
69856989 - `blocked_domains: optional array of string or null`
69866990
6987 If provided, these domains will never appear in results. Cannot be used alongside `allowed_domains`.
6988
6989 - `cache_control: optional BetaCacheControlEphemeral or null`
6990
6991 Create a cache control breakpoint at this content block.
6992
6993 - `defer_loading: optional boolean`
6994
6995 If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
6996
6997 - `max_uses: optional number or null`
6998
6999 Maximu
6991 If provided, these domains will never appear in results. Cannot be used alongside `allowed_do
No line in this hunk matches that.