Skip to main content
GET
Get the authenticated account

Authorizations

Authorization
string
header
required

varg API key (varg_...). Get one at app.varg.ai or run bunx vargai login. App sessions may alternatively send a Supabase JWT.

Response

Account identity

userId
string<uuid>
email
string | null
teams
object[]

Teams the user belongs to. Empty for an API key with no user behind it.

connection
object | null

The OAuth connection's team binding; null unless the caller is an OAuth-delegated token (MCP, connectors).