Sageox AgentX API
Multi-tenant telemetry platform for CLI tools and AI agents. Register applications, ingest events via API key authentication, and query analytics through the dashboard API. **Two authentication models:** - **Capture endpoint** (`POST /agentx/capture`): API key (`axk_...`) in `Authorization: Bearer` header. Designed for embedding in open-source CLIs. - **Dashboard + CRUD**: JWT authentication with team membership verification per app. **Key concepts:** - **Events** are the core data unit — named, timestamped, with arbitrary JSONB properties - **`distinct_id`** identifies a device/machine (SDK-generated UUID, not PII) - **`$user_id`** (optional, in properties) correlates events to a logical user - **Friction events** follow a convention: `friction.*` event names with `kind`, `actor`, `command` properties