GET/api/keys

List 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_revokedboolean

    Include revoked keys. Off by default, matching the settings list.

    Default: false

Responses

  • 200

    The organization's keys, newest first.

    Response
    • idstringrequired
    • namestringrequired
    • key_prefixstringrequired

      Display prefix captured at mint.

    • key_suffixstring | nullrequired

      Last four characters of the secret; null on keys minted before this was recorded.

    • created_atstringrequired
    • last_used_atstring | nullrequired
    • revoked_atstring | nullrequired
    • expires_atstring | nullrequired
  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 409

    The credential acts across several organizations; use an organization API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-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