List API keys
Alpha
GET
https://api.voxrouter.ai/v1/keysList 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
AuthorizationstringRequiredBearer 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[]RequiredErrors
Non-2xx responses return a JSON body with a machine-readable error code and an optional details string.
| Status | Meaning |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | The 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. |