What you can build
Each area below matches a group in the API reference. Start with the operation named in the last column.
An operation never grants more than the CodeRabbit app does: each request runs with the permissions of the key’s owner, and a product that isn’t enabled for your organization stays unavailable through the API.
Choose how to connect
The REST API and the CLI share the same keys, base URLs, and responses. The MCP server uses no API key. See Authentication for keys and Conventions for base URLs, pagination, errors, and rate limits.
Availability
Plans
The API has no plan requirement of its own. What an operation needs depends on its operation family:- Product operations, such as coding tasks, Triage rules, and security scans, follow the access rules of the feature they act on. For example, creating a coding task needs access to Coding Agent, reports follow your plan’s reporting access, and administration operations, such as listing organization roles, need the Enterprise plan.
- Export and user-management operations, such as users, seats, role changes, audit logs, metrics, organization Learnings, and the organization inventory, need the Enterprise plan and return
403 ENTERPRISE_PLAN_REQUIREDwithout it. Two exports are exceptions: Deep Scan code findings work on every plan, and Bug Scan findings need Bug Scan enabled for the organization. - The hosted MCP server has no plan requirement of its own. Each tool applies the checks of the operation behind it.
Git platforms and keys
- Git platforms. Product operations work for GitHub Cloud organizations. Export and user-management operations work on every Git platform CodeRabbit supports.
- Self-hosted. Organizations on self-hosted CodeRabbit or on a self-managed Git provider, such as GitHub Enterprise Server or GitLab Self-Managed, can use the export and user-management operations with a self-hosted instance key. Product operations aren’t available to them and return
404. - Keys. Which operations accept a user key, an agentic key, a workspace API token, or a self-hosted instance key is listed in Authentication.
Guides
Request and read reviews
Find a pull request, request a review, and follow it to completion.
Run coding tasks
Start a coding task, answer its questions, and deliver the patch.
Manage users, seats, and roles
Automate seat assignment, role changes, and audit log exports.
Export metrics and usage
Export review metrics, track usage and credits, and schedule reports.
Manage Learnings
Choose the right Learnings operations to export or manage Learnings.
Export security findings
Export Deep Scan and Bug Scan findings into your security tools.
What’s next
Make your first API call
Create a key, call the API with curl or the CLI, and read a review status.
Browse the API reference
See every operation’s parameters, responses, and errors.