POST
/
v1
/
organizations
/
workspaces

Headers

x-api-key
string
required

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.

anthropic-version
string
required

The version of the Anthropic API you want to use.

Read more about versioning and our version history here.

Body

application/json
name
string

Name of the Workspace.

Response

200 - application/json
id
string
required

ID of the Workspace.

type
enum<string>
default: workspacerequired

Object type.

For Workspaces, this is always "workspace".

Available options:
workspace
name
string
required

Name of the Workspace.

created_at
string
required

RFC 3339 datetime string indicating when the Workspace was created.

archived_at
string | null
required

RFC 3339 datetime string indicating when the Workspace was archived, or null if the Workspace is not archived.

display_color
string
required

Hex color code representing the Workspace in the Anthropic Console.