Authentication
All endpoints require authentication via theX-API-Key header, except /health.
Access Levels
| Level | Symbol | Description |
|---|---|---|
| No Auth | - | Public endpoints (/health, /mcp) |
| User | ✓ | Standard API operations |
| Admin | 🔐 | Full access including user management |
User Role
Users can access device data filtered by their allowed hardware IDs:Admin Role
Admins have full access to all endpoints:WebSocket Authentication
Pass the API key as a query parameter:X-API-Key header if your WebSocket client supports custom headers.
API Key Management
API keys are managed by admins via the Users API.API keys are only shown once when created. Store them securely.