cURL
curl --request GET \ --url https://api.trillet.ai/v1/api/roles-and-permissions/permissions \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>'
[ { "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" } ]
Retrieve all available permissions that can be assigned to roles.