Usage statistics
We record every authenticated request by day, key and operation: the number of calls, how many were counted toward the allowance, successful answers, client errors (4xx), server errors (5xx), rate-limited requests, bytes returned, and latency bands. The console shows the last 30 days as a chart and tables. The same figures are available to your systems:
curl "https://api.qriton.com/v1/usage?from=2026-11-01&to=2026-12-01" -H "Authorization: Bearer $QRITON_API_KEY"
{
"from": "2026-11-01",
"to": "2026-12-01T00:00:00.000Z",
"totals": { "calls": 1834, "counted": 1820, "ok": 1790, "client_errors": 30,
"server_errors": 2, "rate_limited": 12, "error_rate": 0.0174,
"latency_ms": { "mean": 142, "p50": 100, "p95": 500 }, "bytes_out": 2918311 },
"daily": [ { "day": "2026-11-01", "calls": 61, "ok": 60, "client": 1, "server": 0, "limited": 0, "counted": 61 } ],
"by_key": [ { "key": "key_3f2a…", "name": "Production", "calls": 1500 } ],
"by_operation": [ { "operation": "POST /v1/verify/receipts", "calls": 1210 } ]
}
Latency is measured at our gateway, from the arrival of the request to the end of the answer, and reported as the upper bound of the band that contains the median (p50) and the 95th percentile (p95). Bands are 25, 50, 100, 250, 500, 1,000, 2,500, 5,000 and 10,000 ms. Figures are kept for at least 13 months.