List API Keys
Return API keys for the authenticated tenant.
GET/v1/customer/api-keys
Request Example
bash
curl "https://api.therouter.ai/v1/customer/api-keys"
-H "Authorization: Bearer $THEROUTER_API_KEY"Response
json
{
"api_keys": [
{
"id": "4d953cc1-b4d5-45fd-9d51-0f0a6e2ec7d8",
"name": "backend-prod",
"key_preview": "a8c9X2zQ",
"expires_at": null,
"is_active": true,
"revoked_at": null,
"last_used_at": "2026-02-24T11:08:00.000Z",
"status": "active",
"usage": {
"request_count": 241,
"total_spend": 12.441
},
"created_at": "2026-02-20T08:30:00.000Z"
}
],
"total": 1
}Notes
List responses never include full API keys. Full key values are only returned at creation time.