Trillet AI logo

List Available Permissions

Retrieve all available permissions that can be assigned to roles.

GEThttps://api.trillet.ai/v1/api/roles-and-permissions/permissions

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Response Fields

permissionsarray

Array of permission objects grouped by category.

keystring

Unique permission key (e.g., "agent_view", "call_history_export").

namestring

Human-readable permission name.

descriptionstring

Description of what the permission allows.

categorystring

Permission category (e.g., "agents", "calls", "workspace", "flows").

[
  {
    "key": "agent_view",
    "name": "View Agents",
    "description": "View agent configurations and details",
    "category": "agents"
  },
  {
    "key": "agent_create",
    "name": "Create Agents",
    "description": "Create new agents",
    "category": "agents"
  },
  {
    "key": "call_history_view",
    "name": "View Call History",
    "description": "View call history records and transcripts",
    "category": "calls"
  }
]