Role Management

Get role details

Changed on

Retrieves one built-in or Enterprise custom role.

get/v1/roles/{roleId}

Request

  • Base URL
    https://api.coderabbit.ai
  • Auth
    API key in header x-coderabbitai-api-key

Path parameters

roleIdstring required

Query parameters

org_idstring

Required when authenticating with a workspace-scoped API token: the git-provider organization id to target within the token's workspace. Ignored for organization and self-hosted keys.

include_permissionsboolean
include_user_countboolean

Response

Successfully retrieved role

Changes