Saga Labs GitHub API

The github API from Saga Labs — 4 operation(s) for github.

Operations 4

GET /api/v1/github/install Github Install #
GET /api/v1/github/callback Github Callback #
GET /api/v1/github/installations/{installation_id}/repos List Installation Repos #
POST /api/v1/github/webhook Github Webhook #

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/docoapi:docoapi-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

docoapi-github-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DocoAPI GitHub API
  description: FastAPI-first API documentation SaaS
  version: 0.1.0
tags:
- name: Github
paths:
  /api/v1/github/install:
    get:
      tags:
      - Github
      summary: Github Install
      description: 'Redirect the user to the GitHub App installation page.

        No auth required — this is a browser redirect, not an API call.

        The project_id is passed as state and verified in the callback.'
      operationId: github_install_api_v1_github_install_get
      parameters:
      - name: project_id
        in: query
        required: true
        schema:
          type: string
          format: uuid
          description: Project to link after installation
          title: Project Id
        description: Project to link after installation
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/github/callback:
    get:
      tags:
      - Github
      summary: Github Callback
      description: 'GitHub redirects here after the user installs the App.

        Save the installation_id to the project and redirect back to the dashboard.'
      operationId: github_callback_api_v1_github_callback_get
      parameters:
      - name: installation_id
        in: query
        required: true
        schema:
          type: string
          title: Installation Id
      - name: setup_action
        in: query
        required: false
        schema:
          type: string
          default: install
          title: Setup Action
      - name: state
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/github/installations/{installation_id}/repos:
    get:
      tags:
      - Github
      summary: List Installation Repos
      description: 'Return the repositories accessible to a GitHub App installation.


        The caller must own at least one project that uses this installation_id,

        which guarantees they authorised the installation.'
      operationId: list_installation_repos_api_v1_github_installations__installation_id__repos_get
      security:
      - HTTPBearer: []
      parameters:
      - name: installation_id
        in: path
        required: true
        schema:
          type: string
          title: Installation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/github/webhook:
    post:
      tags:
      - Github
      summary: Github Webhook
      description: 'Receive GitHub App webhook events.

        On push events that touch the configured spec file, enqueue a sync job.'
      operationId: github_webhook_api_v1_github_webhook_post
      parameters:
      - name: x-github-event
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Github-Event
      - name: x-hub-signature-256
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Hub-Signature-256
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer