Account

API key info

Confirms your key, tier, and current rate-limit window. The first endpoint to hit when wiring a new client.

get/api/v1/me

Request

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

Response

Key info.

tier'free' | 'indie' | 'pro' | 'enterprise' required

Example response

{
  "key": {
    "id": "01J3KXY1ZAB7CQNR8TP4Z9EXMQ",
    "name": "Default key",
    "prefix": "qb_pk_••••1234",
    "scope": "pk"
  },
  "tier": "free",
  "rateLimit": {
    "limit": 10,
    "remaining": 8,
    "resetInSeconds": 7,
    "burstPer10s": 10,
    "perDay": 500
  },
  "meta": {
    "requestId": "127fc6d1-d6fb-4771-b2a7-211a08749e5b"
  }
}

Changes

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