Auth
geni auth status
Print the active operator, organization, and session expiry.
geni auth status [flags]Prints the active session's operator, active workspace, and expiry. Exits non-zero if there is no session or it has expired.
Output
Authenticated as jack@generalinput.com
Active workspace: acme (Acme Inc., admin)
Session expires: 2026-08-12 (in 90 days)
Server: https://cloud.generalinput.comFlags
| Flag | Notes |
|---|---|
--json | Emit a JSON object: { user, workspace: { slug, name, id, role }, expiresAt, server }. Easier for scripted callers. |
Exit codes
| Code | Meaning |
|---|---|
0 | Active session found |
78 | No session, or session expired (operator needs to run geni login) |
125 | Network or server error checking session validity |