list_users gives (name, email, role,
currencies, status), plus your own language and timezone, which say how
to answer you and appear here and nowhere else. For your full profile
(managers, groups, plan attributions, custom attributes), call
get_user with your own id.
The company is deliberately minimal: id, name and the fiscal calendar. Read the
fiscal calendar before interpreting any period label. Every YYYY,
YYYY-SX and YYYY-QX label another tool returns is numbered on it, and
the company’s own fiscal year need not start in January. A response of
FY2027, 2026-02 → 2027-01 says the current fiscal year is FY2027 and
spans February 2026 through January 2027.
For the rest of the configuration (statement periods, currencies, the AI agents
your company runs, which optional modules are switched on), call
get_company_settings. For
the connected integrations, call
list_integrations.
access carries one key per resource you can reach: statement,
request, quota, data_table, report, dashboard. A missing key
means you have no access, or the company has the feature off: do not query that
resource. Each key has a scope, a plain-language description and, for
statements and requests, the saved views you may pass as view_id to the
matching list tool. The scopes are:
all: everything.users_below: you and everyone below you, for statements only.me: your own statements, or the requests you are a member of.shared: no default access, only what is shared with you.
access lists who can read it through a share, when you may
share that resource; the roles that reach every view through their access to
the whole category are listed once on the resource, as category_roles. A
caller who reaches a report only through a shared dashboard carries no
report key.
access says what you see. permissions says what your role lets you
do: whether you may lock a statement, overwrite a compensation or edit a
plan. Read it before deciding whether you can act, never guess it from
access. It lists your role’s grants in the same shape
get_role returns for a role’s
permissions: one entry per category your role allows, holding only what it
grants. A yes-or-no right your role lacks is absent. A grant that depends on a
feature your company has switched off is left out too: requests, reporting,
commission letters, the audit trail, sandboxes, multi-currency, and
Request validation when the company has no validation workflow. Unlike
get_role, you don’t need the Roles company-setting permission to read your
own permissions.
Two lists name the resources shared with you, which reach past your role’s
permissions, even into a category it denies. Both are already counted in
access above:
role_shared_resources: the saved views, reports and dashboards shared with your role, which everyone holding it reaches. Report and dashboard shares are dropped when reporting is off for the company.shared_resources: the resources shared with you individually.
get_role returns for its shared_resources. Sharing is a
live-environment concept, so those are the live ones.
Takes no arguments: the identity is read from the authenticated session, not
passed in.
Response
Body
Body
Same compact fields as each item in
list_users’s
response (id, resource_url, name, email, status, role, manager,
payment_currency, calculation_currency, licensed, license_missing,
integrations, last_synced_at), plus two fields unique to this tool:One key per resource you can actually reach (
statement, request,
quota, data_table, report, dashboard): how broadly you see it
(scope plus a plain-language description) and, for statements and
requests, the saved views you may pass to the matching list tool.
category_roles lists once per resource the roles that reach every view
through their category access; each view’s access.roles keeps only the
roles it is shared with. category_roles is null when no roster is
resolved. A resource you have no access to carries no key at all. Full
per-resource schema:
Access object reference.What your role lets you do: one entry per category it allows, holding only
what it grants, less what depends on a feature your company has off. A
yes-or-no right your role lacks is absent.
access says what you see, this
what you may do. A share reaches past it: read role_shared_resources and
shared_resources with it. Full field reference (category, name,
scope, permissions):
get_role’s permissions, same shape.Resources shared with your role, which everyone holding it reaches:
access already counts them. A resource in both share lists is reached at
the higher level. Empty when none. Full field reference (resource,
resource_type, parent_name, access):
get_role’s shared_resources, same
shape. Live environment only.Resources shared with you individually:
access already counts them. Empty
when none. Same shape as role_shared_resources. Live environment only.