---
title: "List Workspaces"
method: GET
path: "/v1/organizations/workspaces?beta=true"
---

# List Workspaces

`GET /v1/organizations/workspaces?beta=true`

## Query parameters

- `include_archived` boolean — Whether to include Workspaces that have been archived in the response
- `before_id` string — ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.
- `after_id` string — ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.
- `limit` integer — Number of items to return per page. Defaults to `20`. Ranges from `1` to `1000`.

## Headers

- `x-api-key` string — Your unique Admin API key for authentication. This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the [Console](https://console.anthropic.com/settings/admin-keys).
- `anthropic-version` string — The version of the Claude API you want to use. Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).

## Response `200`

Successful Response

- BetaListResponseWorkspace
  - `data` BetaWorkspace[], required
    - `archived_at` string, date-time, nullable, required — RFC 3339 datetime string indicating when the Workspace was archived, or `null` if the Workspace is not archived.
    - `compartment_id` string, required — Identifier for this Workspace's encryption compartment. When you configure a customer-managed encryption key (CMEK) on AWS, reference this value in your KMS key-policy condition so the key is scoped to this compartment. On GCP and Azure, Anthropic enforces the compartment binding automatically; you do not need to reference this value in your key configuration. See the CMEK integration guide for the required key configuration; unless your organization is on Claude Platform on AWS, it includes a separate value used during key validation. On Claude Platform on AWS there is no separate validation value: the key is validated against this Workspace's own value when it is attached, so if your key policy uses the compartment condition, add this value to it before attaching the key.
    - `created_at` string, date-time, required — RFC 3339 datetime string indicating when the Workspace was created.
    - `data_residency` BetaDataResidency, required
      - `allowed_inference_geos` union, required — Permitted inference geo values. 'unrestricted' means all geos are allowed.
        - string[]
        - 'unrestricted'
      - `default_inference_geo` string, required — Default inference geo applied when requests omit the parameter.
      - `workspace_geo` string, required — Geographic region for workspace data storage. Immutable after creation.
    - `display_color` string, required — Hex color code representing the Workspace in the Anthropic Console.
    - `external_key_id` string, nullable, required — ID of the customer-managed encryption key (CMEK) configuration to use for this Workspace. Setting this field requires CMEK to be enabled for your organization. When set, data stored for this Workspace is encrypted with the referenced key. Create key configurations with the External Keys API. On Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a single-Region key in the same AWS account and Region as the Workspace. On that platform the key is validated against this Workspace when it is attached, so a key-policy problem is reported as an error on this request. This field is write-once: once a key is attached to a Workspace it cannot be detached or replaced. To rotate key material, rotate the underlying key on your cloud KMS; the `external_key_id` stays the same.
    - `id` string, required — ID of the Workspace.
    - `name` string, required — Name of the Workspace.
    - `tags` object, required — User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.
    - `type` 'workspace', required — Object type. For Workspaces, this is always `"workspace"`.
  - `first_id` string, nullable, required — First ID in the `data` list. Can be used as the `before_id` for the previous page.
  - `has_more` boolean, required — Indicates if there are more results in the requested page direction.
  - `last_id` string, nullable, required — Last ID in the `data` list. Can be used as the `after_id` for the next page.

## Other responses

- `4XX` — Error response. See our [errors documentation](https://platform.claude.com/docs/en/api/errors) for more details.

## Changes

- **2026-08-26** `942a11636c42` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/anthropics/apis/anthropic-api/changes/v1/organizations/workspaces?beta=true/get.md)

---

[API](https://skmtc.dev/anthropics/apis/anthropic-api.md) · [All operations](https://skmtc.dev/anthropics/apis/anthropic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anthropics/anthropic-api/revisions/d1d189d791d1/schema)
