Create a Message changedapi/beta/messages/create
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+6added
Lines−2removed
From line
121
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 121, old and new numbered
/
from line 121
121121
122122- `"anthropic-workspace-id": optional string`
123123
124 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
125
126 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.
127
124128## Body parameters
125129
126130- `max_tokens: number`
from line 5184
51805184
51815185 - `diagnostics: BetaDiagnostics or null`
51825186
5183 Response envelope for request-level diagnostics. Present (possibly
5184 null) whenever the caller supplied `diagnostics` on the request.
5187 Request-level diagnostics: why the prompt cache could not fully reuse
5188 the prefix of the request named by `diagnostics.previous_message_id`.
51855189
51865190 - `cache_miss_reason: BetaCacheMissModelChanged or BetaCacheMissSystemChanged or BetaCacheMissToolsChanged or 3 more or null`
51875191
No line in this hunk matches that.