Quick Start
Fetch the 10 most recent traces:Base URLs
Authentication
API Versioning
The API uses date-based versioning in the URL path:
All endpoints use the
/v1/ prefix. Breaking changes introduce new versions while maintaining backwards compatibility.
Endpoints
Endpoint Summary
Pagination
All list endpoints support cursor-based pagination:Response Headers
Every response includes correlation headers for debugging:Error Handling
Errors follow the RFC 7807 Problem Details format:Status Codes
Real-time Streaming
Subscribe to telemetry events in real-time using Server-Sent Events (SSE):type discriminator:
traces, spans, logs, metrics, exceptions, deployments, all
Schema Architecture
The API schema follows a single source of truth pattern: TypeSpec definitions generate everything.Generated Artifacts
Code Generation
TheSchemaGenerator transforms OpenAPI into production-quality C#:
- Strongly-typed scalars with
IParsable<T>,ISpanFormattable - Hex parsing for TraceId/SpanId (hot-path optimized with
ReadOnlySpan<byte>) - JSON converters for all primitive types
- DuckDB DDL with proper indexes
- Generation guard for CI/local workflows (detects stale files)
Never edit
*.g.cs files directly. Modify the TypeSpec definitions in
core/specs/ and regenerate.