Response (200)
{
"data": [
{
"id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
"created_at": "2025-03-12T18:22:41.123456Z",
"email": "jane.doe@example.com",
"full_name": "Jane Doe",
"organization_role": "admin"
}
],
"has_more": true,
"next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}Compliance API › Organizations › Roles
List Compliance Roles
GET /v1/compliance/organizations/\{org_uuid\}/roles
List Compliance Roles
Path parameters
org_uuid: stringThe organization UUID
Query parameters
limit: optional numberMaximum results (default: 500, max: 1000)
default: 500, maximum: 1000, minimum: 1
page: optional stringOpaque pagination token from a previous response's
next_pagefield. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.
Headers
"anthropic-version": optional stringThe version of the Claude API you want to use.
Read more about versioning and our version history here.
"x-api-key": optional string
Returns
data: array of objectList of roles
id: stringRole identifier (tagged ID)
created_at: string or nullRole creation timestamp (RFC 3339)
format: date-time
description: stringRole description
name: stringRole name
updated_at: string or nullRole last-updated timestamp (RFC 3339)
format: date-time
has_more: booleanWhether more records exist beyond the current result set
next_page: string or nullToken to retrieve the next page. Use this as the 'page' parameter in your next request
Example
curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"