LangWatch Agents API

The Agents API from LangWatch — 2 operation(s) for agents.

Operations 5

GET /api/agents #
POST /api/agents #
GET /api/agents/{id} #
PATCH /api/agents/{id} #
DELETE /api/agents/{id} #

Documentation

Specifications

Other Resources

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/langwatch-agents-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

langwatch-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangWatch Agents API
  version: 1.0.0
  description: LangWatch openapi spec
servers:
- url: https://app.langwatch.ai
security:
- project_api_key: []
tags:
- name: Agents
paths:
  /api/agents:
    get:
      responses: {}
      operationId: getApiAgents
      parameters:
      - in: query
        name: page
        schema:
          type: integer
          exclusiveMinimum: 0
          default: 1
      - in: query
        name: limit
        schema:
          type: integer
          exclusiveMinimum: 0
          maximum: 1000
          default: 50
      description: List all non-archived agents for the project (paginated)
      tags:
      - Agents
    post:
      responses: {}
      operationId: postApiAgents
      parameters: []
      description: Create a new agent
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                type:
                  type: string
                  enum:
                  - signature
                  - code
                  - workflow
                  - http
                config:
                  type: object
                  additionalProperties: {}
                workflowId:
                  type: string
              required:
              - name
              - type
              - config
      tags:
      - Agents
  /api/agents/{id}:
    get:
      responses: {}
      operationId: getApiAgentsById
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      description: Get an agent by its id
      tags:
      - Agents
    patch:
      responses: {}
      operationId: patchApiAgentsById
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      description: Update an agent by its id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                type:
                  type: string
                  enum:
                  - signature
                  - code
                  - workflow
                  - http
                config:
                  type: object
                  additionalProperties: {}
                workflowId:
                  type:
                  - string
                  - 'null'
      tags:
      - Agents
    delete:
      responses: {}
      operationId: deleteApiAgentsById
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      description: Archive an agent (soft-delete)
      tags:
      - Agents
components:
  securitySchemes:
    project_api_key:
      type: apiKey
      in: header
      name: X-Auth-Token
      description: 'Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.'
    admin_api_key:
      type: http
      scheme: bearer
      description: 'Admin API key for organization-level operations (managing projects, API keys). Create one in Settings > API Keys or via POST /api/api-keys. Format: sk-lw-{id}_{secret}.'