Commentary GitHub API

The GitHub API from Commentary — 1 operation(s) for github.

GitHub OpenAPI

Operations 1

GET /api/v1/github/app-access/diagnostics Diagnose GitHub App installation access for an account-scoped token #

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/commentary-dev:commentary-dev-github-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

commentary-dev-github-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Commentary Dev GitHub API
  version: 0.1.0
  x-commentary-api-version: v1
  x-commentary-compatibility-policy: /docs/api/versioning.md
  x-commentary-feature-key: api.openapi_docs
  description: 'Operations tagged GitHub across 2 of this provider''s published API definitions: commentary-dev-openapi.json, commentary-dev-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://commentary.dev
  description: Configured Commentary origin.
- url: http://localhost:3000
  description: Local development.
tags:
- name: Github
paths:
  /api/v1/github/app-access/diagnostics:
    get:
      operationId: diagnoseGitHubAppAccess
      tags:
      - Github
      summary: Diagnose GitHub App installation access for an account-scoped token
      description: Returns the same installation status and setup links used by the Commentary workspace. This endpoint is read-only and never installs or modifies GitHub Apps.
      security:
      - bearerAuth:
        - commentary.review.read
      parameters:
      - name: owner
        in: query
        required: false
        schema:
          type: string
        description: Repository owner.
      - name: repo
        in: query
        required: false
        schema:
          type: string
        description: Repository name.
      - name: target
        in: query
        required: false
        schema:
          type: string
        description: Repository target as owner/repo or a GitHub repository URL.
      - name: redirectTo
        in: query
        required: false
        schema:
          type: string
        description: Optional browser resume path for generated setup links.
      - name: installStatus
        in: query
        required: false
        schema:
          type: string
        description: Optional GitHub install callback status to explain after setup redirects.
      - name: X-Commentary-Workspace-Id
        in: header
        required: false
        description: Must match the credential workspace. This header cannot widen grant authority.
        schema:
          type: string
      - name: X-Correlation-Id
        in: header
        required: false
        schema:
          type: string
          maxLength: 128
      x-commentary-feature-key: github.installation_diagnostics.read
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  diagnostic:
                    $ref: '#/components/schemas/GitHubInstallationDiagnostic'
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '401':
          description: Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '403':
          description: The token or session does not have permission for this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '404':
          description: The resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '429':
          description: The request was rate limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
    servers:
    - url: https://commentary.dev
      description: Configured Commentary origin.
    - url: http://localhost:3000
      description: Local development.
components:
  schemas:
    GitHubInstallationDiagnostic:
      type: object
      properties:
        ok:
          type: boolean
        status:
          type: string
        statusLabel:
          type: string
        title:
          type: string
        description:
          type: string
        target:
          type:
          - object
          - 'null'
          additionalProperties: true
        details:
          type: array
          items:
            type: string
        nextSteps:
          type: array
          items:
            type: string
        installUrl:
          type:
          - string
          - 'null'
          format: uri
        manageUrl:
          type:
          - string
          - 'null'
          format: uri
        workspaceAccessUrl:
          type: string
          format: uri
        reviewUrl:
          type:
          - string
          - 'null'
          format: uri
        installations:
          type: array
          items:
            type: object
            additionalProperties: true
      additionalProperties: true
    ExternalError:
      type: object
      required:
      - ok
      - error
      properties:
        ok:
          const: false
        error:
          type: string
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Commentary external access token
      description: Bearer token from an API token, OAuth authorization code flow, OAuth refresh token flow, or OAuth device flow.
    commentarySession:
      type: apiKey
      in: cookie
      name: commentary_session
      description: Signed-in Commentary browser session. Used for API token management routes.
x-refined-from:
- commentary-dev-openapi.json


# --- truncated at 32 KB (479 KB total) ---
# Full source: https://artifacts.apis.io/commentary-dev/openapi/commentary-dev-github-api-openapi.yml