Hanzo AI

Flags

The `hanzo flags` commands.

Also for this capability: API · CLI · SDKs

Feature flags: ship it dark, then turn it on for who you pick.

API reference →

hanzo flags defs list

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo flags activityReturns the caller's flag change log newest-first: every create, update and delete, with the actor and the time.
hanzo flags createEvaluate runs the caller's flag definitions for one identity and returns the flag verdict: which flags are on (or which…
hanzo flags decideEvaluate runs the caller's flag definitions for one identity and returns the flag verdict: which flags are on (or which…
hanzo flags healthHealth reports that the flag engine is serving.

defs

CommandWhat it does
hanzo flags defs get <key>Returns one flag definition by key, or 404 when the caller's store has none under that key.
hanzo flags defs listReturns every flag definition in the caller's (org, project) store, by key, with its version and who last changed it.
hanzo flags defs rm <key>Removes one flag definition by key and records the deletion in the change log.
hanzo flags defs set <key>Creates or replaces the flag definition at the path's key and returns the stored row.

How is this guide?

On this page