Telemetry

Report browser errors from the Tether client

POST
/api/client-errors

Accepts a batch of client-side errors (uncaught exceptions, unhandled rejections, React boundary crashes, service-worker failures) and forwards them to Axiom. Unauthenticated so errors on the sign-in page are still captured; when a Bearer token is sent, user and organization are taken from the verified token, never from the body.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/client-errors" \  -H "Content-Type: application/json" \  -d '{    "events": [      {        "kind": "uncaught",        "name": "TypeError",        "message": "Cannot read properties of undefined (reading \'id\')",        "route": "/conversations",        "sessionId": "6f1c2f4e-0b0a-4a8e-9a36-1c1f2d3e4f50",        "occurredAt": "2026-09-29T10:00:00.000Z"      }    ]  }'
{  "status": "accepted"}