← Tools Reference

CodeRabbit

CodeRabbit integration (Developer Tools). Imported from open-connector.

API key8 toolshttps://api.coderabbit.ai
GET
coderabbit_list_users
List CodeRabbit organization users with optional seat and role filters using cursor-based pagination.

/v1/users

4 parameters
ParamTypeRequiredDescription
seatFilterstringoptionalFilter users by seat assignment status.
roleFilterstringoptionalFilter users by organization role.
limitintegeroptionalThe maximum number of users to return per page.
cursorstringoptionalThe pagination cursor from the previous response.
GET
coderabbit_get_seat_assignment_mode
Retrieve the current CodeRabbit seat assignment mode for a self-hosted Enterprise organization.

/v1/users/seats/assignment

POST
coderabbit_update_seat_assignment_mode
Update the CodeRabbit seat assignment mode for a self-hosted Enterprise organization.

/v1/users/seats/assignment

1 parameter
ParamTypeRequiredDescription
modestringrequiredThe CodeRabbit seat assignment mode.
GET
coderabbit_get_review_metrics
Get CodeRabbit merged pull request review metrics for a date range with optional organization, repository, and user filters.

/v1/metrics/reviews

7 parameters
ParamTypeRequiredDescription
startDatestringrequiredThe start date in YYYY-MM-DD format.
endDatestringrequiredThe end date in YYYY-MM-DD format.
organizationIdsarrayoptionalThe organization Git provider IDs to filter by, up to 10 values.
repositoryIdsarrayoptionalThe repository Git provider IDs to filter by, up to 10 values.
userIdsarrayoptionalThe author Git provider IDs to filter by, up to 10 values.
limitintegeroptionalThe maximum number of metric records to return.
cursorstringoptionalThe pagination cursor for fetching the next page.
GET
coderabbit_list_audit_logs
List CodeRabbit organization audit log entries with optional actor, action, resource type, date, and pagination filters.

/v1/audit-logs

7 parameters
ParamTypeRequiredDescription
searchstringoptionalCase-insensitive partial match on actor name.
actionsarrayoptionalThe audit log action keys to filter by, up to 50 values.
resourceTypesarrayoptionalThe audit log resource type keys to filter by, up to 50 values.
dateFromstringoptionalThe inclusive lower timestamp bound in ISO 8601 format.
dateTostringoptionalThe inclusive upper timestamp bound in ISO 8601 format.
pageintegeroptionalThe one-based page number.
pageSizeintegeroptionalThe number of results per page.
GET
coderabbit_list_roles
List CodeRabbit built-in and Enterprise custom roles for the organization.

/v1/roles

4 parameters
ParamTypeRequiredDescription
orgIdstringoptionalThe git-provider organization ID for workspace-scoped API tokens.
roleTypestringoptionalFilter roles by built-in or custom type.
includePermissionsbooleanoptionalWhether to include permissions for each role.
includeUserCountbooleanoptionalWhether to include assigned user counts for each role.
GET
coderabbit_get_role
Get details for one CodeRabbit built-in or Enterprise custom role.

/v1/roles/{roleId}

4 parameters
ParamTypeRequiredDescription
roleIdstringrequiredThe CodeRabbit role identifier.
orgIdstringoptionalThe git-provider organization ID for workspace-scoped API tokens.
includePermissionsbooleanoptionalWhether to include permissions for the role.
includeUserCountbooleanoptionalWhether to include assigned user count for the role.
GET
coderabbit_list_role_permissions
List valid CodeRabbit role permission resource identifiers and access types for custom roles.

/v1/roles/permissions

1 parameter
ParamTypeRequiredDescription
orgIdstringoptionalThe git-provider organization ID for workspace-scoped API tokens.