Search docs

Find any page, endpoint, or guide.

List API keys

Alpha
GEThttps://api.voxrouter.ai/v1/keys

List active API keys belonging to the caller's organization (TEAM-scoped — any org member sees all org keys), or the caller's personal keys if they have no org membership. Requires a `vr_session_*` token from `voxrouter login`. Key values are NOT returned — only metadata.

bash
curl https://api.voxrouter.ai/v1/keys \
  -H "Authorization: Bearer $VOXROUTER_API_KEY"

Headers

AuthorizationstringRequired
Bearer token. Send as Authorization: Bearer pk_....

Response

API keys for the caller.

json
{
  "keys": [
    {
      "id": "string",
      "name": "string",
      "keySuffix": "string",
      "maxConcurrency": 0,
      "createdAt": "string"
    }
  ]
}
keysobject[]Required

Errors

Non-2xx responses return a JSON body with a machine-readable error code and an optional details string.

StatusMeaning
401Missing or invalid API key.
403The caller belongs to more than one organization, so org scope cannot be inferred. The CLI must select an org explicitly with `voxrouter org use <slug>` before retrying.