Workspaces changedapi/organization/workspaces
Nearest release: v2.1.327, published 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+4added
Lines−3removed
From line
391
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 391, old and new numbered
/
from line 391
391391 -H 'anthropic-version: 2026-10-21' \
392392 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
393393 -d '{
394 "name": "x",
394 "name": "Workspace Name",
395395 "display_color": "#6C5BB9",
396396 "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
397397 "tags": {
from line 656
656656
657657- `user_profile_id: optional string`
658658
659 ID of a user profile to attach to the Workspace. Every inference request through the Workspace must then name this user profile; the API rejects a request that names none or a different one. Once set, it can't be replaced or removed (sending the same ID again changes nothing); only deleting the user profile clears it. The default Workspace can't have a user profile.
659 ID of a user profile to attach to the Workspace. Every inference request through the Workspace must then name this user profile; the API rejects a request that names none or a different one. Once set, it can't be replaced or removed (sending the same ID again changes nothing); only deleting the user profile clears it. It can't be set on a Workspace whose External Key isn't bound to this user profile. The default Workspace can't have a user profile.
660660
661661### Returns
662662
from line 768
768768 -d '{
769769 "display_color": "#6C5BB9",
770770 "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
771 "name": "Workspace Name",
771772 "tags": {
772773 "env": "prod",
773774 "team": "platform"
from line 1048
10471048
10481049- `KeyProfileMismatchErrorDetails object`
10491050
1050 The External Key is bound to a user profile, and the Workspace does not have that user profile. A Workspace can use only a key bound to its own user profile or a key that isn't bound to one.
1051 After this request, the External Key and the Workspace would not have the same user profile. A key and its Workspace must have the same user profile, or both have none.
10511052
10521053 - `error_code: "key_profile_mismatch"`
10531054
No line in this hunk matches that.