Authorization: Bearer <access_token>).
Get aggregated usage statistics
GET /api/v1/console/stats returns call volume and latency metrics aggregated by time period for a specific API key.
Query parameters:
UUID of the API key to fetch statistics for. Get this from
GET /api/v1/console/keys.Aggregation period. One of
hourly, daily, or monthly.Number of periods to return. Minimum 1, maximum 90.
Start of the aggregation period in ISO 8601 format.
Total API requests made during the period.
Requests that returned a 2xx status code.
Requests that returned a 4xx or 5xx status code.
Average server-side response time in milliseconds.
95th percentile response time in milliseconds. Useful for detecting slow outliers.
Number of distinct API endpoints called during the period.
Get raw request logs
GET /api/v1/console/logs returns a paginated list of individual API requests for a specific key. Use this to debug errors or audit specific calls.
Query parameters:
UUID of the API key to fetch logs for.
Maximum number of log entries to return (1–200).
Number of entries to skip for pagination.
The API endpoint path that was called.
HTTP method used (GET, POST, DELETE, etc.).
HTTP status code returned by the server.
Server-side response time in milliseconds.
Timestamp of the request in ISO 8601 format.
Tips
Use
granularity=hourly when debugging a sudden error spike, and granularity=monthly for quota planning. Switch to raw logs (/console/logs) to identify the exact requests causing 4xx errors.