CLIDeploy
Deploy
20 `hanzo` commands for Deploy, each calling one operation on api.hanzo.ai.
Package deploy is Hanzo CD: see what each app is running, sync it, and roll back a bad release.
20 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo deploy applications resource-tree <name> | GET /v1/deploy/applications/{name}/resource-tree | Returns one application's argocd ApplicationTree: the objects the operator reconciled from its App CR, reached by… |
hanzo deploy applications revisions metadata <name> <revision> | GET /v1/deploy/applications/{name}/revisions/{revision}/metadata | Returns the argocd RevisionMetadata for one revision of one application — what the detail view shows beside a revision. |
hanzo deploy applications rollback <name> | POST /v1/deploy/applications/{name}/rollback | The console's rollback control — today it requests a reconcile, nothing more |
hanzo deploy applications sync <name> | POST /v1/deploy/applications/{name}/sync | Ask the operator to reconcile one application now |
hanzo deploy applications syncwindows <name> | GET /v1/deploy/applications/{name}/syncwindows | Returns one application's argocd ApplicationSyncWindowState — the answer to "is anything blocking a sync of this… |
hanzo deploy applications get <name> | GET /v1/deploy/applications/{name} | Returns ONE projected argocd Application by name, with status.resources filled in from its reconciled resource tree —… |
hanzo deploy applications list | GET /v1/deploy/applications | Returns the fleet as an argocd ApplicationList: one projected Application per operator App CR, carrying the image tag… |
hanzo deploy callback | GET /v1/deploy/callback | Finish the sign-in round trip and mint the console session |
hanzo deploy clusters | GET /v1/deploy/clusters | Returns the argocd ClusterList of the destinations the caller's applications reconcile into: one entry per distinct… |
hanzo deploy gitops | GET /v1/deploy/gitops | Lists every Hanzo CD Application in the cluster: the git source each one polls, the commit it last APPLIED, how its… |
hanzo deploy health | GET /v1/deploy/health | Whether this control plane can actually reach the cluster it deploys to |
hanzo deploy login | GET /v1/deploy/login | Start the sign-in round trip for this console |
hanzo deploy logout | POST /v1/deploy/logout | End the console session on this host |
hanzo deploy projects | GET /v1/deploy/projects | Returns the argocd AppProjectList this console groups and filters applications by. |
hanzo deploy reconcile | POST /v1/deploy/reconcile | Render the configured git source and apply it to the cluster, once |
hanzo deploy session userinfo | GET /v1/deploy/session/userinfo | Answers "is this browser signed in, and if not where does it sign in?" — the dashboard SPA's bootstrap question, and… |
hanzo deploy settings | GET /v1/deploy/settings | Returns the argocd AuthSettings object the dashboard SPA awaits before its first render. |
hanzo deploy stream applications resource-tree <name> | GET /v1/deploy/stream/applications/{name}/resource-tree | Live resource tree for one application, as Server-Sent Events |
hanzo deploy stream applications list | GET /v1/deploy/stream/applications | Live application fleet updates as Server-Sent Events |
hanzo deploy version | GET /v1/deploy/version | Returns the argocd VersionMessage the dashboard SPA reads at bootstrap. |
How is this guide?