Hanzo AI

Prompt

The `hanzo prompt` commands.

Also for this capability: API · CLI · MCP · SDKs

Your prompt library, versioned, so nothing changes silently.

API reference →

hanzo prompt 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 prompt catalogCatalog returns the read-only starter prompt library shipped with the binary — reference content every tenant sees the…
hanzo prompt createCreate records a prompt for the caller's org and answers 201 with it.
hanzo prompt listList returns the caller org's prompt library as one row per prompt: its name, type, every version number it has, its…
hanzo prompt metricsMetrics returns real per-prompt statistics for the caller's org: how many versions each prompt has, which one is…

get

CommandWhat it does
hanzo prompt get <name>Get returns one of the caller org's prompts: its CURRENT template text plus the metadata of every version it has had.

rm

CommandWhat it does
hanzo prompt rm <name>Delete removes one of the caller org's prompts and every version of it, answering 204.

How is this guide?

On this page