whoami
Account, actor, spaces, root folder ID, limits and usage
Reads only.
Account, actor, spaces, root folder ID, limits and usage.
Expects nothing and changes nothing. It is how an agent gets its first IDs: spaces lists every space the user stands in — their personal space, then each organization space they are a member of — each with its name, kind, root folder ID and the user's role there, and every other ID is reached from one of those roots by listing or searching. No entry is the default: work in the space the user named, and when two are plausible and they named neither, ask before writing anything. It also answers shared_with_me — what other people have shared with the user, which no listing down from the root ever reaches — and owned_elsewhere — every item the user owns that sits in another person's space, each with its space_id and parent_id, which is how they find one after the folder it sits in was unshared — and names the actor recorded against everything done with this credential.
Arguments
None.
On the command line
flie whoamiflie --json whoami # account, spaces, root folder ID, addresses,
# shared_with_me, owned_elsewhere, limits, usage