culvii whoami
Print the currently authenticated identity and active context.
Synopsis
culvii whoami [--json]
Description
Confirms live with the server that your session is valid, then prints your identity and active context - reflecting whichever tenant is currently active.
Requires an OAuth session, and refreshes a near-expiry access token silently first (see Staying signed in). An unreachable server exits with "Unexpected error" and the network message, instead of showing identity.
Flags
| Flag | Description |
|---|---|
--json | Output machine-readable JSON instead of the formatted display. |
Output
✓ alice@culvii.com
tenant Culvii Dev (culvii-dev)
workspace dev-culvii-dev
access Owner — tenant level
--json prints the same data as a flat object instead: { email, name, tenant, tenant_name, workspace, access }, where access is an array of role grants (each with a role and the environment/workspace scope it applies to).