Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Batches changed

api/beta/messages/batches

Nearest release: v2.1.280, published 20 hours 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+32added
Lines−8removed
From line 123 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits13to this page, all time

The whole hunk

from line 123, old and new numbered
/
lines

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 123
123123 
124124- `"anthropic-workspace-id": optional string`
125125 
126 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
127 
128 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
129 
126130### Body parameters
127131 
128132- `requests: array of object`
from line 4387
43834387 
43844388- `"anthropic-workspace-id": optional string`
43854389 
4390 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
4391 
4392 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
4393 
43864394### Returns
43874395 
43884396- `BetaMessageBatch object`
from line 4663
46554663 
46564664- `"anthropic-workspace-id": optional string`
46574665 
4666 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
4667 
4668 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
4669 
46584670### Returns
46594671 
46604672- `data: array of BetaMessageBatch`
from line 4948
49364948 
49374949- `"anthropic-workspace-id": optional string`
49384950 
4951 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
4952 
4953 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
4954 
49394955### Returns
49404956 
49414957- `BetaMessageBatch object`
from line 5215
51995215 
52005216- `"anthropic-workspace-id": optional string`
52015217 
5218 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
5219 
5220 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
5221 
52025222### Returns
52035223 
52045224- `BetaDeletedMessageBatch object`
from line 5374
53545374 
53555375- `"anthropic-workspace-id": optional string`
53565376 
5377 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
5378 
5379 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
5380 
53575381### Returns
53585382 
53595383- `BetaMessageBatchIndividualResponse object`
from line 6497
64736497 
64746498 - `diagnostics: BetaDiagnostics or null`
64756499 
6476 Response envelope for request-level diagnostics. Present (possibly
6477 null) whenever the caller supplied `diagnostics` on the request.
6500 Request-level diagnostics: why the prompt cache could not fully reuse
6501 the prefix of the request named by `diagnostics.previous_message_id`.
64786502 
64796503 - `cache_miss_reason: BetaCacheMissModelChanged or BetaCacheMissSystemChanged or BetaCacheMissToolsChanged or 3 more or null`
64806504 
from line 8256
82328256 
82338257 - `tool_use_id: string`
82348258 
8235 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
8236 
8237 - `BetaTextEditorCodeExecutionToolResultBlock object`
8238 
8239 - `type: "text_editor_code_execution_tool_result"`
8240 
8241 default: text_editor_code_execution_tool_result
8242 
8243 - `content: BetaTextEditorCodeExecutionToolResultError or BetaTextEditorCodeExecutionViewResultBlock or BetaTextEditorCodeExecutionCreateResultBlock or BetaTextEditorCodeExecutionStrReplaceResultBlock`
8244 
8245 - `BetaTextEditorCodeExecutionToolResultError object`
8246 
8247 - `type: "text_editor_code_execution_tool_result_error"`
8248 
8249 default: text_editor_code_execution_tool_result_error
8250 
8251 - `error_code: "invalid_tool_input" or "unavailable" or "too_many_requests" or 2 more`
8252 
8253 - `"invalid_tool_input"`
8254 
8255 - `"unavailable"`
8256 
8257 - `"too_many_requests"`
8258 
8259 - `"execution_time_exceeded"`
8260 
8261 - `"file_not_found"`
8262 
8263 - `error_message: string or null`
8264 
8265 - `BetaTextEditorCodeExecutionViewResultBlock object`
8266 
8267 - `type: "text_editor_code_execution_view_result"`
8268 
8269 default: text_editor_code_execution_view_result
8270 
8271 - `content: string`
8272 
8273 - `file_type: "text" or "image" or "pdf"`
8274 
8275 - `"text"`
8276 
8277 - `"image"`
8278 
8279 - `"pdf"`
8280 
8281 - `num_lines: number or null`
8282 
8283 - `start_line: number or null`
8284 
8285 - `total_lines: number or null`
8286 
8287 - `BetaTextEditorCodeExecutionCreateResultBlock object`
8288 
8289 - `type: "text_editor_code_execution_create_result"`
8290 
8291 default: text_editor_code_execution_create_result
8292 
8293 - `is_file_update: boolean`
8294 
8295 - `BetaTextEditorCodeExecutionStrReplaceResultBlock object`
8296 
8297 
8259 patt