CodeRabbit Reports API

The Reports API from CodeRabbit — 1 operation(s) for reports.

Operations 1

POST /report.generate Generate an on-demand developer activity report. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/coderabbit-reports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

coderabbit-reports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CodeRabbit Reports API
  description: REST API for CodeRabbit, the AI-powered code review platform. The documented public surface is the on-demand developer activity report generation endpoint. Requests are authenticated with an API key passed in the x-coderabbitai-api-key header. The report.generate endpoint is marked deprecated in CodeRabbit's documentation and may take up to 10 minutes to respond depending on data volume.
  termsOfService: https://www.coderabbit.ai/terms-of-service
  contact:
    name: CodeRabbit Support
    url: https://docs.coderabbit.ai
  version: '1.0'
servers:
- url: https://api.coderabbit.ai/api/v1
  description: CodeRabbit REST API v1
security:
- apiKeyAuth: []
tags:
- name: Reports
paths:
  /report.generate:
    post:
      operationId: generateReport
      tags:
      - Reports
      summary: Generate an on-demand developer activity report.
      description: Generates a developer activity report based on the provided parameters and date range. This endpoint is marked DEPRECATED in CodeRabbit's documentation, cannot use custom prompts in production, and may take up to 10 minutes to respond depending on the volume of data. CodeRabbit recommends creating a recurring report and triggering a preview via the UI instead.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateReportRequest'
            example:
              from: '2024-05-01'
              to: '2024-05-15'
      responses:
        '200':
          description: Report generated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateReportResponse'
        '400':
          description: Bad request - invalid parameters.
        '401':
          description: Unauthorized - missing or invalid x-coderabbitai-api-key.
        '429':
          description: Too Many Requests - rate limit exceeded.
components:
  schemas:
    ReportParameter:
      type: object
      properties:
        parameter:
          type: string
          description: The field to filter on.
        operator:
          type: string
          description: The comparison operator applied to the field.
        values:
          type: array
          items:
            type: string
          description: One or more values to match.
    GenerateReportResponse:
      type: object
      description: Generated report payload. The response contains the rendered report content for the requested date range and parameters.
      properties:
        report:
          type: string
          description: The rendered developer activity report content.
    GenerateReportRequest:
      type: object
      required:
      - from
      - to
      properties:
        from:
          type: string
          format: date
          description: Start date of the report range in ISO 8601 (YYYY-MM-DD) format.
          example: '2024-05-01'
        to:
          type: string
          format: date
          description: End date of the report range in ISO 8601 (YYYY-MM-DD) format.
          example: '2024-05-15'
        scheduleRange:
          type: string
          enum:
          - Dates
          description: Schedule range type for the report.
        prompt:
          type: string
          description: Custom report content specification. Documented as for testing only; not usable in production reports.
        promptTemplate:
          type: string
          enum:
          - Daily Standup Report
          - Sprint Report
          - Release Notes
          - Custom
          description: Predefined prompt template controlling report structure.
        parameters:
          type: array
          description: Filter objects applied to the report data set.
          items:
            $ref: '#/components/schemas/ReportParameter'
        groupBy:
          type: string
          description: Primary grouping dimension for the report.
        subgroupBy:
          type: string
          description: Secondary grouping dimension for the report.
        orgId:
          type: string
          description: Organization identifier scoping the report.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-coderabbitai-api-key
      description: CodeRabbit API key (format cr-xxxxxxxxxx), generated from the CodeRabbit organization settings and passed in the x-coderabbitai-api-key header.