apicheats.dev Cheat sheet Raw .md
POST

Try POST /v1/organizations/workspaces — Claude API

Claude playground

Create Workspace

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.anthropic.com; the proxy stores and logs nothing about them.

Headers

Body application/json

5 body fields
  • data_residency · optional · object — Data residency configuration for the workspace. If omitted, defaults to `workspace_geo: "us"`, `allowed_inference_geos: "unrestricted"`, and `default_inference_geo: "global"`.
  • display_color · optional · string — Hex color code representing the Workspace in the Anthropic Console.
  • external_key_id · optional · string — 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.
  • name · required · string — Name of the Workspace.
  • tags · optional · object — User-defined tags as string key-value pairs. Keys may not begin with `anthropic`.