whoami
Show the signed-in user, current workspace and session.
lly whoami Login
Ada <[email protected]>
Role: user
Workspace: Acme · admin
Session: ada-macbook · since 2026-09-14
Valid until: 2026-12-17Workspace shows the current workspace and your role in it. With LLY_ACCESS_TOKEN, the line Valid until is omitted.
Exit codes
| Code | Cause |
|---|---|
3 | Not signed in |
JSON output
{"user": {"id", "name", "email", "role"}, "workspace": {"id", "name", "role", "personal"}, "session": {"id", "label", "signed_in_at", "expires_at"}}