Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Workspaces changedapi/beta/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 26 Aug 2026 this site's first read of the page
Recorded edits21to this page, all time

The whole hunk

from line 161, old and new numbered
/
lines
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 481
481481```bash
482482curl https://api.anthropic.com/v1/organizations/workspaces \
483483 -H 'Content-Type: application/json' \
484 -H 'anthropic-version: 2023-06-01' \
485 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
484 -H 'anthropic-version: 2026-10-21' \
485 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
486486 -d '{
487487 "name": "x",
488488 "display_color": "#6C5BB9",
from line 638
638638 
639639```bash
640640curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
641 -H 'anthropic-version: 2023-06-01' \
642 -H "X-Api-Key: $ANTHROPIC_API_KEY"
641 -H 'anthropic-version: 2026-10-21' \
642 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
643643```
644644 
645645#### Response (200)
from line 841
841841```bash
842842curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
843843 -H 'Content-Type: application/json' \
844 -H 'anthropic-version: 2023-06-01' \
845 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
844 -H 'anthropic-version: 2026-10-21' \
845 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
846846 -d '{
847847 "display_color": "#6C5BB9",
848848 "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
from line 996
996996```bash
997997curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/archive \
998998 -X POST \
999 -H 'anthropic-version: 2023-06-01' \
1000 -H "X-Api-Key: $ANTHROPIC_API_KEY"
999 -H 'anthropic-version: 2026-10-21' \
1000 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10011001```
10021002 
10031003#### Response (200)
from line 1352
13521352 
13531353 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
13541354 
1355 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1355 The rate-limit group this entry's limits apply to.
13561356 
13571357 - `BetaOrganizationRateLimitModelGroup object`
13581358 
from line 1468
14681468 
14691469 - `models: array of string or null`
14701470 
1471 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1471 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
14721472 
14731473 - `rate_limit_id: string`
14741474 
from line 1478
14781478 
14791479 ID of the Workspace this entry applies to.
14801480 
1481 - `group_type: "batch" or "files" or "model_group" or 3 more`
1482 
1483 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1484 
1485 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`.
1486 
1487 - `"batch"`
1488 
1489 - `"files"`
1490 
1491 - `"model_group"`
1492 
1493 - `"skills"`
1494 
1495 - `"token_count"`
1496 
1497 - `"web_search"`
1498 
14991481- `next_page: string or null`
15001482 
15011483 Opaque cursor for the next page of results, or `null` when no entries remain beyond this response.
from line 1486
15041486 
15051487```bash
15061488curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
1507 -H 'anthropic-version: 2023-06-01' \
1508 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1489 -H 'anthropic-version: 2026-10-21' \
1490 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
15091491```
15101492 
15111493##### Response (200)
from line 1501
15191501 "display_name": "display_name",
15201502 "type": "model_group"
15211503 },
1522 "group_type": "batch",
15231504 "limits": [
15241505 {
15251506 "org_limit": 0,
from line 1605
16241605 
16251606 - `group: BetaOrganizationRateLimitModelGroup or BetaOrganizationRateLimitBatchGroup or BetaOrganizationRateLimitTokenCountGroup or 3 more`
16261607 
1627 The rate-limit group this entry's limits apply to. Its `type` equals `group_type`.
1608 The rate-limit group this entry's limits apply to.
16281609 
16291610 - `BetaOrganizationRateLimitModelGroup object`
16301611 
from line 1721
17401721 
17411722 - `models: array of string or null`
17421723 
1743 Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`.
1724 Model names this entry's limits apply to, including aliases. `null` when `group.type` is not `"model_group"`.
17441725 
17451726 - `rate_limit_id: string`
17461727 
from line 1731
17501731 
17511732 ID of the Workspace this entry applies to.
17521733 
1753 - `group_type: "batch" or "files" or "model_group" or 3 more`
1754 
1755 **Deprecated**: Use `group.type` instead. `group_type` is still returned and always equals `group.type`.
1756 
1757 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`.
1758 
1759 - `"batch"`
1760 
1761 - `"files"`
1762 
1763 - `"model_group"`
1764 
1765 - `"skills"`
1766 
1767 - `"token_count"`
1768 
1769 - `"web_search"`
1770 
17711734#### Example
17721735 
17731736```bash
17741737curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits/$RATE_LIMIT_ID \
17751738 -H 'Content-Type: application/json' \
1776 -H 'anthropic-version: 2023-06-01' \
1777 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1739 -H 'anthropic-version: 2026-10-21' \
1740 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
17781741 -d '{
17791742 "limits": [
17801743 {
from line 1757
17941757 "display_name": "display_name",
17951758 "type": "model_group"
17961759 },
1797 "group_type": "batch",
17981760 "limits": [
17991761 {
18001762 "org_limit": 0,
from line 1866
19041866 
19051867```bash
19061868curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
1907 -H 'anthropic-version: 2023-06-01' \
1908 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1869 -H 'anthropic-version: 2026-10-21' \
1870 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
19091871```
19101872 
19111873##### Response (200)
from line 1965
20031965```bash
20041966curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members \
20051967 -H 'Content-Type: application/json' \
2006 -H 'anthropic-version: 2023-06-01' \
2007 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1968 -H 'anthropic-version: 2026-10-21' \
1969 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
20081970 -d '{
20091971 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
20101972 "workspace_role": "workspace_admin"
from line 2046
20842046 
20852047```bash
20862048curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
2087 -H 'anthropic-version: 2023-06-01' \
2088 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2049 -H 'anthropic-version: 2026-10-21' \
2050 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
20892051```
20902052 
20912053##### Response (200)
from line 2140
21782140```bash
21792141curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
21802142 -H 'Content-Type: application/json' \
2181 -H 'anthropic-version: 2023-06-01' \
2182 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2143 -H 'anthropic-version: 2026-10-21' \
2144 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
21832145 -d '{
21842146 "workspace_role": "workspace_admin"
21852147 }'
from line 2205
22432205```bash
22442206curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/members/$USER_ID \
22452207 -X DELETE \
2246 -H 'anthropic-version: 2023-06-01' \
2247 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2208 -H 'anthropic-version: 2026-10-21' \
2209 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
22482210```
22492211 
22502212##### Response (200)
from line 2418
24562418 
24572419```bash
24582420curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
2459 -H 'anthropic-version: 2023-06-01' \
2460 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2421 -H 'anthropic-version: 2026-10-21' \
2422 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
24612423```
24622424 
24632425##### Response (200)
from line 2642
26802642```bash
26812643curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
26822644 -H 'Content-Type: application/json' \
2683 -H 'anthropic-version: 2023-06-01' \
2684 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2645 -H 'anthropic-version: 2026-10-21' \
2646 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
26852647 -d '{
26862648 "service_account_id": "service_account_id",
26872649 "workspace_role": "workspace_admin"
from line 2848
28862848 
28872849```bash
28882850curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
2889 -H 'anthropic-version: 2023-06-01' \
2890 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2851 -H 'anthropic-version: 2026-10-21' \
2852 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
28912853```
28922854 
28932855##### Response (200)
from line 3065
31033065```bash
31043066curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
31053067 -H 'Content-Type: application/json' \
3106 -H 'anthropic-version: 2023-06-01' \
3107 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
3068 -H 'anthropic-version: 2026-10-21' \
3069 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
31083070 -d '{
31093071 "workspace_role": "workspace_admin"
31103072 }'
from line 3246
32843246```bash
32853247curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
32863248 -X DELETE \
3287 -H 'anthropic-version: 2023-06-01' \
3288 -H "X-Api-Key: $ANTHROPIC_API_KEY"
3249 -H 'anthropic-version: 2026-10-21' \
3250 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
32893251```
32903252 
32913253##### Response (200)
Feedback