Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

workspaces changedmanage-claude/workspaces

Nearest release: v2.1.333, published 4 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+41added
Lines−39removed
From line 8 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits37to this page, all time

The whole hunk

from line 8, old and new numbered
/
lines
from line 8
88 
99## How workspaces work
1010 
11Every organization has a **Default Workspace** that cannot be renamed, archived, or deleted. When you create additional workspaces, you can assign members, service accounts, API keys, and resource limits to each one.
11Every organization has a **default workspace** that cannot be renamed, archived, or deleted. It has no member list of its own, because access to it follows each member’s organization role. When you create additional workspaces, you can assign members, service accounts, Developer API keys, and resource limits to each one.
1212 
1313Key characteristics:
1414 
1515* **Workspace identifiers** use the `wrkspc_` prefix (for example, `wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ`).
1616 
17* **Maximum 1,000 workspaces** for each organization by default (archived workspaces and the Default Workspace don’t count). Creating a workspace at the limit returns a `400` error with the message `Workspace limit reached`. Contact your account team if you need more.
17* **Maximum 1,000 workspaces** for each organization by default (archived workspaces and the default workspace don’t count). Creating a workspace at the limit returns a `400` error with the message `Workspace limit reached`. Contact your account team if you need more.
1818 
19* **Default Workspace** has a `wrkspc_` ID like any other workspace:
19* **The default workspace** has a `wrkspc_` ID like any other workspace:
2020 
21 * API responses carry that ID in the [`anthropic-workspace-id` response header](https://platform.claude.com/docs/en/manage-claude/workspaces#identify-the-workspace-behind-an-api-response), and [Get Workspace](https://platform.claude.com/docs/en/api/organization/workspaces/retrieve) accepts it.
22 * [List Workspaces](https://platform.claude.com/docs/en/api/organization/workspaces/list) includes the Default Workspace only when you pass `include_default=true`.
21 * API responses carry that ID in the [`anthropic-workspace-id` response header](https://platform.claude.com/docs/en/manage-claude/workspaces#identify-the-workspace-behind-an-api-response). [Get Workspace](https://platform.claude.com/docs/en/api/organization/workspaces/retrieve) and [Update Workspace](https://platform.claude.com/docs/en/api/organization/workspaces/update) accept it, but Update Workspace rejects a new name for the default workspace.
22 * [List Workspaces](https://platform.claude.com/docs/en/api/organization/workspaces/list) includes the default workspace only when you pass `include_default=true`.
2323 * The [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api) reports its usage and cost under that ID. The legacy [Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) reports show `null` for its `workspace_id`.
24 * For an API key bound to the Default Workspace, the key’s `scope` field carries that ID.
24 * For a Developer API key scoped to the default workspace, the key’s `scope` field carries that ID.
2525 
26* **API keys** can be scoped to a single workspace. In this case, they can only access resources within that workspace. Other API keys aren’t scoped to a workspace. With one of these keys, send a [workspace ID header](https://platform.claude.com/docs/en/manage-claude/authentication#select-a-workspace) on each request to choose the workspace. The key’s user or service account must have access to that workspace. For the key types, see [API keys and resource scoping](https://platform.claude.com/docs/en/manage-claude/workspaces#api-keys-and-resource-scoping).
26* **Developer API keys** are scoped to one workspace or to the organization. A key scoped to a workspace can only access resources within that workspace. With a key scoped to the organization, send a [workspace ID header](https://platform.claude.com/docs/en/manage-claude/api-keys#select-a-workspace) on each Claude API request to choose the workspace. For the key types, see [Key types](https://platform.claude.com/docs/en/manage-claude/api-keys#key-types) on the Developer API keys page.
2727 
2828### Claude Code workspace
2929 
from line 126
1261263. Update the name or color and save your changes.
127127 
128128<Note>
129 The Default Workspace cannot be renamed or deleted.
129 The default workspace cannot be renamed, archived, or deleted.
130130</Note>
131131 
132132#### Add members to a workspace
from line 152
152152 
153153#### Archive a workspace
154154 
155To archive a workspace, open its **More actions** menu (three dots) and select **Archive workspace**. Archiving:
156 
157* Preserves historical data for reporting
158* Deactivates the workspace and archives every API key created for it
159* Cannot be undone
160 
161155<Warning>
162 Archiving a workspace archives every API key created for that workspace within seconds (they remain listed in the Admin API as archived), and keys that aren’t scoped to a workspace can no longer act in it. This action cannot be undone. If you archive the [Claude Code workspace](https://platform.claude.com/docs/en/manage-claude/workspaces#claude-code-workspace), members of your organization can no longer sign in to Claude Code through Console billing.
156 Archiving a workspace can’t be undone. Within seconds, it archives every Developer API key created for that workspace. Keys scoped to the organization can no longer act in the workspace.
163157</Warning>
164158 
159If you archive the Claude Code workspace, members of your organization can no longer sign in to Claude Code through Console billing. See this page’s [Claude Code workspace](https://platform.claude.com/docs/en/manage-claude/workspaces#claude-code-workspace) section.
160 
161To archive a workspace, open its **More actions** menu (three dots) and select **Archive workspace**. Archiving deactivates the workspace and keeps its historical data for reporting.
162 
163The Admin API still lists the workspace’s keys, marked as archived.
164 
165165### Using the Admin API
166166 
167167Programmatically manage workspaces using the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api).
168168 
169<Note>
170 Admin API endpoints accept an [Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys), an `org:admin` OAuth token, or a personal or service account key that isn’t scoped to a specific workspace. Keys scoped to a single workspace, including [workspace keys](https://platform.claude.com/docs/en/manage-claude/workspaces#api-keys-and-resource-scoping), don’t work there. See [Admin API authentication](https://platform.claude.com/docs/en/manage-claude/admin-api#authentication).
171</Note>
169<Check>
170 **Admin API credentials required.** These endpoints are part of the Admin API.
171</Check>
172172 
173Authenticate with an [Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys) or an OAuth token with the `org:admin` scope. You can also use a personal or service account key scoped to the organization. A personal or service account key has the permissions of its user or service account. Keys scoped to a single workspace, including workspace keys, don’t work. See the Admin API page’s [Authentication](https://platform.claude.com/docs/en/manage-claude/admin-api#authentication) section.
174 
173175On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, use the platform’s base URL and credentials instead. See the Admin API page’s [Cloud platforms](https://platform.claude.com/docs/en/manage-claude/admin-api#cloud-platforms) section.
174176 
175177The following examples read the Admin API key from the `ANTHROPIC_API_KEY` environment variable. The SDK exposes these endpoints under `client.organization.workspaces` (csharp, go: `client.Organization.Workspaces`; java: `client.organization().workspaces()`; php: `$client->organization->workspaces`).
from line 860
858860 
859861## API keys and resource scoping
860862 
861Apart from organization-level requests, such as Admin API requests, every request runs in exactly one workspace. It can only access resources within that workspace. Which workspace depends on the [key type](https://platform.claude.com/docs/en/manage-claude/authentication#key-types):
863Apart from organization-level requests, such as Admin API requests, every request runs in exactly one workspace. It can only access resources within that workspace. Which workspace a key’s requests run in depends on the key’s type and scope: see [Key types](https://platform.claude.com/docs/en/manage-claude/api-keys#key-types) on the Developer API keys page.
862864 
863* A **workspace key** (a legacy key without an owner) belongs to the workspace it was created in and always runs there.
864* A **personal key** or **service account key** acts as its user or service account. A single-workspace key always runs in the workspace chosen when it was created. A key that isn’t scoped to a workspace runs in the workspace named by each request’s `anthropic-workspace-id` header. Accounts must have access to the workspace to use it.
865 
866865On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, these key types don’t apply. The request names the workspace, as [Access on cloud platforms](https://platform.claude.com/docs/en/manage-claude/workspaces#access-on-cloud-platforms) describes.
867866 
868867Resources scoped to workspaces include:
from line 880
881880 * The cap of 10 active tunnels applies organization-wide.
882881 * In the Claude Console, managing tunnels requires the admin organization role. Organization developers can view tunnels there but not change them.
883882 
884* **Workspaces** themselves and **organization members** are managed at the organization level through the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api), using an Admin API key, an `org:admin` OAuth token, or a personal or service account key that isn’t scoped to a specific workspace.
883* **Workspaces** themselves and **organization members** are managed at the organization level through the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api). For the credentials it accepts, see [Using the Admin API](https://platform.claude.com/docs/en/manage-claude/workspaces#using-the-admin-api).
885884 
886To 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.
885To find a workspace’s ID, use either of these:
887886 
887* The **ID** column on the [Workspaces](https://platform.claude.com/settings/workspaces) page in the Claude Console. The page lists the default workspace too.
888* [List Workspaces](https://platform.claude.com/docs/en/api/organization/workspaces/list) in the Admin API. It includes the default workspace only when you pass `include_default=true`.
889 
888890## Identify the workspace behind an API response
889891 
890Claude API responses include an `anthropic-workspace-id` header alongside the `request-id` and `anthropic-organization-id` [response headers](https://platform.claude.com/docs/en/api/overview#response-headers). Its value is the `wrkspc_`-prefixed ID of the workspace that the request’s API key or access token resolved to, including when that workspace is the Default Workspace. For example, a successful response includes headers like these:
892Claude API responses include an `anthropic-workspace-id` header alongside the `request-id` and `anthropic-organization-id` [response headers](https://platform.claude.com/docs/en/api/overview#response-headers). Its value is the `wrkspc_`-prefixed ID of the workspace that the request’s API key or access token resolved to, including when that workspace is the default workspace. For example, a successful response includes headers like these:
891893 
892894```http
893895HTTP/1.1 200 OK
from line 900
898900 
899901The header is absent when the credential doesn’t resolve to a workspace (for example, on Admin API requests) or when the request fails before authentication completes, such as a 401 error.
900902 
901The following examples send a Messages API request and read the workspace ID from the response headers. Set `ANTHROPIC_API_KEY` to a key scoped to a single workspace (see [API keys and resource scoping](https://platform.claude.com/docs/en/manage-claude/workspaces#api-keys-and-resource-scoping)), not to an Admin API key:
903The following examples send a Messages API request and read the workspace ID from the response headers. Set `ANTHROPIC_API_KEY` to a key scoped to a single workspace (see [Developer API key scope](https://platform.claude.com/docs/en/manage-claude/api-keys#scope)), not to an Admin API key:
902904 
903905<CodeGroup>
904906 ```bash cURL
from line 1052
10501052With the workspace ID from a response, you can:
10511053 
10521054* Confirm which workspace’s usage, cost, and [rate limits](https://platform.claude.com/docs/en/api/rate-limits) the request counted toward
1053* Match it against the `workspace_id` field in [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api) rows, which carry this same ID for the Default Workspace
1054* Match it against the `scope` field of API keys in the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api), which carries the real ID of the workspace that a key is bound to, including the Default Workspace
1055* Check whether it’s your Default Workspace’s ID by passing it to [Get Workspace](https://platform.claude.com/docs/en/api/organization/workspaces/retrieve) with an [Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys): the Default Workspace comes back with `"name": "Default"`, even though [List Workspaces](https://platform.claude.com/docs/en/api/organization/workspaces/list) omits it unless you pass `include_default=true`
1055* Match it against the `workspace_id` field in [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api) rows, which carry this same ID for the default workspace
1056* Match it against the `scope` field of Developer API keys in the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api), which carries the ID of the workspace that a key is scoped to, including the default workspace
1057* Pass it to [Get Workspace](https://platform.claude.com/docs/en/api/organization/workspaces/retrieve) with an [Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys) to check whether it’s your default workspace, which comes back with `"name": "Default"`
10561058* Find the request’s resources, such as sessions, files, message batches, and skills: look up the workspace’s name on the [Workspaces](https://platform.claude.com/settings/workspaces) page in the Claude Console, then select it in the workspace picker on a page such as [Files](https://platform.claude.com/files)
10571059 
10581060## Workspace limits
from line 1074
10721074 - Organization-wide limits always apply, even if workspace limits add up to more.
10731075</Note>
10741076 
1075A spend limit on the Default Workspace might not count or stop some usage in that workspace. This includes usage from the Claude Console (such as playground) and from Claude Managed Agents sessions. It also includes Claude Code or Claude Desktop usage when a member signs in with a Claude Console account and uses the Default Workspace. Your organization’s [spend limit](https://platform.claude.com/docs/en/api/rate-limits#setting-your-own-spend-limit) applies to all of this usage.
1077A spend limit on the default workspace might not count or stop some usage in that workspace. This includes usage from the Claude Console (such as playground) and from Claude Managed Agents sessions. It also includes Claude Code or Claude Desktop usage when a member signs in with a Claude Console account and uses the default workspace. Your organization’s [spend limit](https://platform.claude.com/docs/en/api/rate-limits#setting-your-own-spend-limit) applies to all of this usage.
10761078 
10771079For detailed information on rate limits and how they work, see [Rate limits](https://platform.claude.com/docs/en/api/rate-limits). You can also read your current organization and workspace rate limits and set workspace rate limits programmatically with the [Rate Limits API](https://platform.claude.com/docs/en/manage-claude/rate-limits-api), which stores a value above the organization’s limit but still enforces the lower of the two.
10781080 
from line 1236
12341236 ```
12351237</CodeGroup>
12361238 
1237Usage and costs in the Default Workspace are reported under the Default Workspace’s own ID.
1239Usage and costs in the default workspace are reported under the default workspace’s own ID.
12381240 
12391241## Common use cases
12401242 
from line 1291
12891291## FAQ
12901292 
12911293<AccordionGroup>
1292 <Accordion title="What’s the Default Workspace?">
1293 Every organization has a “Default Workspace” that cannot be renamed, archived, or deleted. Like every workspace, it has a `wrkspc_` ID. The API returns that ID in the [`anthropic-workspace-id` response header](https://platform.claude.com/docs/en/manage-claude/workspaces#identify-the-workspace-behind-an-api-response), and you can pass it to [Get Workspace](https://platform.claude.com/docs/en/api/organization/workspaces/retrieve) and [Update Workspace](https://platform.claude.com/docs/en/api/organization/workspaces/update). Update Workspace rejects a new name for it. The Default Workspace has no member list of its own, because access to it follows each member’s organization role. It appears in [List Workspaces](https://platform.claude.com/docs/en/api/organization/workspaces/list) results only when you pass `include_default=true`. The [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api) reports its usage and cost under its real ID. The legacy [Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) reports show `null` for `workspace_id`. For an API key that belongs to it, the key’s `scope` field carries the workspace’s real ID.
1294 <Accordion title="What’s the default workspace?">
1295 Every organization has a default workspace that cannot be renamed, archived, or deleted. For how it differs from other workspaces, see [How workspaces work](https://platform.claude.com/docs/en/manage-claude/workspaces#how-workspaces-work).
12941296 </Accordion>
12951297 
12961298 <Accordion title="What’s the Claude Code workspace?">
from line 1300
12981300 </Accordion>
12991301 
13001302 <Accordion title="Are there limits on workspaces?">
1301 Yes. Each organization can have up to 1,000 workspaces by default, and archived workspaces and the Default Workspace don’t count toward this limit. If you need more, contact your account team.
1303 Yes. Each organization can have up to 1,000 workspaces by default, and archived workspaces and the default workspace don’t count toward this limit. If you need more, contact your account team.
13021304 </Accordion>
13031305 
13041306 <Accordion title="How do organization roles affect workspace access?">
from line 1320
13181320 </Accordion>
13191321 
13201322 <Accordion title="What happens to API keys when a user is removed from a workspace?">
1321 Behavior depends on the [key type](https://platform.claude.com/docs/en/manage-claude/authentication#key-types).
1323 Behavior depends on the [key type](https://platform.claude.com/docs/en/manage-claude/api-keys#key-types).
13221324 
13231325 A personal or service account key stops working in a workspace shortly after its user or service account is removed from it. A service account key keeps working even if the user who created it is removed. Workspace keys (legacy keys without an owner) continue to work. In the [Claude Code workspace](https://platform.claude.com/docs/en/manage-claude/workspaces#claude-code-workspace), each key is bound to the member who created it and stops working when that member is removed.
13241326 
Feedback