Skip to main content
Version: v5.7.0

opschain approval-policies list

packs:change-governance

opschain approval-policies list [flags]

Lists the approval policies whose governance scope you may read (ChangeGovernanceService.ListApprovalPolicies): the table is NAME PATH PATTERN QUORUM STRICT WINDOW STEP-UP ENABLED, with the require_step_up column.

-o json / -o yaml emit the typed policies in their protojson wire shape under approval_policies.

Flags​

FlagMeaning
--filter <column>[!]=<value>Keep only rows matching the term (repeatable; terms AND). Columns are the printed table headers lowercased (spaces fold to _); * wildcards match the whole cell case-insensitively, != negates, commas mean any-of. Grammar: opschain docs cli.

Exit codes​

CodeMeaning
0Listed (an empty selection prints no approval policies).
1The read failed — the error names the server's Connect code and message, including the packs:change-governance funnel refusal.
2Usage error, including a missing server target.