LangSmith fleet github-app API

The fleet github-app API from LangSmith — 9 operation(s) for fleet github-app.

GitHub OpenAPI

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/platform/fleet/providers/github-app/auth Connect a GitHub account for fleet access · Get GitHub OAuth authorization link #
Ask an LLM
“How do I connect my GitHub account so my fleet can use it?”
“Can a user get a GitHub OAuth link to pair their account?”
Tell an agent
Get a GitHub OAuth link for this user.
Generate a GitHub authorization link so the user can connect their fleet.
GET /v1/platform/fleet/providers/github-app/connection Check my GitHub connection status · Get GitHub user connection status #
Ask an LLM
“Is my GitHub account connected to LangSmith?”
“What metadata does my GitHub connection have?”
Tell an agent
Show my GitHub connection status.
Get the metadata of my connected GitHub account.
DELETE /v1/platform/fleet/providers/github-app/connection Disconnect my GitHub account · Delete GitHub user connection #
Ask an LLM
“How do I disconnect my GitHub account from LangSmith?”
“Does disconnecting also remove all my GitHub App installations?”
Tell an agent destructive · confirm first
Disconnect my GitHub account.
Remove my GitHub connection and all linked installations.
PATCH /v1/platform/fleet/providers/github-app/connection Change my GitHub connection actor · Update GitHub user connection #
Ask an LLM
“Can I switch which GitHub actor my fleet connection uses?”
“How do I update my GitHub connection's actor preference?”
Tell an agent
Set my GitHub connection actor preference to {actor_preference}.
Update the actor my fleet uses for GitHub.
POST /v1/platform/fleet/providers/github-app/install Get a link to install the fleet GitHub App · Get GitHub App install link #
Ask an LLM
“How do I install the GitHub App for my organization?”
“Can I get an install link for my fleet?”
Tell an agent
Get a GitHub App install link for my organization.
Generate an install link for the fleet GitHub App.
GET /v1/platform/fleet/providers/github-app/installations List my fleet GitHub App installations · List GitHub App installations #
Ask an LLM
“Which GitHub App installations are linked to my fleet?”
“Is the fleet installations list up to date?”
Tell an agent
List my fleet GitHub App installations.
Show cached fleet installations.
POST /v1/platform/fleet/providers/github-app/installations/refresh Refresh my fleet GitHub App installations · Refresh GitHub App installations #
Ask an LLM
“How do I sync my fleet installations with GitHub?”
“Can I force a fresh sync of fleet GitHub App installations?”
Tell an agent
Refresh my fleet GitHub App installations from GitHub.
Sync fleet installations with GitHub and return the updated list.
DELETE /v1/platform/fleet/providers/github-app/installations/{id} Uninstall a fleet GitHub App installation · Delete a GitHub App installation #
Ask an LLM
“How do I remove a fleet GitHub App installation?”
“Can I delete one fleet installation by its ID?”
Tell an agent destructive · confirm first
Delete fleet installation {id}.
Remove the fleet GitHub App installation {id}.
GET /v1/platform/fleet/providers/github-app/installations/{id}/repos List repos for a fleet GitHub App installation · List repositories for a GitHub App installation #
Ask an LLM
“Which repositories does a fleet GitHub App installation have access to?”
“Can I list repos for one fleet installation?”
Tell an agent
List repositories for fleet installation {id}.
Show the repos accessible to fleet installation {id}.
POST /v1/platform/fleet/providers/github-app/tokens Get a short-lived GitHub token for a repo · Request a GitHub access token #
Ask an LLM
“How do I get a short-lived GitHub token scoped to one repository?”
“Can I request a fleet GitHub App token for a specific repo?”
Tell an agent
Request a short-lived GitHub token for repository {repository}.
Get a fleet token scoped to {repository} of type {type}.
POST /v1/platform/fleet/providers/github-app/webhooks Handle fleet GitHub App webhook events · Handle GitHub App webhook events #
Ask an LLM
“How do I process fleet GitHub App webhooks?”
“Are fleet webhook events idempotent?”
Tell an agent
Handle fleet GitHub App webhook events.
Process fleet installation lifecycle and installation_repositories events.

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/langsmith:langsmith-fleet-github-app-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

langsmith-fleet-github-app-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith fleet github-app API
  description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.


    ## Host

    https://api.smith.langchain.com


    ## Authentication

    To authenticate with the LangSmith API, set the `X-Api-Key` header

    to a valid LangSmith API key.'
  version: 0.1.0
servers:
- url: /
tags:
- name: fleet github-app
paths:
  /v1/platform/fleet/providers/github-app/auth:
    post:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Generate a GitHub OAuth link for the current user to connect their GitHub account.
      tags:
      - fleet github-app
      summary: Get GitHub OAuth authorization link
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.UserAuthLinkResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      parameters: []
      operationId: postV1PlatformFleetProvidersGithubAppAuth
      x-operation-id-source: derived
  /v1/platform/fleet/providers/github-app/connection:
    get:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Return the current user's GitHub connection status and metadata.
      tags:
      - fleet github-app
      summary: Get GitHub user connection status
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.UserConnectionStatus'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      parameters: []
      operationId: getV1PlatformFleetProvidersGithubAppConnection
      x-operation-id-source: derived
    delete:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Remove the current user's GitHub connection and all linked installations.
      tags:
      - fleet github-app
      summary: Delete GitHub user connection
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      parameters: []
      operationId: deleteV1PlatformFleetProvidersGithubAppConnection
      x-operation-id-source: derived
    patch:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Update the actor preference for the current user's GitHub connection.
      tags:
      - fleet github-app
      summary: Update GitHub user connection
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.UserConnectionStatus'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/github_app.UpdateUserConnectionRequest'
      operationId: patchV1PlatformFleetProvidersGithubAppConnection
      x-operation-id-source: derived
  /v1/platform/fleet/providers/github-app/install:
    post:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Generate a link to install the GitHub App for the current organization.
      tags:
      - fleet github-app
      summary: Get GitHub App install link
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.InstallLinkResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      parameters: []
      operationId: postV1PlatformFleetProvidersGithubAppInstall
      x-operation-id-source: derived
  /v1/platform/fleet/providers/github-app/installations:
    get:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: 'Return GitHub App installations linked to the current user from

        our database. This is a cache — it does not hit the GitHub API.

        Use POST /installations/refresh to force a fresh sync from GitHub.'
      tags:
      - fleet github-app
      summary: List GitHub App installations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/github_app.Installation'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      parameters: []
      operationId: getV1PlatformFleetProvidersGithubAppInstallations
      x-operation-id-source: derived
  /v1/platform/fleet/providers/github-app/installations/refresh:
    post:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: 'Trigger a live sync with GitHub for the current user''s GitHub App

        installations. Upserts new installations, deletes stale ones, and

        returns the refreshed list. Requires an existing GitHub connection.'
      tags:
      - fleet github-app
      summary: Refresh GitHub App installations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/github_app.Installation'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '502':
          description: Bad Gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      parameters: []
      operationId: postV1PlatformFleetProvidersGithubAppInstallationsRefresh
      x-operation-id-source: derived
  /v1/platform/fleet/providers/github-app/installations/{id}:
    delete:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Remove a GitHub App installation link for the current user.
      tags:
      - fleet github-app
      summary: Delete a GitHub App installation
      parameters:
      - description: Installation ID
        name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      operationId: deleteV1PlatformFleetProvidersGithubAppInstallationsById
      x-operation-id-source: derived
  /v1/platform/fleet/providers/github-app/installations/{id}/repos:
    get:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Return repositories accessible to the specified GitHub App installation.
      tags:
      - fleet github-app
      summary: List repositories for a GitHub App installation
      parameters:
      - description: Installation ID
        name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/github_app.Repository'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '502':
          description: Bad Gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      operationId: getV1PlatformFleetProvidersGithubAppInstallationsByIdRepos
      x-operation-id-source: derived
  /v1/platform/fleet/providers/github-app/tokens:
    post:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Return a short-lived GitHub access token scoped to the given repository.
      tags:
      - fleet github-app
      summary: Request a GitHub access token
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.UserTokenResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/github_app.TokenRequest'
      operationId: postV1PlatformFleetProvidersGithubAppTokens
      x-operation-id-source: derived
  /v1/platform/fleet/providers/github-app/webhooks:
    post:
      description: Process GitHub App webhooks (installation lifecycle, installation_repositories). GitHub may deliver the same event more than once; handling re-applies the current repository-selection state and is safe to repeat.
      tags:
      - fleet github-app
      summary: Handle GitHub App webhook events
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_app.ErrorResponse'
      parameters: []
      operationId: postV1PlatformFleetProvidersGithubAppWebhooks
      x-operation-id-source: derived
components:
  schemas:
    github_app.UserAuthLinkResponse:
      type: object
      properties:
        auth_url:
          type: string
    github_app.Installation:
      type: object
      properties:
        account_login:
          type: string
        created_at:
          type: string
        id:
          type: string
        installation_id:
          type: string
        metadata:
          type: object
        organization_id:
          type: string
        provider:
          type: string
        updated_at:
          type: string
        user_id:
          type: string
    github_app.Repository:
      type: object
      properties:
        default_branch:
          type: string
        full_name:
          type: string
        html_url:
          type: string
        id:
          type: integer
        name:
          type: string
        private:
          type: boolean
    github_app.InstallLinkResponse:
      type: object
      properties:
        install_url:
          type: string
    github_app.UserConnectionStatus:
      type: object
      properties:
        actor_preference:
          type: string
        is_connected:
          type: boolean
        metadata:
          $ref: '#/components/schemas/github_app.UserConnectionMetadata'
        type:
          type: string
    github_app.UpdateUserConnectionRequest:
      type: object
      properties:
        actor_preference:
          type: string
    github_app.UserConnectionMetadata:
      type: object
      properties:
        github_username:
          type: string
    github_app.ErrorResponse:
      type: object
      properties:
        error:
          type: string
    github_app.UserTokenResponse:
      type: object
      properties:
        expires_at:
          type: string
        token:
          type: string
        token_type:
          type: string
    github_app.TokenRequest:
      type: object
      properties:
        repository:
          type: string
        type:
          type: string
  securitySchemes:
    API_Key:
      type: apiKey
      in: header
      name: X-API-Key
    Tenant_ID:
      type: apiKey
      in: header
      name: X-Tenant-Id
    Bearer_Auth:
      type: http
      description: Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).
      scheme: bearer
    Organization_ID:
      type: apiKey
      in: header
      name: X-Organization-Id