Account

30-day usage series

Daily request counts + summary across all your keys.

get/api/v1/usage

Request

  • Base URL: https://quizbase.runriva.com
  • URL: https://quizbase.runriva.com/api/v1/usage
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

daysinteger

Trailing days, 1-90.

Example:30

Response

Usage payload.

Example response

{
  "summary": {
    "today": {
      "count": 142,
      "prev": 87,
      "delta": 63,
      "limit": 500,
      "windowStart": "2026-05-04",
      "windowEnd": "2026-05-04"
    },
    "week": {
      "count": 142,
      "prev": 87,
      "delta": 63,
      "limit": 500,
      "windowStart": "2026-05-04",
      "windowEnd": "2026-05-04"
    },
    "month": {
      "count": 142,
      "prev": 87,
      "delta": 63,
      "limit": 500,
      "windowStart": "2026-05-04",
      "windowEnd": "2026-05-04"
    }
  },
  "series": [
    {
      "day": "2026-04-28",
      "requests": 87,
      "clientErrors": 2
    }
  ],
  "meta": {
    "from": "2026-04-28",
    "to": "2026-05-04",
    "days": 7,
    "requestId": "127fc6d1-d6fb-4771-b2a7-211a08749e5b"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.