Skip to main content
GET
https://api.impulselabs.ai
/
api
/
api-keys
curl -s "https://api.impulselabs.ai/api/api-keys" \
  -H "Authorization: Bearer <your-dashboard-session-token>"
[
  {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "production",
    "key_prefix": "imp_a1b2",
    "created_at": "2026-02-19T12:00:00.000Z",
    "last_used_at": "2026-02-19T14:32:11.000Z",
    "request_count": 47
  },
  {
    "id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
    "name": "ci-pipeline",
    "key_prefix": "imp_c3d4",
    "created_at": "2026-01-10T09:15:00.000Z",
    "last_used_at": null,
    "request_count": 0
  }
]
This endpoint uses your dashboard session (Auth0 JWT), not an API key.

Response

Returns an array of key objects ordered by created_at descending.
id
string
Unique key identifier. Use this when revoking.
name
string
The label assigned when the key was created.
key_prefix
string
First 8 characters of the key. Useful for identifying a key in logs.
created_at
string
ISO 8601 creation timestamp.
last_used_at
string | null
ISO 8601 timestamp of the most recent validated request, or null if the key has never been used.
request_count
number
Total number of validated requests made with this key.
curl -s "https://api.impulselabs.ai/api/api-keys" \
  -H "Authorization: Bearer <your-dashboard-session-token>"
[
  {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "production",
    "key_prefix": "imp_a1b2",
    "created_at": "2026-02-19T12:00:00.000Z",
    "last_used_at": "2026-02-19T14:32:11.000Z",
    "request_count": 47
  },
  {
    "id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
    "name": "ci-pipeline",
    "key_prefix": "imp_c3d4",
    "created_at": "2026-01-10T09:15:00.000Z",
    "last_used_at": null,
    "request_count": 0
  }
]