list_custom_roles
List custom agent roles as paginated skeletons (id, name, team_member_count, updated_at). Enable verbose for full permission grid. Requires Enterprise plan.
Instructions
Returns custom agent roles as paginated skeletons (id, name, team_member_count, updated_at). Default limit: 100; pass cursor, fields, filter, or verbose: true for the full permission grid. Plan-gated, custom roles require Enterprise; degrades to upstream_error on lower plans. Distinct from system roles (admin, agent, end-user).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items to return. Default 100. The full corpus is fetched and cached server-side; this only limits what the response carries. | |
| cursor | No | Opaque pagination token from a previous response. Slices the next page from the cached corpus. Stale cursors (older than the cache TTL) auto-reset to offset 0 and set cursor_invalidated: true. | |
| fields | No | Whitelist of field names. Overrides the default projection. Use to opt into extra fields (e.g. ["id","title","active","position","category_id","updated_at"]) without going fully verbose. | |
| filter | No | Structured filter applied to the cached corpus before slicing. Supported keys: active (bool), category_id (number/string), title_contains (string, case-insensitive), updated_since (ISO timestamp). Unsupported keys are ignored with a note in the response. | |
| refresh | No | Bypass cache and re-fetch from Zendesk | |
| verbose | No | Return full custom role objects instead of the thin projection | |
| instance | No | Override the sticky instance for this call |