All instructions for generating test sample reports
All instructions for generating test sample reports
This feature is available exclusively as part of the Pro plan. Please refer to our pricing page for more information about our plans and features.
Overview
Generate single-use reports instantly using the CodeRabbit API. API generated reports are ideal for testing report formats or getting quick insights without setting up recurring schedules.API access
CodeRabbit offers a way to generate api reports using the CodeRabbit API. You will need an API Key to access the CodeRabbit API and generate an api report.Create an API key
Navigate to API Keys
Sign in to your CodeRabbit account and navigate to the API
Keys page under
âOrganization Settingsâ in the left sidebar

Generate an api report
Once you have the API key, pass it in thex-coderabbitai-api-key header when calling the API:Sample response
JSON
If you get a 401 UNAUTHORIZED error, check if youâre passing the right API key
in the
x-coderabbitai-api-key headerAPI schema
The on-demand report generation endpoints take in inputs as per the schema shown below:API Reference
View complete API documentation and request/response schemas
Whatâs next
Customize reports
Learn how to create custom report formats and prompts
Scheduled reports
Set up automated recurring reports for regular monitoring