Comma Reviews API

Claude Code review sessions and manual reviewer runs.

GitHub OpenAPI

Operations 3

POST /reports/{id}/review Run reviewer agents against the head revision #
POST /reviews Start a Claude Code review session #
GET /reviews/{id} Poll a review session #

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/commareports-com:commareports-com-reviews-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

commareports-com-reviews-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Commareports Com Reviews API
  version: 1.0.0
  contact:
    url: https://commareports.com/contact
  description: 'Operations tagged Reviews across 2 of this provider''s published API definitions: commareports-com-openapi.json, commareports-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://commareports.com/api/v1
security:
- commaApiToken: []
tags:
- name: Reviews
  description: Claude Code review sessions and manual reviewer runs.
paths:
  /reports/{id}/review:
    parameters:
    - $ref: '#/components/parameters/ReportId'
    post:
      tags:
      - Reviews
      operationId: runReviewers
      summary: Run reviewer agents against the head revision
      description: 'Manually trigger a single reviewer (`reviewer_id`) or every enabled reviewer for this report. Owner only (403 otherwise); 409 if the report has no revisions yet. Body is optional. Scope: `reports:write`.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                reviewer_id:
                  type: string
                  format: uuid
      responses:
        '200':
          description: Per-reviewer run outcomes.
          content:
            application/json:
              schema:
                type: object
                properties:
                  runs:
                    type: array
                    items:
                      $ref: '#/components/schemas/ReviewRun'
                required:
                - runs
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: Report has no revisions yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://commareports.com/api/v1
  /reviews:
    post:
      tags:
      - Reviews
      operationId: createReviewSession
      summary: Start a Claude Code review session
      description: 'Creates a private report plus a pending review session and returns a `review_url` for a human to open; the caller then polls `GET /reviews/{id}` until `status` flips to `submitted` or `cancelled`, and fetches feedback via `GET /reports/{id}/comments`. Scope: `reports:write`.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                html:
                  type: string
                  description: Required. Max 5 MB.
                title:
                  type: string
                  maxLength: 200
                source_file:
                  type: string
                  maxLength: 500
              required:
              - html
      responses:
        '201':
          description: Review session created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReviewSessionCreated'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://commareports.com/api/v1
  /reviews/{id}:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Review session id.
    get:
      tags:
      - Reviews
      operationId: getReviewSession
      summary: Poll a review session
      description: 'Only the token that created the session can read it (others get 404). Scope: `reports:read`.'
      responses:
        '200':
          description: Session state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReviewSession'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://commareports.com/api/v1
components:
  schemas:
    ReviewRun:
      type: object
      properties:
        reviewer_id:
          type: string
          format: uuid
        ok:
          type: boolean
        comments_created:
          type: integer
        error:
          type:
          - string
          - 'null'
      required:
      - reviewer_id
      - ok
    ReviewSessionCreated:
      type: object
      properties:
        session_id:
          type: string
          format: uuid
        report_id:
          type: string
          format: uuid
        review_url:
          type: string
          format: uri
          description: Open in a browser; carries ?review_session=.
        created_at:
          type: string
          format: date-time
      required:
      - session_id
      - report_id
      - review_url
      - created_at
    ReviewSession:
      type: object
      properties:
        id:
          type: string
          format: uuid
        report_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - pending
          - submitted
          - cancelled
        source_file:
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
        submitted_at:
          type:
          - string
          - 'null'
          format: date-time
      required:
      - id
      - report_id
      - status
      - created_at
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  responses:
    Unauthorized:
      description: Missing, invalid, revoked, or expired token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Token missing the required scope, or no access to the resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: 'Rate limit exceeded. Rate limit: per-token sliding window (plan-aware — Free 60 req/min, Pro 600, Team/Enterprise 6000 by default); 429 responses carry a Retry-After header.'
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found (also returned instead of 403 where existence must not leak).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    PayloadTooLarge:
      description: Payload exceeds a size limit (HTML > 5 MB; asset > 25 MB per file or > 250 MB per report).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Malformed body or invalid field.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    ReportId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Report id.
  securitySchemes:
    commaApiToken:
      type: http
      scheme: bearer
      bearerFormat: comma_sk_…
      description: Comma personal API token (Settings → API tokens). Scoped, revocable, optionally expiring. The same token also authenticates the MCP server at /api/mcp.
    supabaseSessionJwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase user-session access token — the signed-in browser path. Only accepted where an operation explicitly lists it.
x-refined-from:
- commareports-com-openapi.json
- commareports-com-openapi.yml