List Clerk role sets
List role sets in a connected Clerk application.
← All Clerk endpoints · Capability overview
/v1/clerk/role-setshttps://api.vee3.io/v1/clerk/role-sets
List role sets in a connected Clerk application.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
clerk.list_role_setsParameters5 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
limitintegerOptionalMaximum number of results to return (1–500).
Default: 10 · min 1, max 500
offsetintegerOptionalNumber of results to skip before returning.
Default: 0 · min 0
querystringOptionalSearch by name or key.
order_bystringOptionalSort order with optional + or - prefix (for example -created_at or name). Defaults to -created_at.
Response36 fields
role_setsarrayitems34 fieldsRole sets in the connected Clerk application.
role_setsarrayitemsidstringClerk role set id.
namestringRole set display name.
keystringRole set key.
descriptionstringRole set description.
rolesarrayitems8 fieldsRoles included in this role set.
rolesarrayitemsidstringRole id within the role set.
namestringRole display name.
keystringRole key.
descriptionstringRole description.
created_atintegerUnix timestamp in milliseconds when the role was created.
updated_atintegerUnix timestamp in milliseconds when the role was last updated.
members_countintegerNumber of members assigned this role in the role set.
has_membersbooleanWhether any members are assigned this role.
default_roleobject8 fieldsDefault role for new members in this role set.
default_roleobjectidstringRole id within the role set.
namestringRole display name.
keystringRole key.
descriptionstringRole description.
created_atintegerUnix timestamp in milliseconds when the role was created.
updated_atintegerUnix timestamp in milliseconds when the role was last updated.
members_countintegerNumber of members assigned this role in the role set.
has_membersbooleanWhether any members are assigned this role.
creator_roleobject8 fieldsRole assigned to organization creators in this role set.
creator_roleobjectidstringRole id within the role set.
namestringRole display name.
keystringRole key.
descriptionstringRole description.
created_atintegerUnix timestamp in milliseconds when the role was created.
updated_atintegerUnix timestamp in milliseconds when the role was last updated.
members_countintegerNumber of members assigned this role in the role set.
has_membersbooleanWhether any members are assigned this role.
typestringRole set type.
created_atintegerUnix timestamp in milliseconds when the role set was created.
updated_atintegerUnix timestamp in milliseconds when the role set was last updated.
total_countintegerTotal number of role sets.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required