v56

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014121451.1 MB
Roles

Get a role by ID

Get a role by ID in Comp AI. Create custom roles and resolve permission sets for organization-level access control.

get/v1/roles/{roleId}

Path parameters

roleIdstring required
Example:rol_abc123

Role ID

Response

Role details

idstring
namestring
permissionsobject
isBuiltInboolean
createdAtstring date-time
updatedAtstring date-time