List API keys

Return all API keys for the authenticated user's organization.

Responses
  • application/json
Request Example for get/client/api-keys
curl https://api.lira.com/api/v1/client/api-keys \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
  {
    "id": "e1f2a3b4-c5d6-7890-efab-123456789012",
    "name": "My sandbox key",
    "keyPrefix": "lira_sk_test_4eC39H",
    "environment": "sandbox",
    "lastUsedAt": "2026-04-22T10:15:30.000Z",
    "expiresAt": "2027-04-22T10:15:30.000Z",
    "isActive": true,
    "createdAt": "2026-04-01T08:00:00.000Z"
  }
]