workspaces changedmanage-claude/workspaces
Nearest release: v2.1.318, published 4 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+9added
Lines−9removed
From line
153
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits28to this page, all time
The whole hunk
from line 153, old and new numbered
/
from line 153
153153 ```bash cURL
154154 curl -X POST "https://api.anthropic.com/v1/organizations/workspaces" \
155155 -H "x-api-key: $ANTHROPIC_API_KEY" \
156 -H "anthropic-version: 2023-06-01" \
156 -H "anthropic-version: 2026-10-21" \
157157 -H "content-type: application/json" \
158158 -d '{"name": "Production"}'
159159 ```
from line 249
249249 ```bash cURL
250250 curl "https://api.anthropic.com/v1/organizations/workspaces?limit=10&include_archived=false" \
251251 -H "x-api-key: $ANTHROPIC_API_KEY" \
252 -H "anthropic-version: 2023-06-01"
252 -H "anthropic-version: 2026-10-21"
253253 ```
254254
255255 ```bash CLI
from line 358
358358 ```bash cURL
359359 curl -X POST "https://api.anthropic.com/v1/organizations/workspaces/wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ/archive" \
360360 -H "x-api-key: $ANTHROPIC_API_KEY" \
361 -H "anthropic-version: 2023-06-01"
361 -H "anthropic-version: 2026-10-21"
362362 ```
363363
364364 ```bash CLI
from line 451
451451 ```bash cURL
452452 curl -X POST "https://api.anthropic.com/v1/organizations/workspaces/wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ/members" \
453453 -H "x-api-key: $ANTHROPIC_API_KEY" \
454 -H "anthropic-version: 2023-06-01" \
454 -H "anthropic-version: 2026-10-21" \
455455 -H "content-type: application/json" \
456456 -d '{
457457 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
from line 587
587587 ```bash cURL
588588 curl -X POST "https://api.anthropic.com/v1/organizations/workspaces/wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ/members/user_01WxYzAbCdEfGhJkMnPqRsTu" \
589589 -H "x-api-key: $ANTHROPIC_API_KEY" \
590 -H "anthropic-version: 2023-06-01" \
590 -H "anthropic-version: 2026-10-21" \
591591 -H "content-type: application/json" \
592592 -d '{"workspace_role": "workspace_admin"}'
593593 ```
from line 720
720720 ```bash cURL
721721 curl -X DELETE "https://api.anthropic.com/v1/organizations/workspaces/wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ/members/user_01WxYzAbCdEfGhJkMnPqRsTu" \
722722 -H "x-api-key: $ANTHROPIC_API_KEY" \
723 -H "anthropic-version: 2023-06-01"
723 -H "anthropic-version: 2026-10-21"
724724 ```
725725
726726 ```bash CLI
from line 842
842842To look up your organization’s workspace IDs, call the [List Workspaces](https://platform.claude.com/docs/en/api/organization/workspaces/list) endpoint (pass `include_default=true` to include the Default Workspace) or find them on the [Workspaces](https://platform.claude.com/settings/workspaces) page in the Claude Console.
843843
844844<Note>
845 [Prompt caches](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) are also isolated by workspace on the Claude API, [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), and [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry). On Amazon Bedrock and Claude Models on Google Cloud (Google managed), prompt caches are isolated by organization.
845 [Prompt caches](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) are also isolated by workspace on the Claude API, [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), and [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry). On Claude Models on Google Cloud (Google managed) and Amazon Bedrock, prompt caches are isolated by organization.
846846</Note>
847847
848848## Identify the workspace behind an API response
from line 865
865865 # -i prints the response headers, including anthropic-workspace-id, before the body
866866 curl -sS -i https://api.anthropic.com/v1/messages \
867867 -H "x-api-key: $ANTHROPIC_API_KEY" \
868 -H "anthropic-version: 2023-06-01" \
868 -H "anthropic-version: 2026-10-21" \
869869 -H "content-type: application/json" \
870870 -d '{
871871 "model": "claude-opus-5-5",
from line 1045
10451045 workspace_ids[]=wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ&\
10461046 group_by[]=workspace_id&\
10471047 time_bucket_width=1d" \
1048 -H "anthropic-version: 2023-06-01" \
1048 -H "anthropic-version: 2026-10-21" \
10491049 -H "anthropic-beta: analytics-usage-cost-2026-08-24" \
10501050 -H "x-api-key: $ANTHROPIC_API_KEY"
10511051 ```
No line in this hunk matches that.