Skip to content

Public API usage metrics

GET
/api/v1/metrics

This endpoint returns lightweight public analytics about API traffic: the most recent requests, the largest responses by size, the current-hour request count, and per-month totals (requests and estimated egress) aggregated from hourly rollups.

Responses

OK

application/json
JSON
{
"generatedAtUtc": "string",
"currentHourRequestCount": 0,
"currentHourResponseBytes": 0,
"largestResponseBytes": 0,
"largestResponsePath": "string",
"recentRequests": [
{
"timestampUtc": "string",
"method": "string",
"path": "string",
"statusCode": 0,
"responseBytes": 0
}
],
"monthlyUsage": [
{
"year": 0,
"month": 0,
"requestCount": 0,
"totalResponseBytes": 0
}
]
}

Playground

Samples

Powered by VitePress OpenAPI

MIT License