approval-sessions:list

List your approval sessions, most recently updated first. Returns `approval_sessions`, each with the same session fields as approval-sessions:heartbeat. Use it to find a `session_id`, or sessions left open that you want to expire.

Reference for flywheel approval-sessions:list.

Command Group

Approvals & Budgets Commands

Summary

List your approval sessions, most recently updated first. Returns approval_sessions, each with the same session fields as approval-sessions:heartbeat. Use it to find a session_id, or sessions left open that you want to expire.

Effect

read-only

Usage

flywheel approval-sessions:list [FLAGS]

Required flags

None.

Optional flags

FlagValueDefaultChoicesDescription
--statusstringactive, expiredactive or expired. Omitted: both.
--limitintegerMost items to return (omitted: command default). No next page: raise limit or narrow filters. CLI default: omitted, using the server default of 20.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILESelect a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesConfirm forced compute:release-all --force. Other runtime commands do not read --yes.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

List active sessions.

flywheel approval-sessions:list --status active

Output

Default format: json.

FieldType
approval_sessionsarray<object>