clerk.list_organization_roles
List organization roles in a connected Clerk application.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns role summaries with nested permissions and total_count.
Cost = 5 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–500). | |
| query | No | Search by name or key. | |
| offset | No | Number of results to skip before returning. | |
| order_by | No | Sort order with optional + or - prefix (for example -created_at or name). Defaults to -created_at. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total_count | No | Total number of organization roles. | |
| organization_roles | No | Organization roles in the connected Clerk application. |