Varmirdocs
Docs/API reference/GET /api/v1/keys

GET/api/v1/keys

List every API key on the account — active and revoked. Raw key values are never returned, only their prefix.

Request

HTTP
GET https://api.varmir.com/api/v1/keys
Authorization: Bearer <MANAGEMENT_KEY>

Response

{
  "keys": [
    {
      "id": "key_8f3a2c",
      "name": "Production",
      "prefix": "mstk_lfQZYRA",
      "last_used_at": "2026-06-12T13:45:21Z",
      "revoked_at": null
    }
  ]
}
GET /api/v1/keys — Varmir docs