Authenticate API Key
Checks the API key in the Authorization header and returns its metadata: ID, name, account, stored permissions, creation time, and active status. Useful during setup or troubleshooting; it is not required before other requests.
Responses
OK
successboolean · requiredidstring · requiredAPI key ID (the
<keyId>part of anhc_<keyId>.<secret>key).namestring · requiredName given to the key when it was created.
accountIdstring · requiredAccount the key belongs to.
permissionsstring[] · requiredPermissions stored on the key: the scopes
readandwrite, or older names (prospects:read, ...) on keys created before scopes. Older keys may still list akeysscope, which no longer does anything.createdAtinteger · int64 · requiredUnix timestamp in milliseconds
activeboolean · required
accountNamestring | nullAccount name when available.
userIdstring | nullThe user a key is scoped to (keys created by connecting an AI tool through MCP). Every request with the key acts as this user.
nullfor an account-wide key.scopesstring[]What the key may do:
read(GET) andwrite(other methods; includes read). Keys created before scopes are shown with what they keep:readandwrite.Enum values:readwrite

