List Compliance Role Permissions ​
get /v1/compliance/organizations/{org_uuid}/roles/{role_id}/permissions
List Compliance Role Permissions
Path Parameters ​
org_uuid: stringThe organization UUID
role_id: stringThe role ID (tagged ID, e.g., rbac_role_abc123)
Query Parameters ​
limit: optional numberMaximum results (default: 500, max: 1000)
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.
Header Parameters ​
"x-api-key": optional string
Returns ​
data: array of object { action, resource_id, resource_type }List of permissions
action: stringAction permitted on the resource
resource_id: stringIdentifier of the resource the permission applies to
resource_type: stringType of resource the permission applies to
has_more: booleanWhether more records exist beyond the current result set
next_page: stringToken to retrieve the next page. Use this as the 'page' parameter in your next request
Example ​
http
curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID/permissions \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response ​
json
{
"data": [
{
"action": "action",
"resource_id": "resource_id",
"resource_type": "resource_type"
}
],
"has_more": true,
"next_page": "next_page"
}