How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LangWatch Traces API

The Traces API from LangWatch — 3 operation(s) for traces.

LangWatch Traces API is one of 62 APIs that LangWatch publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Traces. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 9 operations across 9 paths, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://app.langwatch.ai.

9 operations 9 paths 11 schemas 4 GET1 PATCH4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Server
https://app.langwatch.ai
Authentication
API Key, HTTP Bearer, HTTP Bearer, HTTP Bearer, HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 6

LangWatch Traces API declares 6 security schemes for authenticating requests. An API key is passed in the header as X-Auth-Token (project_api_key). It accepts HTTP bearer tokens (admin_api_key). It accepts HTTP bearer tokens (scim_bearer). It accepts HTTP bearer tokens (cli_access_token). It accepts HTTP bearer tokens (instance_admin_key). It accepts HTTP bearer tokens (internal_secret). By default, every request must be authenticated.

  • project_api_key — 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 AP…
  • admin_api_key — 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}{se…
  • scim_bearer — SCIM token for one organization's directory connection, created with POST /api/scim-tokens or in Settings SCIM. It authenticates provisioning calls only, and s…
  • cli_access_token — The device session the LangWatch CLI holds after langwatch login. It acts as the person who signed in, in the organization they chose, and expires unless the C…
  • instance_admin_key — Instance administrator key, set as LANGWATCHINSTANCEADMINAPIKEY on a self-hosted deployment. It exists to create the first organization, before any organizatio…
  • internal_secret — The deployment's own shared secret, presented by another LangWatch service rather than by a customer. The families behind it are ingress-blocked; they are desc…

Paths & Operations 9

Across 9 paths, the API surfaces 9 operations — 4 GET, 1 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Traces 9
GET
/api/trace/{id}
Get api trace id
getApiTraceId 3 params → 200
POST
/api/trace/{id}/share
Post api trace id share
postApiTraceIdShare 1 param → 200
POST
/api/trace/{id}/unshare
Post api trace id unshare
postApiTraceIdUnshare 1 param → 200
POST
/api/trace/search
Search traces
postApiTraceSearch body → 200
POST
/api/v1/traces/search
Post api traces search
postApiTracesSearch body → 200400401422500
GET
/api/v1/traces/facets
Discover what the trace filter fields hold
getApiTracesFacets 6 params → 200400401403422500
GET
/api/v1/traces/{traceId}/transcript
Get api traces by trace id transcript
getApiTracesByTraceIdTranscript 1 param → 200400401404409422500
PATCH
/api/v1/traces/{traceId}/metadata
Patch api traces by trace id metadata
patchApiTracesByTraceIdMetadata 1 param body → 200
GET
/api/v1/traces/{traceId}
Get api traces by trace id
getApiTracesByTraceId 3 params → 200400401404409422500

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are SearchRequest (16 properties), Evaluation (16 properties), Trace (16 properties), Metrics (12 properties). Each schema is shown below with its type and property counts.

SpanInputOutput
Metadata
Trace
object
16 properties 5 required
Metrics
object
12 properties
Timestamps
object
3 properties 3 required
Output
object
1 property 1 required
SearchResponse
object
2 properties 2 required
Input
object
1 property 1 required
SearchRequest
object
16 properties 2 required
EvaluationTimestamps
object
5 properties
Evaluation
object
16 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

langwatch-traces-api-openapi.yml Raw ↑

Other APIs LangWatch publishes across the network.

LangWatch Agents API
LangWatch Analytics API
LangWatch Annotations API
LangWatch Api Keys API
LangWatch Dashboards API
LangWatch Dataset API
LangWatch Evaluators API
LangWatch Graphs API
LangWatch Model Defaults API
LangWatch Model Providers API
LangWatch Monitors API
LangWatch Projects API
Where this information came from

This is an independent, third-party profile of LangWatch Traces API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.