List the account's API keys
GET
/account/api-keys
bearer_auth
Lists every API key of the calling account (newest first) with id/name/status/created_at and last_used_at when known (revoked_at on revoked keys). Each element's `id` (the API key id) is the key's unique, stable identifier and the handle for the per-key routes. **Never** returns key values. Requires `status: ready`.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization |
header | string | yes | `Bearer <token>` obtained from `POST /login`. |
Responses
| Status | Description |
|---|---|
200 |
The account's API keys (no values). |
401 |
Missing or invalid credentials. |
404 |
Account not found. |
409 |
Account is not ready yet (`account not ready`). |
502 |
Internal error. |
200 example
{
"api_keys": [
{
"id": "ak_2",
"name": "key-2",
"status": "active",
"created_at": "2026-09-16T12:00:00Z",
"last_used_at": "2026-09-16T13:00:00Z"
},
{
"id": "ak_1",
"name": "key-1",
"status": "active",
"created_at": "2026-09-01T09:00:00Z"
},
{
"id": "ak_0",
"name": "key-0",
"status": "revoked",
"created_at": "2026-08-01T09:00:00Z",
"revoked_at": "2026-08-15T10:00:00Z"
}
]
}
409 example
{
"error": "account not ready"
}