Hanzo AI

Campaign

The `hanzo campaign` commands.

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

One go-to-market push across paid, organic and email at once.

API reference →

hanzo campaign 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 campaign createCreates a campaign as a DRAFT and returns it.
hanzo campaign listReturns the org's campaigns, newest first, optionally narrowed to one status.
hanzo campaign summaryReturns the org's go-to-market roll-up: how many campaigns exist, how many are live, their total budget in cents, and…

channels

CommandWhat it does
hanzo campaign channels create <id>Adds a channel to a campaign, or REPLACES the one it already has of that kind, and returns the updated campaign.
hanzo campaign channels rm <id> <kind>Drops one channel from a campaign and returns the updated campaign.

get

CommandWhat it does
hanzo campaign get <id>Returns one campaign of the caller's org — its name, audience, creatives, channels with their per-channel launch state,…

launch

CommandWhat it does
hanzo campaign launch <id>Launch a campaign across every channel it declares

metrics

CommandWhat it does
hanzo campaign metrics <id>Returns a campaign's results over a window: the analytics funnel (impressions, clicks, conversions, revenue, visitors),…

pause

CommandWhat it does
hanzo campaign pause <id>Pause every live channel on a campaign at its provider

rm

CommandWhat it does
hanzo campaign rm <id>Removes one campaign of the caller's org and answers 204 with no body.

set

CommandWhat it does
hanzo campaign set <id>Rewrites a campaign's core fields — name, audience, creatives, schedule and budget — and returns the updated campaign.

How is this guide?