Batches changedapi/beta/messages/batches
Nearest release: v2.1.306, 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+149added
Lines−1removed
From line
131
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits29to this page, all time
The whole hunk
from line 131, 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 131
131131
132132 - `"telemetry-destinations-2026-08-11"`
133133
134 - `"webhooks-2026-10-07"`
135
134136- `"anthropic-user-profile-id": optional string`
135137
136138 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 3798
37963798
37973799 - `max_tokens: optional number or null`
37983800
3801 The `max_tokens` for the fallback attempt that uses this `fallbacks` entry's `model`, in place of the request's `max_tokens`. If you leave it out or set it to `null`, the attempt uses the request's `max_tokens`.
3802
3803 See the [refusals and fallback guide](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback?sdk_languages=http#naming-your-own-fallback-models) to learn more about fallback entries.
3804
37993805 - `output_config: optional BetaOutputConfig or null`
38003806
3807 Output parameters for the fallback attempt that uses this `fallbacks` entry's `model`, combined with the request's `output_config` one field at a time.
3808
3809 - `format`: If you leave it out, the attempt uses the request's `format`. If you set it to `null`, the attempt runs without a format.
3810 - `effort`: If you leave it out, the attempt uses the request's `effort` when `model` supports that level with the attempt's `thinking`. If the request doesn't set `effort`, if `model` doesn't support the level, or if you set `effort` to `null`, the attempt runs at the default effort of `model`.
3811 - `task_budget`: If you leave it out, the attempt uses the request's `task_budget` when `model` accepts a task budget of that size. If the request doesn't set `task_budget`, if `model` doesn't accept it, or if you set `task_budget` to `null`, the attempt runs without a task budget.
3812
3813 Set `output_config` to `null` to run the attempt without a format or a task budget, at the default effort of `model`.
3814
3815 These rules apply with the `server-side-fallback-2026-07-01` beta header.
3816
38013817 - `effort: optional "low" or "medium" or "high" or 2 more or null`
38023818
38033819 How much effort the model should put into its response. Higher effort levels may result in more thorough analysis but take longer.
from line 3862
38463862
38473863 - `speed: optional "standard" or "fast" or null`
38483864
3849 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time.
3865 The inference speed mode for the fallback attempt that uses this `fallbacks` entry's `model`. If you leave it out, the attempt runs at `fast` speed only when the request sets `speed` to `fast` and your organization can use fast mode on `model`.
38503866
3867 Otherwise, or when you set this field to `null`, the attempt runs at `standard` speed.
3868
3869 These rules apply with the `server-side-fallback-2026-07-01` beta header.
3870
38513871 - `"standard"`
38523872
38533873 - `"fast"`
from line 3874
38543874
38553875 - `thinking: optional BetaThinkingConfigEnabled or BetaThinkingConfigDisabled or BetaThinkingConfigBetweenTools or BetaThinkingConfigAdaptive or null`
38563876
3877 The thinking configuration for the fallback attempt that uses this `fallbacks` entry's `model`. If you leave it out, the attempt uses the request's `thinking` when `model` supports that thinking `type`.
3878
3879 If you leave it out and the request's thinking `type` is `between_tools` but `model` doesn't support `between_tools`, the attempt uses `disabled` if `model` supports it. Otherwise, if `model` doesn't support the request's thinking `type`, if the request doesn't set `thinking`, or if you set this field to `null`, the attempt uses the thinking `type` that `model` uses when a request leaves out `thinking`. The request's `thinking.display` still applies where `model` allows it.
3880
3881 These rules apply with the `server-side-fallback-2026-07-01` beta header.
3882
38573883 - `BetaThinkingConfigEnabled object`
38583884
38593885 - `type: "enabled"`
from line 4585
45594585
45604586 - `"telemetry-destinations-2026-08-11"`
45614587
4588 - `"webhooks-2026-10-07"`
4589
45624590- `"anthropic-workspace-id": optional string`
45634591
45644592 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4877
48494877
48504878 - `"telemetry-destinations-2026-08-11"`
48514879
4880 - `"webhooks-2026-10-07"`
4881
48524882- `"anthropic-workspace-id": optional string`
48534883
48544884 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 5178
51485178
51495179 - `"telemetry-destinations-2026-08-11"`
51505180
5181 - `"webhooks-2026-10-07"`
5182
51515183- `"anthropic-workspace-id": optional string`
51525184
51535185 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 5461
54295461
54305462 - `"telemetry-destinations-2026-08-11"`
54315463
5464 - `"webhooks-2026-10-07"`
5465
54325466- `"anthropic-workspace-id": optional string`
54335467
54345468 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 5636
56025636
56035637 - `"telemetry-destinations-2026-08-11"`
56045638
5639 - `"webhooks-2026-10-07"`
5640
56055641- `"anthropic-workspace-id": optional string`
56065642
56075643 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 7288
72527288
72537289 - `enabled: optional boolean or null`
72547290
7255 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.
7256
7257 - `zoom: optional BetaBrowserZoomConfig or null`
7258
7259 `zoom`'s config overrides.
7260
7261 - `defer_loading: optional boolean or null`
7262
7263 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7264
7265 - `enabled: optional boolean or null`
7266
7267 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.
7268
7269 - `BetaToolComputerUse20241022 object`
7270
7271 - `type: "computer_20241022"`
7272
7273 - `display_height_px: number`
7274
7275 The height of the display in pixels.
7276
7277 minimum: 1
7278
7279 - `display_width_px: number`
7280
7281 The width of the display in pixels.
7282
7283 minimum: 1
7284
7285 - `name: "computer"`
7286
7287 Name of the tool.
7288
7289 This is how the tool will be called by the model and in `tool_use` blocks.
7290
7291 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
7292
7293 - `"direct"`
7294
7295 - `"code_execution_20250825"`
7296
7297 - `"code_execution_20260120"`
7298
7299 - `"code_execution_20260521"`
7300
7301 - `cache_control: optional BetaCacheControlEphemeral or null`
7302
7303 Create a cache control breakpoint at this content block.
7304
7305 - `defer_loading: optional boolean`
7306
7307 If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
7308
7309 - `display_number: optional number or null`
7310
7311 The X11 display number (e.g. 0, 1) for the display.
7312
7313 minimum: 0
7314
7315 - `input_examples: optional array of map[unknown]`
7316
7317 - `strict: optional boolean`
7318
7319 When true, guarantees schema validation on tool names and inputs
7320
7321 - `BetaMemoryTool20250818 object`
7322
7323 - `type: "memory_20250818"`
7324
7325 - `name: "memory"`
7326
7327 Name of the tool.
7328
7329 This is
7291 Whether this member is offered to the
No line in this hunk matches that.