/api/keysList the organization's API keys
The organization is resolved from the credential, so the path carries no org id. Secrets are never returned: only the display prefix and the last four characters captured at mint.
Authentication: Bearer API key in the Authorization header
Query parameters
include_revokedbooleanInclude revoked keys. Off by default, matching the settings list.
Responses
200The organization's keys, newest first.
Response
idstringrequirednamestringrequiredkey_prefixstringrequiredDisplay prefix captured at mint.
key_suffixstring | nullrequiredLast four characters of the secret; null on keys minted before this was recorded.
created_atstringrequiredlast_used_atstring | nullrequiredrevoked_atstring | nullrequiredexpires_atstring | nullrequired
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
409The credential acts across several organizations; use an organization API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl https://api.experientiallabs.ai/api/keys?include_revoked=false \
-H "Authorization: Bearer YOUR_API_KEY"Response
[
{
"id": "6d1f8a2b-4c3e-4f5a-9b7c-2e8d0a1f3b4c",
"name": "production backend",
"key_prefix": "xpl_live_8f2c",
"key_suffix": "a91d",
"created_at": "2026-10-02T14:11:08.512Z",
"last_used_at": "2026-11-19T09:42:31.004Z",
"revoked_at": null,
"expires_at": null
}
]https://api.experientiallabs.ai/api/keys?include_revoked=false