OTLP Ingest
OTLP metrics ingest
OTLP/HTTP ExportMetricsServiceRequest ingest for Claude Code telemetry. Content types: application/x-protobuf (default when the header is empty), application/protobuf, or application/json; anything else returns 415. Success returns 200 with an OTLP ExportMetricsServiceResponse in the request's content type.
Enterprise only — community builds return 501 with {"error": {"code", "message"}}. Org/tenant comes from the authenticated license (Basic auth), never from OTLP resource attributes.
post/v1/metrics
Request
- Base URLhttps://agent.getaxonflow.com
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
Example:Basic bXktb3JnOkFYT04tVjIteHh4
OAuth2-style Basic authentication header. Format: Basic base64(clientId:clientSecret)
- clientId: Your organization identifier (required)
- clientSecret: Authentication credential (optional for community mode)
Not required when DEPLOYMENT_MODE=community.
Request body
object required
Response
OTLP export response (matching request content type)
Changes
No recorded changes to this operation across all 1 revision of this API.