Create a Message changedapi/beta/messages/create
Nearest release: v2.1.323, published 2 hours 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+105added
Lines−85removed
From line
27
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 27, 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 27
2727
2828 - `string`
2929
30 - `"message-batches-2024-09-24"`
31
32 - `"prompt-caching-2024-07-31"`
33
3430 - `"computer-use-2024-10-22"`
3531
3632 - `"computer-use-2025-01-24"`
3733
38 - `"pdfs-2024-09-25"`
39
40 - `"token-counting-2024-11-01"`
41
42 - `"token-efficient-tools-2025-02-19"`
43
4434 - `"output-128k-2025-02-19"`
4535
46 - `"files-api-2025-04-14"`
47
4836 - `"mcp-client-2025-04-04"`
4937
5038 - `"mcp-client-2025-11-20"`
from line 43
5543
5644 - `"code-execution-2025-05-22"`
5745
58 - `"extended-cache-ttl-2025-04-11"`
59
6046 - `"context-1m-2025-08-07"`
6147
6248 - `"context-management-2025-06-27"`
from line 49
6349
6450 - `"model-context-window-exceeded-2025-08-26"`
6551
66 - `"skills-2025-10-02"`
67
6852 - `"fast-mode-2026-02-01"`
6953
7054 - `"output-300k-2026-03-24"`
from line 63
7963
8064 - `"managed-agents-2026-04-01"`
8165
82 - `"cache-diagnosis-2026-04-07"`
83
8466 - `"dreaming-2026-04-21"`
8567
8668 - `"thinking-token-count-2026-05-13"`
from line 91
10991
11092 - `"thinking-display-updates-2026-08-18"`
11193
112 - `"ce-user-management-2026-07-13"`
113
11494 - `"mid-conversation-output-config-2026-07-01"`
11595
11696 - `"thinking-binding-controls-2026-08-01"`
from line 119
139119
140120 - `"experimental-claude-tag-2026-10-21"`
141121
122 - `"message-batches-2024-09-24"`
123
124 **Deprecated**: This value is no longer needed. Remove it from your requests.
125
126 - `"prompt-caching-2024-07-31"`
127
128 **Deprecated**: This value is no longer needed. Remove it from your requests.
129
130 - `"pdfs-2024-09-25"`
131
132 **Deprecated**: This value is no longer needed. Remove it from your requests.
133
134 - `"token-counting-2024-11-01"`
135
136 **Deprecated**: This value is no longer needed. Remove it from your requests.
137
138 - `"token-efficient-tools-2025-02-19"`
139
140 **Deprecated**: This value is no longer needed. Remove it from your requests.
141
142 - `"files-api-2025-04-14"`
143
144 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
145
146 - `"extended-cache-ttl-2025-04-11"`
147
148 **Deprecated**: This value is no longer needed. Remove it from your requests.
149
150 - `"skills-2025-10-02"`
151
152 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
153
154 - `"cache-diagnosis-2026-04-07"`
155
156 **Deprecated**: This value is no longer needed. Remove it from your requests.
157
158 - `"ce-user-management-2026-07-13"`
159
160 **Deprecated**: This value is no longer needed. Remove it from your requests.
161
142162- `"anthropic-user-profile-id": optional string`
143163
144164 The user profile ID to attribute this request to. Use when acting on behalf of a party other than your organization.
from line 7002
69827002
69837003 - `BetaWebFetchTool20260318 object`
69847004
6985 - `type: "web_fetch_20260318"`
6986
6987 - `name: "web_fetch"`
6988
6989 Name of the tool.
6990
6991 This is how the tool will be called by the model and in `tool_use` blocks.
6992
6993 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
6994
6995 - `"direct"`
6996
6997 - `"code_execution_20250825"`
6998
6999 - `"code_execution_20260120"`
7000
7001 - `"code_execution_20260521"`
7002
7003 - `allowed_domains: optional array of string or null`
7004
7005 List of domains to allow fetching from
7006
7007 - `blocked_domains: optional array of string or null`
7008
7009 List of domains to block fetching from
7010
7011 - `cache_control: optional BetaCacheControlEphemeral or null`
7012
7013 Create a cache control breakpoint at this content block.
7014
7015 - `citations: optional BetaCitationsConfigParam or null`
7016
7017 Citations configuration for fetched documents. Citations are disabled by default.
7018
7019
7005
No line in this hunk matches that.