Skip to navigation

Who the key is

View as Markdown

Return the current connection’s identity: organization id/name, API key name and prefix, granted scopes, and token expiry. Use this to confirm which account you are connected to. Available to any authenticated key.

Authentication

AuthorizationBearer

A Basement key (bsmt_...), from Agents, Connect in the app.

Response

The tool's answer.
orgIdstring
The organization's ID
orgNamestring or null
keyNamestring or null
keyPrefixstring or null
scopeslist of strings
expiresAtdouble or null

When the key expires (ms since epoch), if it does

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error