Get role details
curl --request GET \
--url https://api.coderabbit.ai/v1/roles/{roleId} \
--header 'x-coderabbitai-api-key: <api-key>'Get Role
Retrieves one built-in or Enterprise custom role.
GET
/
v1
/
roles
/
{roleId}
Get role details
curl --request GET \
--url https://api.coderabbit.ai/v1/roles/{roleId} \
--header 'x-coderabbitai-api-key: <api-key>'Documentation Index
Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get Role Details
Retrieves one built-in or Enterprise custom role. Use theinclude_permissions and include_user_count query parameters to include additional details in the response.
For more information, see Role-based access.Authorizations
API key for authentication. You can create an API key from the CodeRabbit dashboard.
Path Parameters
Response
200
Successfully retrieved role
Was this page helpful?
⌘I