Scott Ai github-links API

The github-links API from Scott Ai — 3 operation(s) for github-links.

Operations 4

GET /github/workspaces/{workspace_id}/linkable-nodes List Linkable Nodes #

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/scott-ai-github-links-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

scott-ai-github-links-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: One-Shot access Github Links API
  version: 1.0.0
servers:
- url: https://api.tryscott.ai
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: github-links
paths:
  /github/workspaces/{workspace_id}/linkable-nodes:
    get:
      tags:
      - github-links
      summary: List Linkable Nodes
      operationId: list_linkable_nodes
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkableNodesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /github/workspaces/{workspace_id}/pr-links:
    get:
      tags:
      - github-links
      summary: List Workspace Pr Links
      operationId: list_workspace_pr_links
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspacePrLinksResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /github/pr-links:
    get:
      tags:
      - github-links
      summary: Get Pr Links
      operationId: get_pr_links
      security:
      - HTTPBearer: []
      parameters:
      - name: repo
        in: query
        required: true
        schema:
          type: string
          title: Repo
      - name: pr_number
        in: query
        required: true
        schema:
          type: integer
          title: Pr Number
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrLinksResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - github-links
      summary: Write Pr Links
      operationId: write_pr_links
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WriteLinksRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WriteLinksResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    LinkableNode:
      properties:
        snapshot_id:
          type: string
          title: Snapshot Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        approval_state:
          type: string
          title: Approval State
      type: object
      required:
      - snapshot_id
      - name
      - created_at
      - approval_state
      title: LinkableNode
    WorkspacePrLinksResponse:
      properties:
        links:
          additionalProperties:
            items:
              $ref: '#/components/schemas/WorkspacePrLink'
            type: array
          type: object
          title: Links
      type: object
      required:
      - links
      title: WorkspacePrLinksResponse
    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
    LinkableNodesResponse:
      properties:
        nodes:
          items:
            $ref: '#/components/schemas/LinkableNode'
          type: array
          title: Nodes
      type: object
      required:
      - nodes
      title: LinkableNodesResponse
    PrLinksResponse:
      properties:
        snapshot_ids:
          items:
            type: string
          type: array
          title: Snapshot Ids
      type: object
      required:
      - snapshot_ids
      title: PrLinksResponse
    WorkspacePrLink:
      properties:
        pr_number:
          type: integer
          title: Pr Number
        repo_full_name:
          type: string
          title: Repo Full Name
        pr_html_url:
          type: string
          title: Pr Html Url
        linked_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Linked At
        linked_by_user_id:
          type: string
          title: Linked By User Id
      type: object
      required:
      - pr_number
      - repo_full_name
      - pr_html_url
      - linked_at
      - linked_by_user_id
      title: WorkspacePrLink
    WriteLinksRequest:
      properties:
        repo:
          type: string
          title: Repo
        pr_number:
          type: integer
          title: Pr Number
        installation_id:
          type: integer
          title: Installation Id
        workspace_id:
          type: string
          title: Workspace Id
        snapshot_ids:
          items:
            type: string
          type: array
          title: Snapshot Ids
      type: object
      required:
      - repo
      - pr_number
      - installation_id
      - workspace_id
      - snapshot_ids
      title: WriteLinksRequest
    WriteLinksResponse:
      properties:
        linked_snapshot_ids:
          items:
            type: string
          type: array
          title: Linked Snapshot Ids
        comment_patched:
          type: boolean
          title: Comment Patched
      type: object
      required:
      - linked_snapshot_ids
      - comment_patched
      title: WriteLinksResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer