Batches changedapi/beta/messages/batches
Nearest release: v2.1.315, 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+63added
Lines−11removed
From line
137
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits33to this page, all time
The whole hunk
from line 137, 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 137
137137
138138 - `"analytics-usage-cost-2026-08-24"`
139139
140 - `"experimental-claude-tag-2026-10-21"`
141
140142- `"anthropic-user-profile-id": optional string`
141143
142144 The user profile ID to attribute the requests in this batch to. Use when acting on behalf of a party other than your organization. Applies to every request in the batch; an individual request whose `user_profile_id` body field conflicts with this header is errored.
from line 1058
10561058
10571059 - `BetaEncryptedCodeExecutionResultBlockParam object`
10581060
1059 Code execution result with encrypted stdout for PFC + web_search results.
1061 The output and exit code of Python code that Claude ran with the code execution tool, with standard output in encrypted form, sent back in a later request.
10601062
10611063 - `type: "encrypted_code_execution_result"`
10621064
from line 1594
15921594
15931595 - `BetaCodeExecutionTool20260120 object`
15941596
1595 Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
1597 A `tools` entry for the code execution tool, version `code_execution_20260120`. It adds REPL state persistence to version `code_execution_20250825`.
15961598
1599 REPL state persistence applies with programmatic tool calling. With it, the Python interpreter state, such as variable bindings, persists across requests that reuse the container.
1600
1601 See the [code execution tool guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool?sdk_languages=http#tool-versions) to learn what each tool version adds.
1602
15971603 - `type: "code_execution_20260120"`
15981604
15991605 - `name: "code_execution"`
from line 4246
42404246
42414247 - `BetaCodeExecutionTool20260120 object`
42424248
4243 Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
4249 A `tools` entry for the code execution tool, version `code_execution_20260120`. It adds REPL state persistence to version `code_execution_20250825`.
42444250
4251 REPL state persistence applies with programmatic tool calling. With it, the Python interpreter state, such as variable bindings, persists across requests that reuse the container.
4252
4253 See the [code execution tool guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool?sdk_languages=http#tool-versions) to learn what each tool version adds.
4254
42454255 - `BetaCodeExecutionTool20260521 object`
42464256
42474257 Code execution tool with REPL state persistence.
from line 4623
46134623
46144624 - `"analytics-usage-cost-2026-08-24"`
46154625
4626 - `"experimental-claude-tag-2026-10-21"`
4627
46164628- `"anthropic-workspace-id": optional string`
46174629
46184630 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4921
49094921
49104922 - `"analytics-usage-cost-2026-08-24"`
49114923
4924 - `"experimental-claude-tag-2026-10-21"`
4925
49124926- `"anthropic-workspace-id": optional string`
49134927
49144928 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 5228
52145228
52155229 - `"analytics-usage-cost-2026-08-24"`
52165230
5231 - `"experimental-claude-tag-2026-10-21"`
5232
52175233- `"anthropic-workspace-id": optional string`
52185234
52195235 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 5517
55015517
55025518 - `"analytics-usage-cost-2026-08-24"`
55035519
5520 - `"experimental-claude-tag-2026-10-21"`
5521
55045522- `"anthropic-workspace-id": optional string`
55055523
55065524 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 5698
56805698
56815699 - `"analytics-usage-cost-2026-08-24"`
56825700
5701 - `"experimental-claude-tag-2026-10-21"`
5702
56835703- `"anthropic-workspace-id": optional string`
56845704
56855705 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 6347
63276347
63286348 - `BetaEncryptedCodeExecutionResultBlock object`
63296349
6330 Code execution result with encrypted stdout for PFC + web_search results.
6350 The output and exit code of Python code that Claude ran with the code execution tool, with standard output in encrypted form.
63316351
6352 The API returns this block in place of `code_execution_result` when the code called the web search tool.
6353
6354 See the [programmatic tool calling guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling?sdk_languages=http) to learn more about programmatic tool calling.
6355
63326356 - `type: "encrypted_code_execution_result"`
63336357
63346358 default: encrypted_code_execution_result
from line 6913
68896913
68906914 - `BetaCodeExecutionTool20260120 object`
68916915
6892 Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
6916 A `tools` entry for the code execution tool, version `code_execution_20260120`. It adds REPL state persistence to version `code_execution_20250825`.
68936917
6918 REPL state persistence applies with programmatic tool calling. With it, the Python interpreter state, such as variable bindings, persists across requests that reuse the container.
6919
6920 See the [code execution tool guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool?sdk_languages=http#tool-versions) to learn what each tool version adds.
6921
68946922 - `type: "code_execution_20260120"`
68956923
68966924 - `name: "code_execution"`
from line 7232
72047232
72057233 `new_tab`'s config overrides.
72067234
7207 - `defer_loading: optional boolean or null`
7208
7209 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7210
7211 - `enabled: optional boolean or null`
7212
7213 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7214
7215 - `read_console: optional BetaBrowserReadConsoleConfig or null`
7216
7217 `read_console`'s config overrides.
7218
7219 - `defer_loading: optional boolean or null`
7220
7221 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7222
7223 - `enabled: optional boolean or null`
7224
7225 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7226
7227 - `read_network: optional BetaBrowserReadNetworkConfig or null`
7228
7229 `read_network`'s config overrides.
7230
7231 - `defer_loading: optional boolean or null`
7232
7233 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7234
7235 - `enabled: optional boolean or null`
7236
7237 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7238
7239 - `read_page: optional BetaBrowserReadPageConfig or null`
7240
7241 `read_page`'s config overrides.
7242
7243 - `defer_loading: optional boolean or null`
7244
7245 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7246
7247 - `enabled: optional boolean or null`
7248
7249 Whether this member i
7235 - `defer_loading: optiona
No line in this hunk matches that.