v50

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-112650216.3 KB
Accounts

List API keys

Lists all active API keys and the 20 most recently revoked API keys for the authenticated account without returning secret token material.

get/v1/account/api-keys

Response

API keys loaded. Includes all active keys and the 20 most recently revoked keys.

nextActionsstring[] required

Example response

{
  "apiKeys": [
    {
      "id": "api_key_a1b2c3d4e5f6",
      "name": "Production scraper",
      "tokenPrefix": "tovuk_key_8Qm2",
      "createdAt": "2026-06-23T12:00:00Z",
      "lastUsedAt": null,
      "revokedAt": null,
      "currentDayRequestCount": 42,
      "currentMonthRequestCount": 5160
    }
  ],
  "nextActions": [
    "Create one API key for each app or script that runs scraper requests or opens support tickets.",
    "This list shows all active API keys and the 20 most recently revoked keys.",
    "Revoke keys you no longer use.",
    "Set `TOVUK_TOKEN` before running scraper requests or support commands from the CLI."
  ]
}