Not yet available
This command is planned for a future release.
culvii whoami
Print the currently authenticated identity and active context.
Synopsis
culvii whoami
Description
Prints the currently authenticated identity and active context. Calls GET /auth/me live to confirm the session is still valid; reads tenant, workspace, and environment from the local context file for the rest.
No flags. Requires an active OAuth session.
Output
User: alice@acme.com
Tenant: acme (org_01HXYZ...)
Workspace: dev-alice (wsp_01HXYZ...)
Environment: dev
Session: expires in 7h
Error behaviour
| Condition | Message | Exit |
|---|---|---|
| No OAuth session | "Not logged in. Run culvii login." | 1 |
| Session expired | "Session expired. Run culvii login." | 1 |
| Network error reaching /auth/me | "Cannot reach auth server." | 1 |
Related commands
culvii login, culvii config current-context