Langtrace AI
Langtrace is an open-source, OpenTelemetry-based end-to-end observability platform for LLM applications, built by Scale3 Labs. It captures real-time traces, metrics, and evaluations for popular LLMs, agent frameworks, and vector databases. Traces are ingested via an OTLP/HTTP endpoint and a REST API exposes projects, prompt registry, and trace retrieval. Available as a free self-hosted deployment or as Langtrace Cloud.
APIs
Langtrace Trace Ingestion (OTEL)
OpenTelemetry-compatible trace ingestion endpoint (POST /api/trace). Accepts JSON-encoded OTLP/HTTP spans authenticated with a project-level x-api-key header, for both Langtrace...
Langtrace Projects and API Keys
REST endpoints to create projects (POST /api/project) under a team and to mint project-level API keys (POST /api/api-key), authenticated with an x-api-key header.
Langtrace Prompt Registry
Fetch versioned prompts from the prompt registry (GET /api/promptset) with optional version selection and dynamic variable substitution, returning the live prompt when no versio...
Langtrace Trace Retrieval and Metrics
Paginated retrieval of stored traces for a project (POST /api/traces), returning span results plus pagination metadata. Underlying spans carry the token, cost, latency, and eval...