Follow Discord
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

Beta changed

api/beta

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+1,810added
Lines−257removed
From line 561 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits16to this page, all time

The whole hunk

from line 561, 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 561
561561 
562562- `"anthropic-workspace-id": optional string`
563563 
564 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
565 
566 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.
567 
564568#### Returns
565569 
566570- `data: array of BetaModelInfo`
from line 945
941945 
942946- `"anthropic-workspace-id": optional string`
943947 
948 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
949 
950 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.
951 
944952#### Returns
945953 
946954- `BetaModelInfo object`
from line 1312
13041312 
13051313- `"anthropic-workspace-id": optional string`
13061314 
1315 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1316 
1317 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.
1318 
13071319#### Body parameters
13081320 
13091321- `max_tokens: number`
from line 6375
63636375 
63646376 - `diagnostics: BetaDiagnostics or null`
63656377 
6366 Response envelope for request-level diagnostics. Present (possibly
6367 null) whenever the caller supplied `diagnostics` on the request.
6378 Request-level diagnostics: why the prompt cache could not fully reuse
6379 the prefix of the request named by `diagnostics.previous_message_id`.
63686380 
63696381 - `cache_miss_reason: BetaCacheMissModelChanged or BetaCacheMissSystemChanged or BetaCacheMissToolsChanged or 3 more or null`
63706382 
from line 7601
75897601 
75907602- `"anthropic-workspace-id": optional string`
75917603 
7604 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
7605 
7606 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.
7607 
75927608#### Body parameters
75937609 
75947610- `messages: array of BetaMessageParam`
from line 8735
87198735 
87208736 - `BetaCompactionBlockParam object`
87218737 
8722 A compaction block containing summary of previous context.
8723 
8724 Users should round-trip these blocks from responses to subsequent requests
8725 to maintain context across compaction boundaries.
8726 
8727 When content is None, the block represents a failed compaction. The server
8728 treats these as no-ops. Empty string content is not allowed.
8729 
8730 - `type: "compaction"`
8731 
8732 - `cache_control: optional BetaCacheControlEphemeral or null`
8733 
8734 Create a cache control breakpoint at this content block.
8735 
8736 - `content: optional string or null`
8737 
8738 Summary of previously compacted content, or null if compaction failed
8739 
8740 - `encrypted_content: optional string or null`
8741 
8742 Opaque metadata from prior compaction, to be round-tripped verbatim
8743 
8744 - `signature: optional string or null`
8745 
8746 The block's signature as returned, to be sent back verbatim
8747 
8748 - `BetaRequestToolAdditionBlock object`
8749 
8750 Mid-conversation directive to surface a declared tool.
8751 
8752 `tool` references a tool (or MCP toolset) by name from the request's
8753 `tools`; it is offered to the model from this point in the
8754 conversation onward.
8755 
8756 - `type: "tool_addition"`
8757 
8758 - `tool: BetaToolChangeT
8738
Feedback