Loading...
    • Developer Guide
    • API Reference
    • MCP
    • Resources
    • Release Notes
    Search...
    ⌘K
    Using the API
    Features overviewClient SDKsBeta headersErrors
    Messages
    Create a Message
    Count tokens in a Message
    Models
    List Models
    Get a Model
    Beta
    Admin
    Create Workspace
    Get Workspace
    List Workspaces
    Update Workspace
    Archive Workspace
    Completions
    Create a Text Completion
    Support & configuration
    Rate limitsService tiersVersionsIP addressesSupported regionsOpenAI SDK compatibility
    Console
    Log in

    Get Workspace

    get/v1/organizations/workspaces/{workspace_id}

    Get Workspace

    Path ParametersExpand Collapse
    workspace_id: string

    ID of the Workspace.

    ReturnsExpand Collapse
    Workspace = object { id, archived_at, created_at, 3 more }
    id: string

    ID of the Workspace.

    archived_at: string

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

    formatdate-time
    created_at: string

    RFC 3339 datetime string indicating when the Workspace was created.

    formatdate-time
    display_color: string

    Hex color code representing the Workspace in the Anthropic Console.

    name: string

    Name of the Workspace.

    type: "workspace"

    Object type.

    For Workspaces, this is always "workspace".

    Accepts one of the following:
    "workspace"
    Get Workspace
    curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
        -H "X-Api-Key: $ANTHROPIC_ADMIN_API_KEY"
    Response 200
    {
      "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
      "archived_at": "2024-11-01T23:59:27.427722Z",
      "created_at": "2024-10-30T23:58:27.427722Z",
      "display_color": "#6C5BB9",
      "name": "Workspace Name",
      "type": "workspace"
    }
    Returns Examples
    Response 200
    {
      "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
      "archived_at": "2024-11-01T23:59:27.427722Z",
      "created_at": "2024-10-30T23:58:27.427722Z",
      "display_color": "#6C5BB9",
      "name": "Workspace Name",
      "type": "workspace"
    }

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy