Who am I
whoamiWho this connection is signed in as: the user, the account, the plan and how much of it is used. Call this first in a session — it answers "which account am I on?" without combining get_current_user, get_account and get_account_usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Three parts. `user` — id, email, fullname, role, and the client ids they are scoped to (empty means all). `account` — id, company name, timezone and the plan. `usage` — counts of clients, reports and users against the plan limits. A part is null when that lookup failed; the rest still come back. | |
| success | Yes | True when the call succeeded. |