Access CodeRabbit metrics data programmatically via REST API.
format=csv, the API returns a flat CSV structure with one row per pull request. The nested coderabbit_comments object is flattened into individual columns (e.g., total_coderabbit_comments_posted, critical_comments_accepted).
For the complete list of CSV columns and field descriptions, see Data Export - Exported fields.API key for authentication. You can create an API key from the CodeRabbit dashboard.
Your CodeRabbit API key
Start date in ISO 8601 format (YYYY-MM-DD)
End date in ISO 8601 format (YYYY-MM-DD)
Filter by organization Git provider IDs (comma-separated, max 10). Self-hosted instances only.
Filter by repository Git provider IDs (comma-separated, max 10).
Filter by author Git provider IDs (comma-separated, max 10).
Response format
json, csv Maximum records to return
Pagination cursor for fetching next page of results