curl -s "https://api.impulselabs.ai/api/api-keys" \
-H "Authorization: Bearer <your-dashboard-session-token>"
import requests
resp = requests.get(
"https://api.impulselabs.ai/api/api-keys",
headers={"Authorization": "Bearer <dashboard-token>"},
)
print(resp.json())
[
{
"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
}
]
API Keys
List API Keys
List all API keys for the authenticated user. Raw key values are never returned — only metadata.
GET
/
api
/
api-keys
curl -s "https://api.impulselabs.ai/api/api-keys" \
-H "Authorization: Bearer <your-dashboard-session-token>"
import requests
resp = requests.get(
"https://api.impulselabs.ai/api/api-keys",
headers={"Authorization": "Bearer <dashboard-token>"},
)
print(resp.json())
[
{
"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 bycreated_at descending.
string
Unique key identifier. Use this when revoking.
string
The label assigned when the key was created.
string
First 8 characters of the key. Useful for identifying a key in logs.
string
ISO 8601 creation timestamp.
string | null
ISO 8601 timestamp of the most recent validated request, or
null if the key has never been used.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>"
import requests
resp = requests.get(
"https://api.impulselabs.ai/api/api-keys",
headers={"Authorization": "Bearer <dashboard-token>"},
)
print(resp.json())
[
{
"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
}
]