Follow Discord
Sweep 30 Oct 2026 · 21:36Z Build v2.1.315 533 read Stable v2.1.308 Latest v2.1.314 Next v2.1.315 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261030T212610Z

396 pages moved out of 826 read.

Pages moved 396 significant first
Pages read 826 in this capture
Captured 21:26 UTC
Corpus hash 68200c8a9acb corpus-hash

What this read moved

51-75 of 396, page 3 of 16

This capture is too large to show at once. Changes 51-75 of 396 are below, significant first; the rest are on the following screens.

api/beta/organization/service_accounts Changed · +16 / -0 lines

from line 143
143143 
144144 - `"analytics-usage-cost-2026-08-24"`
145145 
146 - `"experimental-claude-tag-2026-10-21"`
147 
146148### Body parameters
147149 
148150- `name: string`
from line 412
410412 
411413 - `"analytics-usage-cost-2026-08-24"`
412414 
415 - `"experimental-claude-tag-2026-10-21"`
416 
413417### Returns
414418 
415419- `data: array of BetaServiceAccount`
from line 643
639643 
640644 - `"analytics-usage-cost-2026-08-24"`
641645 
646 - `"experimental-claude-tag-2026-10-21"`
647 
642648### Returns
643649 
644650- `BetaServiceAccount object`
from line 875
869875 
870876 - `"analytics-usage-cost-2026-08-24"`
871877 
878 - `"experimental-claude-tag-2026-10-21"`
879 
872880### Body parameters
873881 
874882- `description: optional string or null`
from line 1125
11171125 
11181126 - `"analytics-usage-cost-2026-08-24"`
11191127 
1128 - `"experimental-claude-tag-2026-10-21"`
1129 
11201130### Returns
11211131 
11221132- `BetaServiceAccount object`
from line 1465
14551465 
14561466 - `"analytics-usage-cost-2026-08-24"`
14571467 
1468 - `"experimental-claude-tag-2026-10-21"`
1469 
14581470#### Body parameters
14591471 
14601472- `workspace_id: string`
from line 1711
16991711 
17001712 - `"analytics-usage-cost-2026-08-24"`
17011713 
1714 - `"experimental-claude-tag-2026-10-21"`
1715 
17021716#### Returns
17031717 
17041718- `data: array of BetaServiceAccountWorkspaceMember`
from line 1928
19141928 - `"message-threads-2026-08-12"`
19151929 
19161930 - `"analytics-usage-cost-2026-08-24"`
1931 
1932 - `"experimental-claude-tag-2026-10-21"`
19171933 
19181934#### Returns
19191935 

api/beta/organization/service_accounts/workspaces Changed · +6 / -0 lines

from line 148
148148 
149149 - `"analytics-usage-cost-2026-08-24"`
150150 
151 - `"experimental-claude-tag-2026-10-21"`
152 
151153### Body parameters
152154 
153155- `workspace_id: string`
from line 394
392394 
393395 - `"analytics-usage-cost-2026-08-24"`
394396 
397 - `"experimental-claude-tag-2026-10-21"`
398 
395399### Returns
396400 
397401- `data: array of BetaServiceAccountWorkspaceMember`
from line 611
607611 - `"message-threads-2026-08-12"`
608612 
609613 - `"analytics-usage-cost-2026-08-24"`
614 
615 - `"experimental-claude-tag-2026-10-21"`
610616 
611617### Returns
612618 

api/beta/organization/spend_limits Changed · +32 / -28 lines

from line 141
141141 
142142 - `"analytics-usage-cost-2026-08-24"`
143143 
144 - `"experimental-claude-tag-2026-10-21"`
145 
144146### Body parameters
145147 
146148- `amount: string or null`
from line 332
330332 "amount": "50000",
331333 "scope": {
332334 "type": "user",
333 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
335 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
334336 },
335337 "period": "monthly"
336338 }'
from line 350
348350 "period": "daily",
349351 "scope": {
350352 "type": "user",
351 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
353 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
352354 },
353355 "type": "spend_limit",
354356 "updated_at": "2019-12-27T18:11:19.117Z"
from line 523
521523 "period": "daily",
522524 "scope": {
523525 "type": "user",
524 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
526 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
525527 },
526528 "type": "spend_limit",
527529 "updated_at": "2019-12-27T18:11:19.117Z"
from line 754
752754 
753755 - `"analytics-usage-cost-2026-08-24"`
754756 
757 - `"experimental-claude-tag-2026-10-21"`
758 
755759### Returns
756760 
757761- `data: array of BetaSpendLimit`
from line 905
901905 "period": "daily",
902906 "scope": {
903907 "type": "user",
904 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
908 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
905909 },
906910 "type": "spend_limit",
907911 "updated_at": "2019-12-27T18:11:19.117Z"
from line 1608
16041608 "email_address": "email_address",
16051609 "name": "name",
16061610 "type": "user_actor",
1607 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1611 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
16081612 },
16091613 "amount": "50000",
16101614 "currency": "USD",
from line 1616
16121616 "period_to_date_spend": "12050.5",
16131617 "scope": {
16141618 "type": "user",
1615 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1619 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
16161620 },
16171621 "source": {
16181622 "type": "user",
1619 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1623 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
16201624 },
16211625 "spend_limit_id": "spend_limit_id"
16221626 }
from line 1916
19121916 "email_address": "email_address",
19131917 "name": "name",
19141918 "type": "user_actor",
1915 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1919 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19161920 },
19171921 "created_at": "2019-12-27T18:11:19.117Z",
19181922 "period": "daily",
from line 1926
19221926 "email_address": "email_address",
19231927 "name": "name",
19241928 "type": "user_actor",
1925 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1929 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19261930 },
19271931 "spend_summary": {
19281932 "actor": {
from line 1934
19301934 "email_address": "email_address",
19311935 "name": "name",
19321936 "type": "user_actor",
1933 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1937 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19341938 },
19351939 "amount": "50000",
19361940 "currency": "USD",
from line 1942
19381942 "period_to_date_spend": "12050.5",
19391943 "scope": {
19401944 "type": "user",
1941 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1945 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19421946 },
19431947 "source": {
19441948 "type": "user",
1945 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1949 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19461950 },
19471951 "spend_limit_id": "spend_limit_id"
19481952 },
from line 2221
22172221 "email_address": "email_address",
22182222 "name": "name",
22192223 "type": "user_actor",
2220 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2224 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22212225 },
22222226 "created_at": "2019-12-27T18:11:19.117Z",
22232227 "period": "daily",
from line 2231
22272231 "email_address": "email_address",
22282232 "name": "name",
22292233 "type": "user_actor",
2230 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2234 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22312235 },
22322236 "spend_summary": {
22332237 "actor": {
from line 2239
22352239 "email_address": "email_address",
22362240 "name": "name",
22372241 "type": "user_actor",
2238 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2242 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22392243 },
22402244 "amount": "50000",
22412245 "currency": "USD",
from line 2247
22432247 "period_to_date_spend": "12050.5",
22442248 "scope": {
22452249 "type": "user",
2246 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2250 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22472251 },
22482252 "source": {
22492253 "type": "user",
2250 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2254 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22512255 },
22522256 "spend_limit_id": "spend_limit_id"
22532257 },
from line 2614
26102614 "email_address": "email_address",
26112615 "name": "name",
26122616 "type": "user_actor",
2613 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2617 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26142618 },
26152619 "created_at": "2019-12-27T18:11:19.117Z",
26162620 "period": "daily",
from line 2624
26202624 "email_address": "email_address",
26212625 "name": "name",
26222626 "type": "user_actor",
2623 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2627 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26242628 },
26252629 "spend_limit": {
26262630 "id": "id",
from line 2635
26312635 "period": "daily",
26322636 "scope": {
26332637 "type": "user",
2634 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2638 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26352639 },
26362640 "type": "spend_limit",
26372641 "updated_at": "2019-12-27T18:11:19.117Z"
from line 2646
26422646 "email_address": "email_address",
26432647 "name": "name",
26442648 "type": "user_actor",
2645 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2649 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26462650 },
26472651 "amount": "50000",
26482652 "currency": "USD",
from line 2654
26502654 "period_to_date_spend": "12050.5",
26512655 "scope": {
26522656 "type": "user",
2653 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2657 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26542658 },
26552659 "source": {
26562660 "type": "user",
2657 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2661 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26582662 },
26592663 "spend_limit_id": "spend_limit_id"
26602664 },
from line 2936
29322936 "email_address": "email_address",
29332937 "name": "name",
29342938 "type": "user_actor",
2935 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2939 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29362940 },
29372941 "created_at": "2019-12-27T18:11:19.117Z",
29382942 "period": "daily",
from line 2946
29422946 "email_address": "email_address",
29432947 "name": "name",
29442948 "type": "user_actor",
2945 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2949 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29462950 },
29472951 "spend_summary": {
29482952 "actor": {
from line 2954
29502954 "email_address": "email_address",
29512955 "name": "name",
29522956 "type": "user_actor",
2953 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2957 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29542958 },
29552959 "amount": "50000",
29562960 "currency": "USD",
from line 2962
29582962 "period_to_date_spend": "12050.5",
29592963 "scope": {
29602964 "type": "user",
2961 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2965 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29622966 },
29632967 "source": {
29642968 "type": "user",
2965 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2969 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29662970 },
29672971 "spend_limit_id": "spend_limit_id"
29682972 },

api/beta/organization/spend_limits/effective Changed · +3 / -3 lines

from line 246
246246 "email_address": "email_address",
247247 "name": "name",
248248 "type": "user_actor",
249 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
249 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
250250 },
251251 "amount": "50000",
252252 "currency": "USD",
from line 254
254254 "period_to_date_spend": "12050.5",
255255 "scope": {
256256 "type": "user",
257 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
257 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
258258 },
259259 "source": {
260260 "type": "user",
261 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
261 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
262262 },
263263 "spend_limit_id": "spend_limit_id"
264264 }

api/beta/organization/spend_limits/effective/list Changed · +3 / -3 lines

from line 244
244244 "email_address": "email_address",
245245 "name": "name",
246246 "type": "user_actor",
247 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
247 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
248248 },
249249 "amount": "50000",
250250 "currency": "USD",
from line 252
252252 "period_to_date_spend": "12050.5",
253253 "scope": {
254254 "type": "user",
255 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
255 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
256256 },
257257 "source": {
258258 "type": "user",
259 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
259 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
260260 },
261261 "spend_limit_id": "spend_limit_id"
262262 }

api/beta/organization/spend_limits/increase_requests Changed · +21 / -21 lines

from line 290
290290 "email_address": "email_address",
291291 "name": "name",
292292 "type": "user_actor",
293 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
293 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
294294 },
295295 "created_at": "2019-12-27T18:11:19.117Z",
296296 "period": "daily",
from line 300
300300 "email_address": "email_address",
301301 "name": "name",
302302 "type": "user_actor",
303 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
303 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
304304 },
305305 "spend_summary": {
306306 "actor": {
from line 308
308308 "email_address": "email_address",
309309 "name": "name",
310310 "type": "user_actor",
311 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
311 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
312312 },
313313 "amount": "50000",
314314 "currency": "USD",
from line 316
316316 "period_to_date_spend": "12050.5",
317317 "scope": {
318318 "type": "user",
319 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
319 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
320320 },
321321 "source": {
322322 "type": "user",
323 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
323 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
324324 },
325325 "spend_limit_id": "spend_limit_id"
326326 },
from line 595
595595 "email_address": "email_address",
596596 "name": "name",
597597 "type": "user_actor",
598 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
598 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
599599 },
600600 "created_at": "2019-12-27T18:11:19.117Z",
601601 "period": "daily",
from line 605
605605 "email_address": "email_address",
606606 "name": "name",
607607 "type": "user_actor",
608 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
608 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
609609 },
610610 "spend_summary": {
611611 "actor": {
from line 613
613613 "email_address": "email_address",
614614 "name": "name",
615615 "type": "user_actor",
616 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
616 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
617617 },
618618 "amount": "50000",
619619 "currency": "USD",
from line 621
621621 "period_to_date_spend": "12050.5",
622622 "scope": {
623623 "type": "user",
624 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
624 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
625625 },
626626 "source": {
627627 "type": "user",
628 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
628 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
629629 },
630630 "spend_limit_id": "spend_limit_id"
631631 },
from line 988
988988 "email_address": "email_address",
989989 "name": "name",
990990 "type": "user_actor",
991 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
991 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
992992 },
993993 "created_at": "2019-12-27T18:11:19.117Z",
994994 "period": "daily",
from line 998
998998 "email_address": "email_address",
999999 "name": "name",
10001000 "type": "user_actor",
1001 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1001 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
10021002 },
10031003 "spend_limit": {
10041004 "id": "id",
from line 1009
10091009 "period": "daily",
10101010 "scope": {
10111011 "type": "user",
1012 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1012 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
10131013 },
10141014 "type": "spend_limit",
10151015 "updated_at": "2019-12-27T18:11:19.117Z"
from line 1020
10201020 "email_address": "email_address",
10211021 "name": "name",
10221022 "type": "user_actor",
1023 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1023 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
10241024 },
10251025 "amount": "50000",
10261026 "currency": "USD",
from line 1028
10281028 "period_to_date_spend": "12050.5",
10291029 "scope": {
10301030 "type": "user",
1031 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1031 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
10321032 },
10331033 "source": {
10341034 "type": "user",
1035 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1035 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
10361036 },
10371037 "spend_limit_id": "spend_limit_id"
10381038 },
from line 1310
13101310 "email_address": "email_address",
13111311 "name": "name",
13121312 "type": "user_actor",
1313 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1313 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
13141314 },
13151315 "created_at": "2019-12-27T18:11:19.117Z",
13161316 "period": "daily",
from line 1320
13201320 "email_address": "email_address",
13211321 "name": "name",
13221322 "type": "user_actor",
1323 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1323 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
13241324 },
13251325 "spend_summary": {
13261326 "actor": {
from line 1328
13281328 "email_address": "email_address",
13291329 "name": "name",
13301330 "type": "user_actor",
1331 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1331 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
13321332 },
13331333 "amount": "50000",
13341334 "currency": "USD",
from line 1336
13361336 "period_to_date_spend": "12050.5",
13371337 "scope": {
13381338 "type": "user",
1339 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1339 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
13401340 },
13411341 "source": {
13421342 "type": "user",
1343 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1343 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
13441344 },
13451345 "spend_limit_id": "spend_limit_id"
13461346 },

api/beta/organization/spend_limits/increase_requests/approve Changed · +6 / -6 lines

from line 357
357357 "email_address": "email_address",
358358 "name": "name",
359359 "type": "user_actor",
360 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
360 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
361361 },
362362 "created_at": "2019-12-27T18:11:19.117Z",
363363 "period": "daily",
from line 367
367367 "email_address": "email_address",
368368 "name": "name",
369369 "type": "user_actor",
370 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
370 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
371371 },
372372 "spend_limit": {
373373 "id": "id",
from line 378
378378 "period": "daily",
379379 "scope": {
380380 "type": "user",
381 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
381 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
382382 },
383383 "type": "spend_limit",
384384 "updated_at": "2019-12-27T18:11:19.117Z"
from line 389
389389 "email_address": "email_address",
390390 "name": "name",
391391 "type": "user_actor",
392 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
392 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
393393 },
394394 "amount": "50000",
395395 "currency": "USD",
from line 397
397397 "period_to_date_spend": "12050.5",
398398 "scope": {
399399 "type": "user",
400 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
400 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
401401 },
402402 "source": {
403403 "type": "user",
404 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
404 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
405405 },
406406 "spend_limit_id": "spend_limit_id"
407407 },

api/beta/organization/spend_limits/increase_requests/deny Changed · +5 / -5 lines

from line 272
272272 "email_address": "email_address",
273273 "name": "name",
274274 "type": "user_actor",
275 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
275 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
276276 },
277277 "created_at": "2019-12-27T18:11:19.117Z",
278278 "period": "daily",
from line 282
282282 "email_address": "email_address",
283283 "name": "name",
284284 "type": "user_actor",
285 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
285 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
286286 },
287287 "spend_summary": {
288288 "actor": {
from line 290
290290 "email_address": "email_address",
291291 "name": "name",
292292 "type": "user_actor",
293 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
293 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
294294 },
295295 "amount": "50000",
296296 "currency": "USD",
from line 298
298298 "period_to_date_spend": "12050.5",
299299 "scope": {
300300 "type": "user",
301 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
301 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
302302 },
303303 "source": {
304304 "type": "user",
305 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
305 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
306306 },
307307 "spend_limit_id": "spend_limit_id"
308308 },

api/beta/organization/spend_limits/increase_requests/list Changed · +5 / -5 lines

from line 288
288288 "email_address": "email_address",
289289 "name": "name",
290290 "type": "user_actor",
291 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
291 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
292292 },
293293 "created_at": "2019-12-27T18:11:19.117Z",
294294 "period": "daily",
from line 298
298298 "email_address": "email_address",
299299 "name": "name",
300300 "type": "user_actor",
301 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
301 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
302302 },
303303 "spend_summary": {
304304 "actor": {
from line 306
306306 "email_address": "email_address",
307307 "name": "name",
308308 "type": "user_actor",
309 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
309 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
310310 },
311311 "amount": "50000",
312312 "currency": "USD",
from line 314
314314 "period_to_date_spend": "12050.5",
315315 "scope": {
316316 "type": "user",
317 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
317 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
318318 },
319319 "source": {
320320 "type": "user",
321 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
321 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
322322 },
323323 "spend_limit_id": "spend_limit_id"
324324 },

api/beta/organization/spend_limits/increase_requests/retrieve Changed · +5 / -5 lines

from line 266
266266 "email_address": "email_address",
267267 "name": "name",
268268 "type": "user_actor",
269 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
269 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
270270 },
271271 "created_at": "2019-12-27T18:11:19.117Z",
272272 "period": "daily",
from line 276
276276 "email_address": "email_address",
277277 "name": "name",
278278 "type": "user_actor",
279 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
279 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
280280 },
281281 "spend_summary": {
282282 "actor": {
from line 284
284284 "email_address": "email_address",
285285 "name": "name",
286286 "type": "user_actor",
287 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
287 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
288288 },
289289 "amount": "50000",
290290 "currency": "USD",
from line 292
292292 "period_to_date_spend": "12050.5",
293293 "scope": {
294294 "type": "user",
295 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
295 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
296296 },
297297 "source": {
298298 "type": "user",
299 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
299 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
300300 },
301301 "spend_limit_id": "spend_limit_id"
302302 },

api/beta/organization/spend_limits/set Changed · +4 / -2 lines

from line 139
139139 
140140 - `"analytics-usage-cost-2026-08-24"`
141141 
142 - `"experimental-claude-tag-2026-10-21"`
143 
142144## Body parameters
143145 
144146- `amount: string or null`
from line 330
328330 "amount": "50000",
329331 "scope": {
330332 "type": "user",
331 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
333 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
332334 },
333335 "period": "monthly"
334336 }'
from line 348
346348 "period": "daily",
347349 "scope": {
348350 "type": "user",
349 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
351 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
350352 },
351353 "type": "spend_limit",
352354 "updated_at": "2019-12-27T18:11:19.117Z"

api/beta/organization/telemetry_destinations Changed · +18 / -0 lines

from line 137
137137 
138138 - `"analytics-usage-cost-2026-08-24"`
139139 
140 - `"experimental-claude-tag-2026-10-21"`
141 
140142### Body parameters
141143 
142144- `endpoint_url: string`
from line 618
616618 
617619 - `"analytics-usage-cost-2026-08-24"`
618620 
621 - `"experimental-claude-tag-2026-10-21"`
622 
619623### Returns
620624 
621625- `data: array of BetaTelemetryDestination`
from line 977
973977 
974978 - `"analytics-usage-cost-2026-08-24"`
975979 
980 - `"experimental-claude-tag-2026-10-21"`
981 
976982### Returns
977983 
978984- `BetaTelemetryDestination object`
from line 1331
13251331 
13261332 - `"analytics-usage-cost-2026-08-24"`
13271333 
1334 - `"experimental-claude-tag-2026-10-21"`
1335 
13281336### Body parameters
13291337 
13301338- `display_name: optional string or null`
from line 1819
18111819 
18121820 - `"analytics-usage-cost-2026-08-24"`
18131821 
1822 - `"experimental-claude-tag-2026-10-21"`
1823 
18141824### Returns
18151825 
18161826- `BetaDeletedTelemetryDestination object`
from line 1986
19761986 
19771987 - `"analytics-usage-cost-2026-08-24"`
19781988 
1989 - `"experimental-claude-tag-2026-10-21"`
1990 
19791991### Returns
19801992 
19811993- `BetaTelemetryDestinationTestResponse object`
from line 2923
29112923 
29122924 - `"analytics-usage-cost-2026-08-24"`
29132925 
2926 - `"experimental-claude-tag-2026-10-21"`
2927 
29142928#### Returns
29152929 
29162930- `data: array of BetaTelemetryDestinationWorkspace`
from line 3120
31063120 
31073121 - `"analytics-usage-cost-2026-08-24"`
31083122 
3123 - `"experimental-claude-tag-2026-10-21"`
3124 
31093125#### Returns
31103126 
31113127- `BetaTelemetryDestinationWorkspace object`
from line 3310
32943310 - `"message-threads-2026-08-12"`
32953311 
32963312 - `"analytics-usage-cost-2026-08-24"`
3313 
3314 - `"experimental-claude-tag-2026-10-21"`
32973315 
32983316#### Returns
32993317 

api/beta/organization/telemetry_destinations/workspaces Changed · +6 / -0 lines

from line 155
155155 
156156 - `"analytics-usage-cost-2026-08-24"`
157157 
158 - `"experimental-claude-tag-2026-10-21"`
159 
158160### Returns
159161 
160162- `data: array of BetaTelemetryDestinationWorkspace`
from line 352
350352 
351353 - `"analytics-usage-cost-2026-08-24"`
352354 
355 - `"experimental-claude-tag-2026-10-21"`
356 
353357### Returns
354358 
355359- `BetaTelemetryDestinationWorkspace object`
from line 542
538542 - `"message-threads-2026-08-12"`
539543 
540544 - `"analytics-usage-cost-2026-08-24"`
545 
546 - `"experimental-claude-tag-2026-10-21"`
541547 
542548### Returns
543549 

api/beta/organization/users Changed · +4 / -4 lines

from line 127
127127{
128128 "data": [
129129 {
130 "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
130 "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
131131 "added_at": "2024-10-30T23:58:27.427722Z",
132132 "email": "[email protected]",
133133 "name": "Jane Doe",
from line 225
225225 
226226```json
227227{
228 "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
228 "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
229229 "added_at": "2024-10-30T23:58:27.427722Z",
230230 "email": "[email protected]",
231231 "name": "Jane Doe",
from line 340
340340 
341341```json
342342{
343 "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
343 "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
344344 "added_at": "2024-10-30T23:58:27.427722Z",
345345 "email": "[email protected]",
346346 "name": "Jane Doe",
from line 396
396396 
397397```json
398398{
399 "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
399 "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
400400 "type": "user_deleted"
401401}
402402```

api/beta/organization/webhooks Changed · +12 / -0 lines

from line 141
141141 
142142 - `"analytics-usage-cost-2026-08-24"`
143143 
144 - `"experimental-claude-tag-2026-10-21"`
145 
144146### Body parameters
145147 
146148- `enabled_events: array of "user_profile.enforcement_action_opened" or "user_profile.enforcement_action_resolved"`
from line 417
415417 
416418 - `"analytics-usage-cost-2026-08-24"`
417419 
420 - `"experimental-claude-tag-2026-10-21"`
421 
418422### Returns
419423 
420424- `data: array of BetaOrganizationWebhookEndpoint`
from line 657
653657 
654658 - `"analytics-usage-cost-2026-08-24"`
655659 
660 - `"experimental-claude-tag-2026-10-21"`
661 
656662### Returns
657663 
658664- `BetaOrganizationWebhookEndpoint object`
from line 879
873879 
874880 - `"analytics-usage-cost-2026-08-24"`
875881 
882 - `"experimental-claude-tag-2026-10-21"`
883 
876884### Body parameters
877885 
878886- `description: optional string`
from line 1135
11271135 
11281136 - `"analytics-usage-cost-2026-08-24"`
11291137 
1138 - `"experimental-claude-tag-2026-10-21"`
1139 
11301140### Returns
11311141 
11321142- `BetaDeletedOrganizationWebhookEndpoint object`
from line 1310
13001310 - `"message-threads-2026-08-12"`
13011311 
13021312 - `"analytics-usage-cost-2026-08-24"`
1313 
1314 - `"experimental-claude-tag-2026-10-21"`
13031315 
13041316### Returns
13051317 

api/beta/organization/workspaces Changed · +186 / -135 lines

from line 73
7373 
7474 - `compartment_id: string`
7575 
76 Identifier for this Workspace's encryption compartment. When you configure a
77 customer-managed encryption key (CMEK) on AWS, reference this value in your
78 KMS key-policy condition so the key is scoped to this compartment. On GCP and
79 Azure, Anthropic enforces the compartment binding automatically; you do not
80 need to reference this value in your key configuration. See the CMEK
81 integration guide for the required key configuration; unless your organization
82 is on Claude Platform on AWS, it includes a separate value used during key
83 validation. On Claude Platform on AWS there is no separate validation value:
84 the key is validated against this Workspace's own value when it is attached, so
85 if your key policy uses the compartment condition, add this value to it before
86 attaching the key.
76 Identifier for this Workspace's encryption compartment. When you configure an
77 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
78 profile, reference this value in your KMS key-policy condition so the key is
79 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
80 binding automatically; you do not need to reference this value in your key
81 configuration. See the CMEK integration guide for the required key
82 configuration; unless your organization is on Claude Platform on AWS, it
83 includes a separate value used during key validation. On Claude Platform on AWS
84 there is no separate validation value: your organization's own key is validated
85 against this Workspace's own value when it is attached, so if its key policy
86 uses the compartment condition, add this value to it before attaching the key.
8787 
8888 - `created_at: string`
8989 
from line 129
129129 Workspace. Setting this field requires CMEK to be enabled for your
130130 organization. When set, data stored for this Workspace is encrypted with the
131131 referenced key. Create key configurations with the External Keys API. On
132 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
133 single-Region key in the same AWS account and Region as the Workspace. On that
134 platform the key is validated against this Workspace when it is attached, so a
135 key-policy problem is reported as an error on this request. This field is write-once:
136 once a key is attached to a Workspace it cannot be detached or replaced. To
137 rotate key material, rotate the underlying key on your cloud KMS; the
138 `external_key_id` stays the same.
132 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
133 organization's own key must be a single-Region key in the same AWS account and
134 Region as the Workspace. On that platform the key is validated against this
135 Workspace when it is attached, so a key-policy problem is reported as an error
136 on this request. This field is write-once: once a key is attached to a Workspace
137 it cannot be detached or replaced. To rotate key material, rotate the underlying
138 key on your cloud KMS; the `external_key_id` stays the same.
139139 
140140 - `name: string`
141141 
from line 145
145145 
146146 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
147147 
148 - `user_profile_id: string or null`
149 
150 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
151 
148152- `first_id: string or null`
149153 
150154 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 191
187191 "env": "prod",
188192 "team": "platform"
189193 },
190 "type": "workspace"
194 "type": "workspace",
195 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
191196 }
192197 ],
193198 "first_id": "first_id",
from line 329
324329 
325330 - `"analytics-usage-cost-2026-08-24"`
326331 
332 - `"experimental-claude-tag-2026-10-21"`
333 
327334### Body parameters
328335 
329336- `name: string`
from line 379
372379 Workspace. Setting this field requires CMEK to be enabled for your
373380 organization. When set, data stored for this Workspace is encrypted with the
374381 referenced key. Create key configurations with the External Keys API. On
375 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
376 single-Region key in the same AWS account and Region as the Workspace. On that
377 platform the key is validated against this Workspace when it is attached, so a
378 key-policy problem is reported as an error on this request. This field is write-once:
379 once a key is attached to a Workspace it cannot be detached or replaced. To
380 rotate key material, rotate the underlying key on your cloud KMS; the
381 `external_key_id` stays the same.
382 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
383 organization's own key must be a single-Region key in the same AWS account and
384 Region as the Workspace. On that platform the key is validated against this
385 Workspace when it is attached, so a key-policy problem is reported as an error
386 on this request. This field is write-once: once a key is attached to a Workspace
387 it cannot be detached or replaced. To rotate key material, rotate the underlying
388 key on your cloud KMS; the `external_key_id` stays the same.
382389 
383390- `tags: optional map[string] or null`
384391 
385392 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
386393 
394- `user_profile_id: optional string or null`
395 
396 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. The user profile can't be replaced or removed later; only deleting the user profile clears it.
397 
387398### Returns
388399 
389400- `BetaWorkspace object`
from line 419
408419 
409420 - `compartment_id: string`
410421 
411 Identifier for this Workspace's encryption compartment. When you configure a
412 customer-managed encryption key (CMEK) on AWS, reference this value in your
413 KMS key-policy condition so the key is scoped to this compartment. On GCP and
414 Azure, Anthropic enforces the compartment binding automatically; you do not
415 need to reference this value in your key configuration. See the CMEK
416 integration guide for the required key configuration; unless your organization
417 is on Claude Platform on AWS, it includes a separate value used during key
418 validation. On Claude Platform on AWS there is no separate validation value:
419 the key is validated against this Workspace's own value when it is attached, so
420 if your key policy uses the compartment condition, add this value to it before
421 attaching the key.
422 Identifier for this Workspace's encryption compartment. When you configure an
423 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
424 profile, reference this value in your KMS key-policy condition so the key is
425 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
426 binding automatically; you do not need to reference this value in your key
427 configuration. See the CMEK integration guide for the required key
428 configuration; unless your organization is on Claude Platform on AWS, it
429 includes a separate value used during key validation. On Claude Platform on AWS
430 there is no separate validation value: your organization's own key is validated
431 against this Workspace's own value when it is attached, so if its key policy
432 uses the compartment condition, add this value to it before attaching the key.
422433 
423434 - `created_at: string`
424435 
from line 475
464475 Workspace. Setting this field requires CMEK to be enabled for your
465476 organization. When set, data stored for this Workspace is encrypted with the
466477 referenced key. Create key configurations with the External Keys API. On
467 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
468 single-Region key in the same AWS account and Region as the Workspace. On that
469 platform the key is validated against this Workspace when it is attached, so a
470 key-policy problem is reported as an error on this request. This field is write-once:
471 once a key is attached to a Workspace it cannot be detached or replaced. To
472 rotate key material, rotate the underlying key on your cloud KMS; the
473 `external_key_id` stays the same.
478 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
479 organization's own key must be a single-Region key in the same AWS account and
480 Region as the Workspace. On that platform the key is validated against this
481 Workspace when it is attached, so a key-policy problem is reported as an error
482 on this request. This field is write-once: once a key is attached to a Workspace
483 it cannot be detached or replaced. To rotate key material, rotate the underlying
484 key on your cloud KMS; the `external_key_id` stays the same.
474485 
475486 - `name: string`
476487 
from line 491
480491 
481492 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
482493 
494 - `user_profile_id: string or null`
495 
496 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
497 
483498### Example
484499 
485500```bash
from line 509
494509 "tags": {
495510 "env": "prod",
496511 "team": "platform"
497 }
512 },
513 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
498514 }'
499515```
500516 
from line 534
518534 "env": "prod",
519535 "team": "platform"
520536 },
521 "type": "workspace"
537 "type": "workspace",
538 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
522539}
523540```
524541 
from line 583
566583 
567584 - `compartment_id: string`
568585 
569 Identifier for this Workspace's encryption compartment. When you configure a
570 customer-managed encryption key (CMEK) on AWS, reference this value in your
571 KMS key-policy condition so the key is scoped to this compartment. On GCP and
572 Azure, Anthropic enforces the compartment binding automatically; you do not
573 need to reference this value in your key configuration. See the CMEK
574 integration guide for the required key configuration; unless your organization
575 is on Claude Platform on AWS, it includes a separate value used during key
576 validation. On Claude Platform on AWS there is no separate validation value:
577 the key is validated against this Workspace's own value when it is attached, so
578 if your key policy uses the compartment condition, add this value to it before
579 attaching the key.
586 Identifier for this Workspace's encryption compartment. When you configure an
587 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
588 profile, reference this value in your KMS key-policy condition so the key is
589 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
590 binding automatically; you do not need to reference this value in your key
591 configuration. See the CMEK integration guide for the required key
592 configuration; unless your organization is on Claude Platform on AWS, it
593 includes a separate value used during key validation. On Claude Platform on AWS
594 there is no separate validation value: your organization's own key is validated
595 against this Workspace's own value when it is attached, so if its key policy
596 uses the compartment condition, add this value to it before attaching the key.
580597 
581598 - `created_at: string`
582599 
from line 639
622639 Workspace. Setting this field requires CMEK to be enabled for your
623640 organization. When set, data stored for this Workspace is encrypted with the
624641 referenced key. Create key configurations with the External Keys API. On
625 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
626 single-Region key in the same AWS account and Region as the Workspace. On that
627 platform the key is validated against this Workspace when it is attached, so a
628 key-policy problem is reported as an error on this request. This field is write-once:
629 once a key is attached to a Workspace it cannot be detached or replaced. To
630 rotate key material, rotate the underlying key on your cloud KMS; the
631 `external_key_id` stays the same.
642 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
643 organization's own key must be a single-Region key in the same AWS account and
644 Region as the Workspace. On that platform the key is validated against this
645 Workspace when it is attached, so a key-policy problem is reported as an error
646 on this request. This field is write-once: once a key is attached to a Workspace
647 it cannot be detached or replaced. To rotate key material, rotate the underlying
648 key on your cloud KMS; the `external_key_id` stays the same.
632649 
633650 - `name: string`
634651 
from line 655
638655 
639656 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
640657 
658 - `user_profile_id: string or null`
659 
660 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
661 
641662### Example
642663 
643664```bash
from line 687
666687 "env": "prod",
667688 "team": "platform"
668689 },
669 "type": "workspace"
690 "type": "workspace",
691 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
670692}
671693```
672694 
from line 748
726748 Workspace. Setting this field requires CMEK to be enabled for your
727749 organization. When set, data stored for this Workspace is encrypted with the
728750 referenced key. Create key configurations with the External Keys API. On
729 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
730 single-Region key in the same AWS account and Region as the Workspace. On that
731 platform the key is validated against this Workspace when it is attached, so a
732 key-policy problem is reported as an error on this request. This field is write-once:
733 once a key is attached to a Workspace it cannot be detached or replaced. To
734 rotate key material, rotate the underlying key on your cloud KMS; the
735 `external_key_id` stays the same.
751 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
752 organization's own key must be a single-Region key in the same AWS account and
753 Region as the Workspace. On that platform the key is validated against this
754 Workspace when it is attached, so a key-policy problem is reported as an error
755 on this request. This field is write-once: once a key is attached to a Workspace
756 it cannot be detached or replaced. To rotate key material, rotate the underlying
757 key on your cloud KMS; the `external_key_id` stays the same.
736758 
737759- `name: optional string`
738760 
from line 766
744766 
745767 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
746768 
769- `user_profile_id: optional string`
770 
771 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.
772 
747773### Returns
748774 
749775- `BetaWorkspace object`
from line 794
768794 
769795 - `compartment_id: string`
770796 
771 Identifier for this Workspace's encryption compartment. When you configure a
772 customer-managed encryption key (CMEK) on AWS, reference this value in your
773 KMS key-policy condition so the key is scoped to this compartment. On GCP and
774 Azure, Anthropic enforces the compartment binding automatically; you do not
775 need to reference this value in your key configuration. See the CMEK
776 integration guide for the required key configuration; unless your organization
777 is on Claude Platform on AWS, it includes a separate value used during key
778 validation. On Claude Platform on AWS there is no separate validation value:
779 the key is validated against this Workspace's own value when it is attached, so
780 if your key policy uses the compartment condition, add this value to it before
781 attaching the key.
797 Identifier for this Workspace's encryption compartment. When you configure an
798 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
799 profile, reference this value in your KMS key-policy condition so the key is
800 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
801 binding automatically; you do not need to reference this value in your key
802 configuration. See the CMEK integration guide for the required key
803 configuration; unless your organization is on Claude Platform on AWS, it
804 includes a separate value used during key validation. On Claude Platform on AWS
805 there is no separate validation value: your organization's own key is validated
806 against this Workspace's own value when it is attached, so if its key policy
807 uses the compartment condition, add this value to it before attaching the key.
782808 
783809 - `created_at: string`
784810 
from line 850
824850 Workspace. Setting this field requires CMEK to be enabled for your
825851 organization. When set, data stored for this Workspace is encrypted with the
826852 referenced key. Create key configurations with the External Keys API. On
827 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
828 single-Region key in the same AWS account and Region as the Workspace. On that
829 platform the key is validated against this Workspace when it is attached, so a
830 key-policy problem is reported as an error on this request. This field is write-once:
831 once a key is attached to a Workspace it cannot be detached or replaced. To
832 rotate key material, rotate the underlying key on your cloud KMS; the
833 `external_key_id` stays the same.
853 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
854 organization's own key must be a single-Region key in the same AWS account and
855 Region as the Workspace. On that platform the key is validated against this
856 Workspace when it is attached, so a key-policy problem is reported as an error
857 on this request. This field is write-once: once a key is attached to a Workspace
858 it cannot be detached or replaced. To rotate key material, rotate the underlying
859 key on your cloud KMS; the `external_key_id` stays the same.
834860 
835861 - `name: string`
836862 
from line 866
840866 
841867 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
842868 
869 - `user_profile_id: string or null`
870 
871 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
872 
843873### Example
844874 
845875```bash
from line 883
853883 "tags": {
854884 "env": "prod",
855885 "team": "platform"
856 }
886 },
887 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
857888 }'
858889```
859890 
from line 908
877908 "env": "prod",
878909 "team": "platform"
879910 },
880 "type": "workspace"
911 "type": "workspace",
912 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
881913}
882914```
883915 
from line 955
923955 
924956 - `compartment_id: string`
925957 
926 Identifier for this Workspace's encryption compartment. When you configure a
927 customer-managed encryption key (CMEK) on AWS, reference this value in your
928 KMS key-policy condition so the key is scoped to this compartment. On GCP and
929 Azure, Anthropic enforces the compartment binding automatically; you do not
930 need to reference this value in your key configuration. See the CMEK
931 integration guide for the required key configuration; unless your organization
932 is on Claude Platform on AWS, it includes a separate value used during key
933 validation. On Claude Platform on AWS there is no separate validation value:
934 the key is validated against this Workspace's own value when it is attached, so
935 if your key policy uses the compartment condition, add this value to it before
936 attaching the key.
958 Identifier for this Workspace's encryption compartment. When you configure an
959 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
960 profile, reference this value in your KMS key-policy condition so the key is
961 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
962 binding automatically; you do not need to reference this value in your key
963 configuration. See the CMEK integration guide for the required key
964 configuration; unless your organization is on Claude Platform on AWS, it
965 includes a separate value used during key validation. On Claude Platform on AWS
966 there is no separate validation value: your organization's own key is validated
967 against this Workspace's own value when it is attached, so if its key policy
968 uses the compartment condition, add this value to it before attaching the key.
937969 
938970 - `created_at: string`
939971 
from line 1011
9791011 Workspace. Setting this field requires CMEK to be enabled for your
9801012 organization. When set, data stored for this Workspace is encrypted with the
9811013 referenced key. Create key configurations with the External Keys API. On
982 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
983 single-Region key in the same AWS account and Region as the Workspace. On that
984 platform the key is validated against this Workspace when it is attached, so a
985 key-policy problem is reported as an error on this request. This field is write-once:
986 once a key is attached to a Workspace it cannot be detached or replaced. To
987 rotate key material, rotate the underlying key on your cloud KMS; the
988 `external_key_id` stays the same.
1014 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
1015 organization's own key must be a single-Region key in the same AWS account and
1016 Region as the Workspace. On that platform the key is validated against this
1017 Workspace when it is attached, so a key-policy problem is reported as an error
1018 on this request. This field is write-once: once a key is attached to a Workspace
1019 it cannot be detached or replaced. To rotate key material, rotate the underlying
1020 key on your cloud KMS; the `external_key_id` stays the same.
9891021 
9901022 - `name: string`
9911023 
from line 1027
9951027 
9961028 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
9971029 
1030 - `user_profile_id: string or null`
1031 
1032 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
1033 
9981034### Example
9991035 
10001036```bash
from line 1060
10241060 "env": "prod",
10251061 "team": "platform"
10261062 },
1027 "type": "workspace"
1063 "type": "workspace",
1064 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
10281065}
10291066```
10301067 
from line 1191
11541191 
11551192 - `compartment_id: string`
11561193 
1157 Identifier for this Workspace's encryption compartment. When you configure a
1158 customer-managed encryption key (CMEK) on AWS, reference this value in your
1159 KMS key-policy condition so the key is scoped to this compartment. On GCP and
1160 Azure, Anthropic enforces the compartment binding automatically; you do not
1161 need to reference this value in your key configuration. See the CMEK
1162 integration guide for the required key configuration; unless your organization
1163 is on Claude Platform on AWS, it includes a separate value used during key
1164 validation. On Claude Platform on AWS there is no separate validation value:
1165 the key is validated against this Workspace's own value when it is attached, so
1166 if your key policy uses the compartment condition, add this value to it before
1167 attaching the key.
1194 Identifier for this Workspace's encryption compartment. When you configure an
1195 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
1196 profile, reference this value in your KMS key-policy condition so the key is
1197 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
1198 binding automatically; you do not need to reference this value in your key
1199 configuration. See the CMEK integration guide for the required key
1200 configuration; unless your organization is on Claude Platform on AWS, it
1201 includes a separate value used during key validation. On Claude Platform on AWS
1202 there is no separate validation value: your organization's own key is validated
1203 against this Workspace's own value when it is attached, so if its key policy
1204 uses the compartment condition, add this value to it before attaching the key.
11681205 
11691206 - `created_at: string`
11701207 
from line 1247
12101247 Workspace. Setting this field requires CMEK to be enabled for your
12111248 organization. When set, data stored for this Workspace is encrypted with the
12121249 referenced key. Create key configurations with the External Keys API. On
1213 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
1214 single-Region key in the same AWS account and Region as the Workspace. On that
1215 platform the key is validated against this Workspace when it is attached, so a
1216 key-policy problem is reported as an error on this request. This field is write-once:
1217 once a key is attached to a Workspace it cannot be detached or replaced. To
1218 rotate key material, rotate the underlying key on your cloud KMS; the
1219 `external_key_id` stays the same.
1250 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
1251 organization's own key must be a single-Region key in the same AWS account and
1252 Region as the Workspace. On that platform the key is validated against this
1253 Workspace when it is attached, so a key-policy problem is reported as an error
1254 on this request. This field is write-once: once a key is attached to a Workspace
1255 it cannot be detached or replaced. To rotate key material, rotate the underlying
1256 key on your cloud KMS; the `external_key_id` stays the same.
12201257 
12211258 - `name: string`
12221259 
from line 1263
12261263 
12271264 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
12281265 
1266 - `user_profile_id: string or null`
1267 
1268 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
1269 
12291270### Beta Workspace Member
12301271 
12311272- `BetaWorkspaceMember object`
from line 1922
18811922 "data": [
18821923 {
18831924 "type": "workspace_member",
1884 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
1925 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
18851926 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
18861927 "workspace_role": "workspace_admin"
18871928 }
from line 2013
19722013 -H 'anthropic-version: 2026-10-21' \
19732014 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
19742015 -d '{
1975 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
2016 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
19762017 "workspace_role": "workspace_admin"
19772018 }'
19782019```
from line 2023
19822023```json
19832024{
19842025 "type": "workspace_member",
1985 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
2026 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
19862027 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
19872028 "workspace_role": "workspace_admin"
19882029}
from line 2100
20592100```json
20602101{
20612102 "type": "workspace_member",
2062 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
2103 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
20632104 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
20642105 "workspace_role": "workspace_admin"
20652106}
from line 2197
21562197```json
21572198{
21582199 "type": "workspace_member",
2159 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
2200 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
21602201 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
21612202 "workspace_role": "workspace_admin"
21622203}
from line 2259
22182259```json
22192260{
22202261 "type": "workspace_member_deleted",
2221 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
2262 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
22222263 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
22232264}
22242265```
from line 2421
23802421 
23812422 - `"analytics-usage-cost-2026-08-24"`
23822423 
2424 - `"experimental-claude-tag-2026-10-21"`
2425 
23832426#### Returns
23842427 
23852428- `data: array of BetaServiceAccountWorkspaceMember`
from line 2636
25932636 
25942637 - `"analytics-usage-cost-2026-08-24"`
25952638 
2639 - `"experimental-claude-tag-2026-10-21"`
2640 
25962641#### Body parameters
25972642 
25982643- `service_account_id: string`
from line 2867
28222867 
28232868 - `"analytics-usage-cost-2026-08-24"`
28242869 
2870 - `"experimental-claude-tag-2026-10-21"`
2871 
28252872#### Returns
28262873 
28272874- `BetaServiceAccountWorkspaceMember object`
from line 3075
30283075 
30293076 - `"analytics-usage-cost-2026-08-24"`
30303077 
3078 - `"experimental-claude-tag-2026-10-21"`
3079 
30313080#### Body parameters
30323081 
30333082- `workspace_role: BetaNoBillingWorkspaceRole`
from line 3299
32503299 - `"message-threads-2026-08-12"`
32513300 
32523301 - `"analytics-usage-cost-2026-08-24"`
3302 
3303 - `"experimental-claude-tag-2026-10-21"`
32533304 
32543305#### Returns
32553306 

api/beta/organization/workspaces/archive Changed · +24 / -19 lines

from line 45
4545 
4646 - `compartment_id: string`
4747 
48 Identifier for this Workspace's encryption compartment. When you configure a
49 customer-managed encryption key (CMEK) on AWS, reference this value in your
50 KMS key-policy condition so the key is scoped to this compartment. On GCP and
51 Azure, Anthropic enforces the compartment binding automatically; you do not
52 need to reference this value in your key configuration. See the CMEK
53 integration guide for the required key configuration; unless your organization
54 is on Claude Platform on AWS, it includes a separate value used during key
55 validation. On Claude Platform on AWS there is no separate validation value:
56 the key is validated against this Workspace's own value when it is attached, so
57 if your key policy uses the compartment condition, add this value to it before
58 attaching the key.
48 Identifier for this Workspace's encryption compartment. When you configure an
49 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
50 profile, reference this value in your KMS key-policy condition so the key is
51 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
52 binding automatically; you do not need to reference this value in your key
53 configuration. See the CMEK integration guide for the required key
54 configuration; unless your organization is on Claude Platform on AWS, it
55 includes a separate value used during key validation. On Claude Platform on AWS
56 there is no separate validation value: your organization's own key is validated
57 against this Workspace's own value when it is attached, so if its key policy
58 uses the compartment condition, add this value to it before attaching the key.
5959 
6060 - `created_at: string`
6161 
from line 101
101101 Workspace. Setting this field requires CMEK to be enabled for your
102102 organization. When set, data stored for this Workspace is encrypted with the
103103 referenced key. Create key configurations with the External Keys API. On
104 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
105 single-Region key in the same AWS account and Region as the Workspace. On that
106 platform the key is validated against this Workspace when it is attached, so a
107 key-policy problem is reported as an error on this request. This field is write-once:
108 once a key is attached to a Workspace it cannot be detached or replaced. To
109 rotate key material, rotate the underlying key on your cloud KMS; the
110 `external_key_id` stays the same.
104 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
105 organization's own key must be a single-Region key in the same AWS account and
106 Region as the Workspace. On that platform the key is validated against this
107 Workspace when it is attached, so a key-policy problem is reported as an error
108 on this request. This field is write-once: once a key is attached to a Workspace
109 it cannot be detached or replaced. To rotate key material, rotate the underlying
110 key on your cloud KMS; the `external_key_id` stays the same.
111111 
112112 - `name: string`
113113 
from line 117
117117 
118118 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
119119 
120 - `user_profile_id: string or null`
121 
122 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
123 
120124## Example
121125 
122126```bash
from line 150
146150 "env": "prod",
147151 "team": "platform"
148152 },
149 "type": "workspace"
153 "type": "workspace",
154 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
150155}
151156```
152157 

api/beta/organization/workspaces/create Changed · +39 / -27 lines

from line 131
131131 
132132 - `"analytics-usage-cost-2026-08-24"`
133133 
134 - `"experimental-claude-tag-2026-10-21"`
135 
134136## Body parameters
135137 
136138- `name: string`
from line 181
179181 Workspace. Setting this field requires CMEK to be enabled for your
180182 organization. When set, data stored for this Workspace is encrypted with the
181183 referenced key. Create key configurations with the External Keys API. On
182 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
183 single-Region key in the same AWS account and Region as the Workspace. On that
184 platform the key is validated against this Workspace when it is attached, so a
185 key-policy problem is reported as an error on this request. This field is write-once:
186 once a key is attached to a Workspace it cannot be detached or replaced. To
187 rotate key material, rotate the underlying key on your cloud KMS; the
188 `external_key_id` stays the same.
184 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
185 organization's own key must be a single-Region key in the same AWS account and
186 Region as the Workspace. On that platform the key is validated against this
187 Workspace when it is attached, so a key-policy problem is reported as an error
188 on this request. This field is write-once: once a key is attached to a Workspace
189 it cannot be detached or replaced. To rotate key material, rotate the underlying
190 key on your cloud KMS; the `external_key_id` stays the same.
189191 
190192- `tags: optional map[string] or null`
191193 
192194 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
193195 
196- `user_profile_id: optional string or null`
197 
198 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. The user profile can't be replaced or removed later; only deleting the user profile clears it.
199 
194200## Returns
195201 
196202- `BetaWorkspace object`
from line 221
215221 
216222 - `compartment_id: string`
217223 
218 Identifier for this Workspace's encryption compartment. When you configure a
219 customer-managed encryption key (CMEK) on AWS, reference this value in your
220 KMS key-policy condition so the key is scoped to this compartment. On GCP and
221 Azure, Anthropic enforces the compartment binding automatically; you do not
222 need to reference this value in your key configuration. See the CMEK
223 integration guide for the required key configuration; unless your organization
224 is on Claude Platform on AWS, it includes a separate value used during key
225 validation. On Claude Platform on AWS there is no separate validation value:
226 the key is validated against this Workspace's own value when it is attached, so
227 if your key policy uses the compartment condition, add this value to it before
228 attaching the key.
224 Identifier for this Workspace's encryption compartment. When you configure an
225 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
226 profile, reference this value in your KMS key-policy condition so the key is
227 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
228 binding automatically; you do not need to reference this value in your key
229 configuration. See the CMEK integration guide for the required key
230 configuration; unless your organization is on Claude Platform on AWS, it
231 includes a separate value used during key validation. On Claude Platform on AWS
232 there is no separate validation value: your organization's own key is validated
233 against this Workspace's own value when it is attached, so if its key policy
234 uses the compartment condition, add this value to it before attaching the key.
229235 
230236 - `created_at: string`
231237 
from line 277
271277 Workspace. Setting this field requires CMEK to be enabled for your
272278 organization. When set, data stored for this Workspace is encrypted with the
273279 referenced key. Create key configurations with the External Keys API. On
274 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
275 single-Region key in the same AWS account and Region as the Workspace. On that
276 platform the key is validated against this Workspace when it is attached, so a
277 key-policy problem is reported as an error on this request. This field is write-once:
278 once a key is attached to a Workspace it cannot be detached or replaced. To
279 rotate key material, rotate the underlying key on your cloud KMS; the
280 `external_key_id` stays the same.
280 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
281 organization's own key must be a single-Region key in the same AWS account and
282 Region as the Workspace. On that platform the key is validated against this
283 Workspace when it is attached, so a key-policy problem is reported as an error
284 on this request. This field is write-once: once a key is attached to a Workspace
285 it cannot be detached or replaced. To rotate key material, rotate the underlying
286 key on your cloud KMS; the `external_key_id` stays the same.
281287 
282288 - `name: string`
283289 
from line 293
287293 
288294 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
289295 
296 - `user_profile_id: string or null`
297 
298 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
299 
290300## Example
291301 
292302```bash
from line 311
301311 "tags": {
302312 "env": "prod",
303313 "team": "platform"
304 }
314 },
315 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
305316 }'
306317```
307318 
from line 336
325336 "env": "prod",
326337 "team": "platform"
327338 },
328 "type": "workspace"
339 "type": "workspace",
340 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
329341}
330342```
331343 

api/beta/organization/workspaces/list Changed · +24 / -19 lines

from line 71
7171 
7272 - `compartment_id: string`
7373 
74 Identifier for this Workspace's encryption compartment. When you configure a
75 customer-managed encryption key (CMEK) on AWS, reference this value in your
76 KMS key-policy condition so the key is scoped to this compartment. On GCP and
77 Azure, Anthropic enforces the compartment binding automatically; you do not
78 need to reference this value in your key configuration. See the CMEK
79 integration guide for the required key configuration; unless your organization
80 is on Claude Platform on AWS, it includes a separate value used during key
81 validation. On Claude Platform on AWS there is no separate validation value:
82 the key is validated against this Workspace's own value when it is attached, so
83 if your key policy uses the compartment condition, add this value to it before
84 attaching the key.
74 Identifier for this Workspace's encryption compartment. When you configure an
75 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
76 profile, reference this value in your KMS key-policy condition so the key is
77 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
78 binding automatically; you do not need to reference this value in your key
79 configuration. See the CMEK integration guide for the required key
80 configuration; unless your organization is on Claude Platform on AWS, it
81 includes a separate value used during key validation. On Claude Platform on AWS
82 there is no separate validation value: your organization's own key is validated
83 against this Workspace's own value when it is attached, so if its key policy
84 uses the compartment condition, add this value to it before attaching the key.
8585 
8686 - `created_at: string`
8787 
from line 127
127127 Workspace. Setting this field requires CMEK to be enabled for your
128128 organization. When set, data stored for this Workspace is encrypted with the
129129 referenced key. Create key configurations with the External Keys API. On
130 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
131 single-Region key in the same AWS account and Region as the Workspace. On that
132 platform the key is validated against this Workspace when it is attached, so a
133 key-policy problem is reported as an error on this request. This field is write-once:
134 once a key is attached to a Workspace it cannot be detached or replaced. To
135 rotate key material, rotate the underlying key on your cloud KMS; the
136 `external_key_id` stays the same.
130 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
131 organization's own key must be a single-Region key in the same AWS account and
132 Region as the Workspace. On that platform the key is validated against this
133 Workspace when it is attached, so a key-policy problem is reported as an error
134 on this request. This field is write-once: once a key is attached to a Workspace
135 it cannot be detached or replaced. To rotate key material, rotate the underlying
136 key on your cloud KMS; the `external_key_id` stays the same.
137137 
138138 - `name: string`
139139 
from line 143
143143 
144144 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
145145 
146 - `user_profile_id: string or null`
147 
148 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
149 
146150- `first_id: string or null`
147151 
148152 First ID in the `data` list. Can be used as the `before_id` for the previous page.
from line 189
185189 "env": "prod",
186190 "team": "platform"
187191 },
188 "type": "workspace"
192 "type": "workspace",
193 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
189194 }
190195 ],
191196 "first_id": "first_id",

api/beta/organization/workspaces/members Changed · +6 / -6 lines

from line 104
104104 "data": [
105105 {
106106 "type": "workspace_member",
107 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
107 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
108108 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
109109 "workspace_role": "workspace_admin"
110110 }
from line 195
195195 -H 'anthropic-version: 2026-10-21' \
196196 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
197197 -d '{
198 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
198 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
199199 "workspace_role": "workspace_admin"
200200 }'
201201```
from line 205
205205```json
206206{
207207 "type": "workspace_member",
208 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
208 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
209209 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
210210 "workspace_role": "workspace_admin"
211211}
from line 282
282282```json
283283{
284284 "type": "workspace_member",
285 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
285 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
286286 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
287287 "workspace_role": "workspace_admin"
288288}
from line 379
379379```json
380380{
381381 "type": "workspace_member",
382 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
382 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
383383 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
384384 "workspace_role": "workspace_admin"
385385}
from line 441
441441```json
442442{
443443 "type": "workspace_member_deleted",
444 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
444 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
445445 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
446446}
447447```

api/beta/organization/workspaces/retrieve Changed · +24 / -19 lines

from line 47
4747 
4848 - `compartment_id: string`
4949 
50 Identifier for this Workspace's encryption compartment. When you configure a
51 customer-managed encryption key (CMEK) on AWS, reference this value in your
52 KMS key-policy condition so the key is scoped to this compartment. On GCP and
53 Azure, Anthropic enforces the compartment binding automatically; you do not
54 need to reference this value in your key configuration. See the CMEK
55 integration guide for the required key configuration; unless your organization
56 is on Claude Platform on AWS, it includes a separate value used during key
57 validation. On Claude Platform on AWS there is no separate validation value:
58 the key is validated against this Workspace's own value when it is attached, so
59 if your key policy uses the compartment condition, add this value to it before
60 attaching the key.
50 Identifier for this Workspace's encryption compartment. When you configure an
51 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
52 profile, reference this value in your KMS key-policy condition so the key is
53 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
54 binding automatically; you do not need to reference this value in your key
55 configuration. See the CMEK integration guide for the required key
56 configuration; unless your organization is on Claude Platform on AWS, it
57 includes a separate value used during key validation. On Claude Platform on AWS
58 there is no separate validation value: your organization's own key is validated
59 against this Workspace's own value when it is attached, so if its key policy
60 uses the compartment condition, add this value to it before attaching the key.
6161 
6262 - `created_at: string`
6363 
from line 103
103103 Workspace. Setting this field requires CMEK to be enabled for your
104104 organization. When set, data stored for this Workspace is encrypted with the
105105 referenced key. Create key configurations with the External Keys API. On
106 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
107 single-Region key in the same AWS account and Region as the Workspace. On that
108 platform the key is validated against this Workspace when it is attached, so a
109 key-policy problem is reported as an error on this request. This field is write-once:
110 once a key is attached to a Workspace it cannot be detached or replaced. To
111 rotate key material, rotate the underlying key on your cloud KMS; the
112 `external_key_id` stays the same.
106 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
107 organization's own key must be a single-Region key in the same AWS account and
108 Region as the Workspace. On that platform the key is validated against this
109 Workspace when it is attached, so a key-policy problem is reported as an error
110 on this request. This field is write-once: once a key is attached to a Workspace
111 it cannot be detached or replaced. To rotate key material, rotate the underlying
112 key on your cloud KMS; the `external_key_id` stays the same.
113113 
114114 - `name: string`
115115 
from line 119
119119 
120120 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
121121 
122 - `user_profile_id: string or null`
123 
124 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
125 
122126## Example
123127 
124128```bash
from line 151
147151 "env": "prod",
148152 "team": "platform"
149153 },
150 "type": "workspace"
154 "type": "workspace",
155 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
151156}
152157```
153158 

api/beta/organization/workspaces/service_accounts Changed · +10 / -0 lines

from line 160
160160 
161161 - `"analytics-usage-cost-2026-08-24"`
162162 
163 - `"experimental-claude-tag-2026-10-21"`
164 
163165### Returns
164166 
165167- `data: array of BetaServiceAccountWorkspaceMember`
from line 375
373375 
374376 - `"analytics-usage-cost-2026-08-24"`
375377 
378 - `"experimental-claude-tag-2026-10-21"`
379 
376380### Body parameters
377381 
378382- `service_account_id: string`
from line 606
602606 
603607 - `"analytics-usage-cost-2026-08-24"`
604608 
609 - `"experimental-claude-tag-2026-10-21"`
610 
605611### Returns
606612 
607613- `BetaServiceAccountWorkspaceMember object`
from line 814
808814 
809815 - `"analytics-usage-cost-2026-08-24"`
810816 
817 - `"experimental-claude-tag-2026-10-21"`
818 
811819### Body parameters
812820 
813821- `workspace_role: BetaNoBillingWorkspaceRole`
from line 1038
10301038 - `"message-threads-2026-08-12"`
10311039 
10321040 - `"analytics-usage-cost-2026-08-24"`
1041 
1042 - `"experimental-claude-tag-2026-10-21"`
10331043 
10341044### Returns
10351045 

api/beta/organization/workspaces/update Changed · +37 / -27 lines

from line 59
5959 Workspace. Setting this field requires CMEK to be enabled for your
6060 organization. When set, data stored for this Workspace is encrypted with the
6161 referenced key. Create key configurations with the External Keys API. On
62 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
63 single-Region key in the same AWS account and Region as the Workspace. On that
64 platform the key is validated against this Workspace when it is attached, so a
65 key-policy problem is reported as an error on this request. This field is write-once:
66 once a key is attached to a Workspace it cannot be detached or replaced. To
67 rotate key material, rotate the underlying key on your cloud KMS; the
68 `external_key_id` stays the same.
62 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
63 organization's own key must be a single-Region key in the same AWS account and
64 Region as the Workspace. On that platform the key is validated against this
65 Workspace when it is attached, so a key-policy problem is reported as an error
66 on this request. This field is write-once: once a key is attached to a Workspace
67 it cannot be detached or replaced. To rotate key material, rotate the underlying
68 key on your cloud KMS; the `external_key_id` stays the same.
6969 
7070- `name: optional string`
7171 
from line 77
7777 
7878 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
7979 
80- `user_profile_id: optional string`
81 
82 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.
83 
8084## Returns
8185 
8286- `BetaWorkspace object`
from line 105
101105 
102106 - `compartment_id: string`
103107 
104 Identifier for this Workspace's encryption compartment. When you configure a
105 customer-managed encryption key (CMEK) on AWS, reference this value in your
106 KMS key-policy condition so the key is scoped to this compartment. On GCP and
107 Azure, Anthropic enforces the compartment binding automatically; you do not
108 need to reference this value in your key configuration. See the CMEK
109 integration guide for the required key configuration; unless your organization
110 is on Claude Platform on AWS, it includes a separate value used during key
111 validation. On Claude Platform on AWS there is no separate validation value:
112 the key is validated against this Workspace's own value when it is attached, so
113 if your key policy uses the compartment condition, add this value to it before
114 attaching the key.
108 Identifier for this Workspace's encryption compartment. When you configure an
109 AWS KMS customer-managed encryption key (CMEK) that isn't bound to a user
110 profile, reference this value in your KMS key-policy condition so the key is
111 scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment
112 binding automatically; you do not need to reference this value in your key
113 configuration. See the CMEK integration guide for the required key
114 configuration; unless your organization is on Claude Platform on AWS, it
115 includes a separate value used during key validation. On Claude Platform on AWS
116 there is no separate validation value: your organization's own key is validated
117 against this Workspace's own value when it is attached, so if its key policy
118 uses the compartment condition, add this value to it before attaching the key.
115119 
116120 - `created_at: string`
117121 
from line 161
157161 Workspace. Setting this field requires CMEK to be enabled for your
158162 organization. When set, data stored for this Workspace is encrypted with the
159163 referenced key. Create key configurations with the External Keys API. On
160 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
161 single-Region key in the same AWS account and Region as the Workspace. On that
162 platform the key is validated against this Workspace when it is attached, so a
163 key-policy problem is reported as an error on this request. This field is write-once:
164 once a key is attached to a Workspace it cannot be detached or replaced. To
165 rotate key material, rotate the underlying key on your cloud KMS; the
166 `external_key_id` stays the same.
164 Claude Platform on AWS the value for an AWS KMS key is the key's ARN, and your
165 organization's own key must be a single-Region key in the same AWS account and
166 Region as the Workspace. On that platform the key is validated against this
167 Workspace when it is attached, so a key-policy problem is reported as an error
168 on this request. This field is write-once: once a key is attached to a Workspace
169 it cannot be detached or replaced. To rotate key material, rotate the underlying
170 key on your cloud KMS; the `external_key_id` stays the same.
167171 
168172 - `name: string`
169173 
from line 177
173177 
174178 User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
175179 
180 - `user_profile_id: string or null`
181 
182 ID of the user profile attached to the Workspace, or null if it has none. Every inference request through a Workspace that has a user profile must name that profile.
183 
176184## Example
177185 
178186```bash
from line 194
186194 "tags": {
187195 "env": "prod",
188196 "team": "platform"
189 }
197 },
198 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
190199 }'
191200```
192201 
from line 219
210219 "env": "prod",
211220 "team": "platform"
212221 },
213 "type": "workspace"
222 "type": "workspace",
223 "user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
214224}
215225```
216226 

api/beta/sessions Changed · +38 / -0 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 133
133133 
134134 - `"analytics-usage-cost-2026-08-24"`
135135 
136 - `"experimental-claude-tag-2026-10-21"`
137 
136138- `"anthropic-workspace-id": optional string`
137139 
138140 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 2847
28452847 
28462848 - `"analytics-usage-cost-2026-08-24"`
28472849 
2850 - `"experimental-claude-tag-2026-10-21"`
2851 
28482852- `"anthropic-workspace-id": optional string`
28492853 
28502854 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4352
43484352 
43494353 - `"analytics-usage-cost-2026-08-24"`
43504354 
4355 - `"experimental-claude-tag-2026-10-21"`
4356 
43514357- `"anthropic-workspace-id": optional string`
43524358 
43534359 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 5843
58375843 
58385844 - `"analytics-usage-cost-2026-08-24"`
58395845 
5846 - `"experimental-claude-tag-2026-10-21"`
5847 
58405848- `"anthropic-workspace-id": optional string`
58415849 
58425850 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 7920
79127920 
79137921 - `"analytics-usage-cost-2026-08-24"`
79147922 
7923 - `"experimental-claude-tag-2026-10-21"`
7924 
79157925- `"anthropic-workspace-id": optional string`
79167926 
79177927 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 8089
80798089 
80808090 - `"analytics-usage-cost-2026-08-24"`
80818091 
8092 - `"experimental-claude-tag-2026-10-21"`
8093 
80828094- `"anthropic-workspace-id": optional string`
80838095 
80848096 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 8141
81298141 
81308142 - `type: "url"`
81318143 
8132 - `name: string`
8133 
8134 - `url: string`
8135 
8136 - `model: BetaManagedAgentsModelConfig`
8137 
8138 Model identifier and configuration.
8139 
8140 - `id: BetaManagedAgentsModel`
8141 
8142 The model that will power your agent.
8143 
8144 See [models](https://docs.anthropic.com/en/docs/mod
8144 - `name:

api/beta/sessions/events Changed · +6 / -0 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 265
265265 
266266 - `"analytics-usage-cost-2026-08-24"`
267267 
268 - `"experimental-claude-tag-2026-10-21"`
269 
268270- `"anthropic-workspace-id": optional string`
269271 
270272 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3376
33743376 
33753377 - `"analytics-usage-cost-2026-08-24"`
33763378 
3379 - `"experimental-claude-tag-2026-10-21"`
3380 
33773381- `"anthropic-workspace-id": optional string`
33783382 
33793383 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4379
43754379 
43764380 - `"analytics-usage-cost-2026-08-24"`
43774381 
4382 - `"experimental-claude-tag-2026-10-21"`
4383 
43784384- `"anthropic-workspace-id": optional string`
43794385 
43804386 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 8600
85948600 
85958601 - `evaluation: optional BetaManagedAgentsAgentToolEvaluation`
85968602 
8597 Which resolved permission_policy produced evaluated_permission: always_allow, always_ask, or auto (with the server's per-invocation judgement). Absent only when the server refused the call before any policy applied (for example, the named tool is not enabled in the session); such a refusal has evaluated_permission deny. An event recorded before thi
8603 Which resolved permission_policy produced evaluated_permission: always_allow, always_ask, or auto (with the server's per-invocation judgement). Absent only when the server refused the call before any policy applied (fo
Feedback