LangWatch · Capability

LangWatch Analytics API

Time-series analytics over traces, tokens, cost, latency, and evaluator scores. Self-contained Naftiko capability covering one LangWatch business surface.

LangWatch Analytics API is a Naftiko capability published by LangWatch, one of 20 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/api/analytics/timeseries.

The capability includes 1 state-changing operation. Lead operation: Query time-series analytics. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include LangWatch, Analytics, and Time Series.

Run with Naftiko LangWatchAnalyticsTime Series

What You Can Do

POST
Querytimeseries — Query time-series analytics.
/v1/api/analytics/timeseries

MCP Tools

langwatch-queryTimeseries

Query time-series analytics.

Capability Spec

analytics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangWatch Analytics API
  description: 'Time-series analytics over traces, tokens, cost, latency, and evaluator scores. Self-contained Naftiko capability covering one LangWatch business surface.'
  tags:
  - LangWatch
  - Analytics
  - Time Series
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    LANGWATCH_API_KEY: LANGWATCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: analytics
    baseUri: https://app.langwatch.ai
    description: Time-series analytics over traces, tokens, cost, latency, and evaluator scores.
    resources:
    - name: api-analytics-timeseries
      path: /api/analytics/timeseries
      operations:
      - name: queryTimeseries
        method: POST
        description: Query time-series analytics.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      value: '{{env.LANGWATCH_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: analytics-rest
    port: 8080
    description: REST adapter for LangWatch Analytics API.
    resources:
    - path: /v1/api/analytics/timeseries
      name: querytimeseries-resource
      description: REST surface for queryTimeseries.
      operations:
      - method: POST
        name: queryTimeseries
        description: Query time-series analytics.
        call: analytics.queryTimeseries
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: analytics-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangWatch Analytics API. One tool per consumed operation.
    tools:
    - name: langwatch-queryTimeseries
      description: Query time-series analytics.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: analytics.queryTimeseries
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.