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:
string
required
UUID of the API key to fetch statistics for. Get this from
GET /api/v1/console/keys.string
default:"daily"
Aggregation period. One of
hourly, daily, or monthly.integer
default:"30"
Number of periods to return. Minimum 1, maximum 90.
string (date-time)
Start of the aggregation period in ISO 8601 format.
integer
Total API requests made during the period.
integer
Requests that returned a 2xx status code.
integer
Requests that returned a 4xx or 5xx status code.
number
Average server-side response time in milliseconds.
number
95th percentile response time in milliseconds. Useful for detecting slow outliers.
integer
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:
string
required
UUID of the API key to fetch logs for.
integer
default:"50"
Maximum number of log entries to return (1–200).
integer
default:"0"
Number of entries to skip for pagination.
string
The API endpoint path that was called.
string
HTTP method used (GET, POST, DELETE, etc.).
integer
HTTP status code returned by the server.
integer
Server-side response time in milliseconds.
string (date-time)
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.