LangWatch Evaluations V3 API

The Evaluations V3 API from LangWatch — 2 operation(s) for evaluations v3.

Operations 2

GET /api/experiments/runs/{runId} #
POST /api/experiments/{slug}/run #

Documentation

Specifications

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-evaluations-v3-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-evaluations-v3-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangWatch Agents Evaluations V3 API
  version: 1.0.0
  description: LangWatch openapi spec
servers:
- url: https://app.langwatch.ai
security:
- project_api_key: []
tags:
- name: Evaluations V3
paths:
  /api/experiments/runs/{runId}:
    get:
      description: Get the current status of an evaluation run for polling. Returns progress while running, and summary when completed.
      operationId: getEvaluationsV3RunStatus
      tags:
      - Evaluations V3
      parameters:
      - schema:
          type: string
        in: path
        name: runId
        required: true
        description: The run ID returned from POST /api/experiments/{slug}/run
      responses:
        '200':
          description: Run status
          content:
            application/json:
              schema:
                type: object
                properties:
                  runId:
                    type: string
                  status:
                    type: string
                    enum:
                    - pending
                    - running
                    - completed
                    - failed
                    - stopped
                  progress:
                    type: integer
                    description: Number of cells completed
                  total:
                    type: integer
                    description: Total number of cells
                  startedAt:
                    type: integer
                    description: Unix timestamp when run started
                  finishedAt:
                    type: integer
                    description: Unix timestamp when run finished (only present when completed/failed/stopped)
                  summary:
                    type: object
                    description: Execution summary (only present when completed)
                    properties:
                      runId:
                        type: string
                      totalCells:
                        type: integer
                      completedCells:
                        type: integer
                      failedCells:
                        type: integer
                      duration:
                        type: integer
                        description: Total execution time in milliseconds
                      runUrl:
                        type: string
                        description: URL to view the run in LangWatch
                  error:
                    type: string
                    description: Error message (only present when failed)
                required:
                - runId
                - status
                - progress
                - total
        '401':
          description: Unauthorized - Missing or invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Run not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
  /api/experiments/{slug}/run:
    post:
      description: 'Start execution of a saved Evaluations V3 experiment by slug. Returns immediately with a runId for polling, or streams SSE events if Accept: text/event-stream header is provided.'
      operationId: postEvaluationsV3Run
      tags:
      - Evaluations V3
      parameters:
      - schema:
          type: string
        in: path
        name: slug
        required: true
        description: The slug of the evaluation to run
      responses:
        '200':
          description: Run started successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  runId:
                    type: string
                    description: Unique identifier for this run
                  status:
                    type: string
                    enum:
                    - running
                    description: Initial status of the run
                  total:
                    type: integer
                    description: Total number of cells to execute
                  runUrl:
                    type: string
                    description: URL to view the run in LangWatch
                required:
                - runId
                - status
                - total
            text/event-stream:
              schema:
                type: string
                description: Server-sent events stream with execution progress
        '401':
          description: Unauthorized - Missing or invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Evaluation not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
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}.'