Skip to main content
mesa.whoami() calls the API once, caches the result, and also populates the client’s default organization. Required scope: read

Options

This method does not take options.

Response

OrgIdentity
Organization associated with the authenticated access token.
list[str]
Effective scopes granted to the access token.

OrgIdentity

str
Organization ID.
str
Organization slug.
str
Organization display name.

Errors

Raises AuthenticationError for an invalid access token and other ApiError subclasses for non-2xx responses.