hooks:runs:list

List runs of hooks on an owner node, newest first (`queued`, `running`, `succeeded`, `failed` or `canceled`; `canceled` is a queued run whose hook was disabled, with the reason in `error_message`), optionally for one hook. Runs are queued automatically when a matching event happens (see `hooks:create`). Returns at most --limit runs (default 100, range 1-200) and has no paging, so it shows recent history only. Needs read access.

Reference for flywheel hooks:runs:list.

Command Group

Hooks Commands

Summary

List runs of hooks on an owner node, newest first (queued, running, succeeded, failed or canceled; canceled is a queued run whose hook was disabled, with the reason in error_message), optionally for one hook. Runs are queued automatically when a matching event happens (see hooks:create). Returns at most --limit runs (default 100, range 1-200) and has no paging, so it shows recent history only. Needs read access.

Effect

read-only

Usage

flywheel hooks:runs:list <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--owner_node_idstringNode owning the hooks and secrets: any node_id, or owner_node_id in hook results. Missing or hidden: 404. Listing hooks or runs needs read access; changes and secret listing need write access (else 403).

Optional flags

FlagValueDefaultChoicesDescription
--hook_idstringHook on owner_node_id, from hook_id in hooks:list or the create result. Unknown or on another owner node: 404, except as the hooks:runs:list filter, where no match returns no runs (omitted: runs of every hook).
--limitintegerMost items to return (omitted: command default). No next page: raise limit or narrow filters.
--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 the last 25 runs for one hook.

flywheel hooks:runs:list --owner_node_id n_owner --hook_id hk_1 --limit 25

Output

Default format: json.

FieldType
runsarray<object>