General Input
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.com

Flags

FlagNotes
--jsonEmit a JSON object: { user, workspace: { slug, name, id, role }, expiresAt, server }. Easier for scripted callers.

Exit codes

CodeMeaning
0Active session found
78No session, or session expired (operator needs to run geni login)
125Network or server error checking session validity

On this page