LangSmith Skills API

The skills API from LangSmith — 2 operation(s) for skills.

GitHub OpenAPI

Operations 5

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

GET /v1/fleet/skills List fleet skills · List skills #
Ask an LLM
“Which skills are available in my workspace?”
“Can I page through my fleet skills?”
Tell an agent
List my fleet skills.
Show {page_size} skills per page.
POST /v1/fleet/skills Create a fleet skill · Create a skill #
Ask an LLM
“How do I create a new skill from a file tree?”
“Is creating a skill atomic if the file commit fails?”
Tell an agent
Create a skill named {name} with files {files}.
Add a new fleet skill {name} from {files}.
GET /v1/fleet/skills/{skillID} Get a fleet skill · Get a skill #
Ask an LLM
“What files does a particular skill contain?”
“Can I fetch a skill by its ID?”
Tell an agent
Get skill {skillID}.
Show the full file tree of skill {skillID}.
PUT /v1/fleet/skills/{skillID} Replace a fleet skill's files · Replace a skill #
Ask an LLM
“How do I overwrite all files in an existing skill?”
“Are files missing from the new file tree deleted?”
Tell an agent
Replace the files of skill {skillID} with {files}.
Overwrite skill {skillID} entirely with {files}.
DELETE /v1/fleet/skills/{skillID} Delete a fleet skill · Delete a skill #
Ask an LLM
“How do I delete a skill and all its files?”
“Is deleting a skill that's already gone idempotent?”
Tell an agent destructive · confirm first
Delete skill {skillID}.
Remove the {skillID} skill and all of its files.

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-skills-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-skills-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith Skills 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: Skills
paths:
  /v1/fleet/skills:
    get:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Returns the skills in the caller's workspace, paginated.
      tags:
      - Skills
      summary: List skills
      parameters:
      - description: Items per page (default 20, max 100)
        name: page_size
        in: query
        schema:
          type: integer
          title: Page Size
      - description: Opaque pagination cursor
        name: cursor
        in: query
        schema:
          type: string
          title: Cursor
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ListSkillsResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
      operationId: getV1FleetSkills
      x-operation-id-source: derived
    post:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: 'Creates a workspace skill with the supplied file tree. Atomic:

        if the file commit fails, no repo is created.'
      tags:
      - Skills
      summary: Create a skill
      parameters: []
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.Skill'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/skills.CreateSkillRequest'
      operationId: postV1FleetSkills
      x-operation-id-source: derived
  /v1/fleet/skills/{skillID}:
    get:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Returns the specified skill, including its full file tree.
      tags:
      - Skills
      summary: Get a skill
      parameters:
      - description: Skill ID
        name: skillID
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.Skill'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
      operationId: getV1FleetSkillsBySkillID
      x-operation-id-source: derived
    put:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: 'Replaces the skill''s file tree in full. Any file present in the

        current skill but absent from the request body is deleted. The

        call is atomic; on validation failure no changes are applied.'
      tags:
      - Skills
      summary: Replace a skill
      parameters:
      - description: Skill ID
        name: skillID
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.Skill'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/skills.ReplaceSkillRequest'
      operationId: putV1FleetSkillsBySkillID
      x-operation-id-source: derived
    delete:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: 'Deletes the skill and all of its files. Idempotent: deleting an

        already-deleted skill returns 204.'
      tags:
      - Skills
      summary: Delete a skill
      parameters:
      - description: Skill ID
        name: skillID
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/skills.ErrorResponse'
      operationId: deleteV1FleetSkillsBySkillID
      x-operation-id-source: derived
components:
  schemas:
    skills.ListSkillsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/skills.Skill'
        next_cursor:
          type: string
    skills.Skill:
      type: object
      properties:
        commit_hash:
          type: string
        commit_id:
          type: string
        created_at:
          type: string
        files:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/skills.FileEntry'
        id:
          type: string
        name:
          type: string
        owners:
          type: array
          items:
            $ref: '#/components/schemas/skills.SkillOwner'
        updated_at:
          type: string
        visibility:
          type: string
    skills.ErrorResponse:
      type: object
      properties:
        code:
          type: string
        detail:
          type: string
        status:
          type: integer
        type:
          type: string
    skills.CreateSkillRequest:
      type: object
      properties:
        files:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/skills.FileEntry'
        name:
          type: string
    skills.SkillOwner:
      type: object
      properties:
        created_at:
          type: string
        email:
          type: string
        full_name:
          type: string
        identity_id:
          type: string
        ls_user_id:
          type: string
    skills.FileEntry:
      type: object
      properties:
        content:
          type: string
        type:
          type: string
    skills.ReplaceSkillRequest:
      type: object
      properties:
        files:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/skills.FileEntry'
        name:
          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