Telemetry
Forward telemetry traces to the backend collector
Accepts an OpenTelemetry-compatible trace payload from a client (browser SDK, mobile, or another service) and forwards it to the backend collector for ingestion. Fire-and-forget: the API returns 202 once the payload is queued; downstream processing failures are not surfaced to the caller.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
OpenTelemetry trace payload (any shape). The body is forwarded verbatim to the configured collector (Axiom) - Tether does not parse it, so any OTLP-JSON or vendor-extended structure works.
Response Body
application/json
curl -X POST "https://example.com/api/traces" \ -H "Content-Type: application/json" \ -d '{ "resourceSpans": [ { "resource": { "attributes": [ { "key": "service.name", "value": { "stringValue": "tether-web" } }, { "key": "service.version", "value": { "stringValue": "2026.05.20" } } ] }, "scopeSpans": [ { "spans": [ { "traceId": "4bf92f3577b34da6a3ce929d0e0e4736", "spanId": "00f067aa0ba902b7", "name": "POST /api/messages", "kind": 3, "startTimeUnixNano": "1763624641135000000", "endTimeUnixNano": "1763624641311000000", "attributes": [ { "key": "http.status_code", "value": { "intValue": 200 } } ] } ] } ] } ] }'{ "status": "accepted"}