Every request to /api/external is logged with method, path, status code, duration, and API key. Use the dashboard API Keys module for per-tenant analytics.
Tracked metrics
- Request volume
- Success vs error rate
- Average latency
- Rate limit headroom
Dashboard endpoints
Requires JWT authentication (organization admin).
| Method | Path | Description |
|---|---|---|
| GET | /api/api-keys/analytics/overview | Aggregate usage across all keys |
| GET | /api/api-keys/analytics/requests | Paginated request log |
| GET | /api/api-keys/:id/analytics | Per-key stats and volume |
What gets logged
Each external API request records: HTTP method, path, status code, duration (ms), API key ID, tenant ID, client IP, and timestamp. Logs power monthly usage limits and the API Keys analytics dashboard.