Roles

Get a role by ID

Changed on

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

get/v1/roles/{roleId}

Request

  • Base URL
    https://api.trycomp.ai
  • Auth
    API key in header X-API-Key

Path parameters

roleIdstring required
Example:rol_abc123

Role ID

Response

Role details

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

Changes