Auth Whoami V1
Echo the calling key’s effective auth context. Useful for SDK debugging — ‘what scopes do I have, what tenant am I bound to?’ Doesn’t hit the database…
GET
Echo the calling key’s effective auth context.
Useful for SDK debugging — ‘what scopes do I have, what tenant am I
bound to?’ Doesn’t hit the database; returns whatever
get_api_key_tenant resolved at request time. Reaching this endpoint
successfully proves the key is active, unexpired, and within rate
limit (the auth dependency would have rejected otherwise).
Response
WhoamiResponse
string
required
string
required
string
required
string[]
required
boolean
required
Convenience flag: true iff
admin is in the key’s scope set. Admin keys can manage other keys, webhooks, and templates.