Workspaces changedapi/organization/workspaces
Nearest release: v2.1.309, published 2 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+38added
Lines−76removed
From line
161
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits10to this page, all time
The whole hunk
from line 161, old and new numbered
/
from line 161
161161
162162```bash
163163curl https://api.anthropic.com/v1/organizations/workspaces \
164 -H 'anthropic-version: 2023-06-01' \
165 -H "X-Api-Key: $ANTHROPIC_API_KEY"
164 -H 'anthropic-version: 2026-10-21' \
165 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
166166```
167167
168168#### Response (200)
from line 371
371371```bash
372372curl https://api.anthropic.com/v1/organizations/workspaces \
373373 -H 'Content-Type: application/json' \
374 -H 'anthropic-version: 2023-06-01' \
375 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
374 -H 'anthropic-version: 2026-10-21' \
375 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
376376 -d '{
377377 "name": "x",
378378 "display_color": "#6C5BB9",
from line 528
528528
529529```bash
530530curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
531 -H 'anthropic-version: 2023-06-01' \
532 -H "X-Api-Key: $ANTHROPIC_API_KEY"
531 -H 'anthropic-version: 2026-10-21' \
532 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
533533```
534534
535535#### Response (200)
from line 731
731731```bash
732732curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
733733 -H 'Content-Type: application/json' \
734 -H 'anthropic-version: 2023-06-01' \
735 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
734 -H 'anthropic-version: 2026-10-21' \
735 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
736736 -d '{
737737 "display_color": "#6C5BB9",
738738 "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
from line 886
886886```bash
887887curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/archive \
888888 -X POST \
889 -H 'anthropic-version: 2023-06-01' \
890 -H "X-Api-Key: $ANTHROPIC_API_KEY"
889 -H 'anthropic-version: 2026-10-21' \
890 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
891891```
892892
893893#### Response (200)
from line 1242
12421242
12431243 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup or 3 more`
12441244
1245 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1245 The rate-limit group this entry's limits apply to.
12461246
12471247 - `OrganizationRateLimitModelGroup object`
12481248
from line 1358
13581358
13591359 - `models: array of string or null`
13601360
1361 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1361 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
13621362
13631363 - `rate_limit_id: string`
13641364
from line 1368
13681368
13691369 ID of the Workspace this entry applies to.
13701370
1371 - `group_type: "batch" or "files" or "model_group" or 3 more`
1372
1373 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1374
1375 Deprecated: use `group.type` instead. The kind of rate-limit group this entry represents. `model_group` entries apply to a family of models (listed in `models`); other values apply to an API-surface category and have `models` set to `null`. Always equal to `group.type`.
1376
1377 - `"batch"`
1378
1379 - `"files"`
1380
1381 - `"model_group"`
1382
1383 - `"skills"`
1384
1385 - `"token_count"`
1386
1387 - `"web_search"`
1388
13891371- `next_page: string or null`
13901372
13911373 Opaque cursor for the next page of results, or `null` when no entries remain beyond this response.
from line 1376
13941376
13951377```bash
13961378curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
1397 -H 'anthropic-version: 2023-06-01' \
1398 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1379 -H 'anthropic-version: 2026-10-21' \
1380 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
13991381```
14001382
14011383##### Response (200)
from line 1391
14091391 "display_name": "display_name",
14101392 "type": "model_group"
14111393 },
1412 "group_type": "batch",
14131394 "limits": [
14141395 {
14151396 "org_limit": 0,
from line 1495
15141495
15151496 - `group: OrganizationRateLimitModelGroup or OrganizationRateLimitBatchGroup or OrganizationRateLimitTokenCountGroup or 3 more`
15161497
1517 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1498 The rate-limit group this entry's limits apply to.
15181499
15191500 - `OrganizationRateLimitModelGroup object`
15201501
from line 1611
16301611
16311612 - `models: array of string or null`
16321613
1633 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1614 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
16341615
16351616 - `rate_limit_id: string`
16361617
from line 1621
16401621
16411622 ID of the Workspace this entry applies to.
16421623
1643 - `group_type: "batch" or "files" or "model_group" or 3 more`
1644
1645 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1646
1647 Deprecated: use `group.type` instead. The kind of rate-limit group this entry represents. `model_group` entries apply to a family of models (listed in `models`); other values apply to an API-surface category and have `models` set to `null`. Always equal to `group.type`.
1648
1649 - `"batch"`
1650
1651 - `"files"`
1652
1653 - `"model_group"`
1654
1655 - `"skills"`
1656
1657 - `"token_count"`
1658
1659 - `"web_search"`
1660
16611624#### Example
16621625
16631626```bash
16641627curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits/$RATE_LIMIT_ID \
16651628 -H 'Content-Type: application/json' \
1666 -H 'anthropic-version: 2023-06-01' \
1667 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1629 -H 'anthropic-version: 2026-10-21' \
1630 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
16681631 -d '{
16691632 "limits": [
16701633 {
from line 1647
16841647 "display_name": "display_name",
16851648 "type": "model_group"
16861649 },
1687 "group_type": "batch",
16881650 "limits": [
16891651 {
16901652 "org_limit": 0,
from line 1756
17941756
17951757```bash
17961758curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
1797 -H 'anthropic-version: 2023-06-01' \
1798 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1759 -H 'anthropic-version: 2026-10-21' \
1760 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
17991761```
18001762
18011763##### Response (200)
from line 1855
18931855```bash
18941856curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
18951857 -H 'Content-Type: application/json' \
1896 -H 'anthropic-version: 2023-06-01' \
1897 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1858 -H 'anthropic-version: 2026-10-21' \
1859 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
18981860 -d '{
18991861 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
19001862 "workspace_role": "workspace_admin"
from line 1936
19741936
19751937```bash
19761938curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
1977 -H 'anthropic-version: 2023-06-01' \
1978 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1939 -H 'anthropic-version: 2026-10-21' \
1940 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
19791941```
19801942
19811943##### Response (200)
from line 2030
20682030```bash
20692031curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
20702032 -H 'Content-Type: application/json' \
2071 -H 'anthropic-version: 2023-06-01' \
2072 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2033 -H 'anthropic-version: 2026-10-21' \
2034 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
20732035 -d '{
20742036 "workspace_role": "workspace_admin"
20752037 }'
from line 2095
21332095```bash
21342096curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
21352097 -X DELETE \
2136 -H 'anthropic-version: 2023-06-01' \
2137 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2098 -H 'anthropic-version: 2026-10-21' \
2099 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
21382100```
21392101
21402102##### Response (200)
from line 2198
22362198
22372199```bash
22382200curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
2239 -H 'anthropic-version: 2023-06-01' \
2240 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2201 -H 'anthropic-version: 2026-10-21' \
2202 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
22412203```
22422204
22432205##### Response (200)
from line 2312
23502312```bash
23512313curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
23522314 -H 'Content-Type: application/json' \
2353 -H 'anthropic-version: 2023-06-01' \
2354 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2315 -H 'anthropic-version: 2026-10-21' \
2316 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
23552317 -d '{
23562318 "service_account_id": "service_account_id",
23572319 "workspace_role": "workspace_admin"
from line 2408
24462408
24472409```bash
24482410curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
2449 -H 'anthropic-version: 2023-06-01' \
2450 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2411 -H 'anthropic-version: 2026-10-21' \
2412 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
24512413```
24522414
24532415##### Response (200)
from line 2515
25532515```bash
25542516curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
25552517 -H 'Content-Type: application/json' \
2556 -H 'anthropic-version: 2023-06-01' \
2557 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2518 -H 'anthropic-version: 2026-10-21' \
2519 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
25582520 -d '{
25592521 "workspace_role": "workspace_admin"
25602522 }'
from line 2586
26242586```bash
26252587curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
26262588 -X DELETE \
2627 -H 'anthropic-version: 2023-06-01' \
2628 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2589 -H 'anthropic-version: 2026-10-21' \
2590 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
26292591```
26302592
26312593##### Response (200)
No line in this hunk matches that.