Hanzo AI

Deploy

The `hanzo deploy` commands.

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

Hanzo CD: see what each app is running, sync it, and roll back a bad release.

API reference →

hanzo deploy applications 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 deploy callbackFinish the sign-in round trip and mint the console session
hanzo deploy clustersReturns the argocd ClusterList of the destinations the caller's applications reconcile into: one entry per distinct…
hanzo deploy gitopsLists every Hanzo CD Application in the cluster: the git source each one polls, the commit it last APPLIED, how its…
hanzo deploy healthHealth reports whether this deployment can observe the delivery plane.
hanzo deploy loginStart the sign-in round trip for this console
hanzo deploy logoutEnds the console session on this host.
hanzo deploy projectsReturns the argocd AppProjectList this console groups and filters applications by.
hanzo deploy reconcileRenders the configured git source and applies it to the cluster, once.
hanzo deploy settingsReturns the argocd AuthSettings object the dashboard SPA awaits before its first render.
hanzo deploy versionReturns the argocd VersionMessage the dashboard SPA reads at bootstrap.

applications

CommandWhat it does
hanzo deploy applications get <name>Returns ONE projected argocd Application by name, with status.resources filled in from its reconciled resource tree —…
hanzo deploy applications listReturns the fleet as an argocd ApplicationList: one projected Application per operator App CR, carrying the image tag…
hanzo deploy applications resource-tree <name>Returns one application's argocd ApplicationTree: the objects the operator reconciled from its App CR, reached by…
hanzo deploy applications revisions metadata <name> <revision>Returns the argocd RevisionMetadata for one revision of one application — what the detail view shows beside a revision.
hanzo deploy applications rollback <name>Serves the console's rollback control, and today it requests a reconcile and nothing more.
hanzo deploy applications sync <name>Asks the operator to reconcile ONE application now.
hanzo deploy applications syncwindows <name>Returns one application's argocd ApplicationSyncWindowState — the answer to "is anything blocking a sync of this…

session

CommandWhat it does
hanzo deploy session userinfoAnswers "is this browser signed in, and if not where does it sign in?" — the dashboard SPA's bootstrap question, and…

stream

CommandWhat it does
hanzo deploy stream applications listLive application fleet updates as Server-Sent Events
hanzo deploy stream applications resource-tree <name>Live resource tree for one application, as Server-Sent Events

How is this guide?

On this page