Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Get Compliance Role

GET/v1/compliance/organizations/{org_uuid}/roles/{role_id}

Get Compliance Role

Path parameters
org_uuid: string

The organization UUID

role_id: string

The role ID (tagged ID, e.g., rbac_role_abc123)

Headers
"x-api-key": optional string
Returns
id: string

Role identifier (tagged ID)

created_at: string or null

Role creation timestamp (RFC 3339)

formatdate-time
description: string

Role description

name: string

Role name

updated_at: string or null

Role last-updated timestamp (RFC 3339)

formatdate-time
Get Compliance Role
cURL
curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
Returns Examples
Response 200
{
  "id": "rbac_role_01SGBg3kEnZrdsVR2QmyJbvD",
  "created_at": "2025-03-12T18:22:41.123456Z",
  "description": "Full administrative access to organization settings and members",
  "name": "Organization Admin",
  "updated_at": "2025-03-14T09:05:17.456789Z"
}