Batches changedapi/messages/batches
Nearest release: v2.1.296, published an hour after 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+36added
Lines−0removed
From line
17
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
The whole hunk
from line 17, 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 17
1717
1818### Headers
1919
20- `"anthropic-version": optional string`
21
22 The version of the Claude API you want to use.
23
24 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
25
2026- `"anthropic-user-profile-id": optional string`
2127
2228 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 3286
32803286
32813287### Headers
32823288
3289- `"anthropic-version": optional string`
3290
3291 The version of the Claude API you want to use.
3292
3293 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3294
32833295- `"anthropic-workspace-id": optional string`
32843296
32853297 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3467
34553467
34563468### Headers
34573469
3470- `"anthropic-version": optional string`
3471
3472 The version of the Claude API you want to use.
3473
3474 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3475
34583476- `"anthropic-workspace-id": optional string`
34593477
34603478 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3657
36393657
36403658### Headers
36413659
3660- `"anthropic-version": optional string`
3661
3662 The version of the Claude API you want to use.
3663
3664 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3665
36423666- `"anthropic-workspace-id": optional string`
36433667
36443668 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3829
38053829
38063830### Headers
38073831
3832- `"anthropic-version": optional string`
3833
3834 The version of the Claude API you want to use.
3835
3836 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3837
38083838- `"anthropic-workspace-id": optional string`
38093839
38103840 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3893
38633893
38643894### Headers
38653895
3896- `"anthropic-version": optional string`
3897
3898 The version of the Claude API you want to use.
3899
3900 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
3901
38663902- `"anthropic-workspace-id": optional string`
38673903
38683904 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 8699
86638699
86648700 - `content: ToolSearchToolResultError or ToolSearchToolSearchResultBlock`
86658701
8666 - `ToolSearchToolResultError object`
8667
8668 - `type: "tool_search_tool_result_error"`
8669
8670 default: tool_search_tool_result_error
8671
8672 - `error_code: ToolSearchToolResultErrorCode`
8673
8674 - `"invalid_tool_input"`
8675
8676 - `"unavailable"`
8677
8678 - `"too_many_requests"`
8679
8680 - `"execution_time_exceeded"`
8681
8682 - `error_message: string or null`
8683
8684 - `ToolSearchToolSearchResultBlock object`
8685
8686 - `type: "tool_search_tool_search_result"`
8687
8688 default: tool_search_tool_search_result
8689
8690 - `tool_references: array of ToolReferenceBlock`
8691
8692 - `type: "tool_reference"`
8693
8694 default: tool_reference
8695
8696 - `tool_name: string`
8697
8698 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
8699
8700 - `tool_use_id: string`
8701
8702 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
8703
8704 - `ContainerUploadBlock object`
8705
8706 Response model for a file uploaded to the container.
8707
8708 - `type: "container_upload"`
8709
8710 default: container_upload
8711
8712 - `file_id: string`
8713
8714 - `diagnostics: Diagnostics or null`
8715
8716 Request-level diagnostics. `null` when the request did not supply `diagnostics`,
8702 - `ToolSearc
No line in this hunk matches that.