List roles and the capabilities attached to each
GET /auth/roles
GET
/auth/roles
Includes parent_id but does NOT recurse — each role’s
capabilities array is just the direct attachments. Effective
capabilities for a user (role chain + grants - revokes) are
exposed via /auth/me/capabilities.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”List of roles
Array<object>
object
id
required
string format: uuid
name
required
string
description
required
string
parent_id
Single-inheritance parent role; null for root roles.
string format: uuid
capabilities
required
Capability codes attached directly to this role. Does NOT
include inherited capabilities — chase parent_id to get the
full set, or call /auth/me/capabilities for the resolved
view of the current user.
Array<string>
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
error
required
Human-readable error summary
string
Example
the request could not be completed