Hanzo
CLIPlatform

Platform

30 `hanzo` commands for Platform, each calling one operation on api.hanzo.ai.

Package platform is Hanzo PaaS: deploy containers to your own tenant namespace — builds, releases, environments, logs, custom domains.

30 commands · API reference →

CommandCallsWhat it does
hanzo platform apps cd <app>GET /v1/platform/apps/{app}/cdOne app's reconciliation
hanzo platform apps get <app>GET /v1/platform/apps/{app}One declaration
hanzo platform apps listGET /v1/platform/appsWhat this organization has declared, and what CD did with it
hanzo platform apps createPOST /v1/platform/appsDeploy an app through cd.hanzo.ai
hanzo platform cdGET /v1/platform/cdThe delivery plane
hanzo platform ciGET /v1/platform/ciContinuous integration (not wired)
hanzo platform fleet deploy <app>POST /v1/platform/fleet/{app}/deployRolls a platform service's pods, in a named environment.
hanzo platform fleet get <app>GET /v1/platform/fleet/{app}Returns one platform service, resolved to production by default.
hanzo platform fleet listGET /v1/platform/fleetReturns the platform's own service tier, and where it has drifted.
hanzo platform healthGET /v1/platform/healthReports whether this control plane can actually deploy anything.
hanzo platform projects apps deploy <project> <app>POST /v1/platform/projects/{project}/apps/{app}/deployDeploys the app — building it first if it comes from git.
hanzo platform projects apps deployments logs <project> <app> <id>GET /v1/platform/projects/{project}/apps/{app}/deployments/{id}/logsReturns real logs for a deployment — the build's, then the app's.
hanzo platform projects apps deployments get <project> <app> <id>GET /v1/platform/projects/{project}/apps/{app}/deployments/{id}Returns one deployment of one app.
hanzo platform projects apps deployments list <project> <app>GET /v1/platform/projects/{project}/apps/{app}/deploymentsReturns an app's deployment history.
hanzo platform projects apps domains verify <project> <app> <host>POST /v1/platform/projects/{project}/apps/{app}/domains/{host}/verifyChecks a custom domain's DNS and turns it on if it passes.
hanzo platform projects apps domains rm <project> <app> <host>DELETE /v1/platform/projects/{project}/apps/{app}/domains/{host}Detaches a hostname and releases the claim.
hanzo platform projects apps domains list <project> <app>GET /v1/platform/projects/{project}/apps/{app}/domainsReturns every hostname this app answers on.
hanzo platform projects apps domains create <project> <app>POST /v1/platform/projects/{project}/apps/{app}/domainsAttaches a hostname — instantly if you already own it, otherwise with a DNS challenge.
hanzo platform projects apps env <project> <app>PUT /v1/platform/projects/{project}/apps/{app}/envReplaces an app's environment variables.
hanzo platform projects apps preview <project> <app>POST /v1/platform/projects/{project}/apps/{app}/previewPuts a branch on its own URL.
hanzo platform projects apps promote <project> <app>POST /v1/platform/projects/{project}/apps/{app}/promotePromotes an already-built release to the app.
hanzo platform projects apps rollback <project> <app>POST /v1/platform/projects/{project}/apps/{app}/rollbackGoes back to the previous release.
hanzo platform projects apps start <project> <app>POST /v1/platform/projects/{project}/apps/{app}/startStarts a stopped app back up.
hanzo platform projects apps stop <project> <app>POST /v1/platform/projects/{project}/apps/{app}/stopStops an app without deleting it.
hanzo platform projects apps get <project> <app>GET /v1/platform/projects/{project}/apps/{app}Returns one application, with its live phase, health and secret sync.
hanzo platform projects apps rm <project> <app>DELETE /v1/platform/projects/{project}/apps/{app}Deletes an application and tears down what it runs.
hanzo platform projects apps list <project>GET /v1/platform/projects/{project}/appsReturns the applications in one project, with what the cluster says about them.
hanzo platform projects apps create <project>POST /v1/platform/projects/{project}/appsCreates an application from a git repo or a container image.
hanzo platform projects get <project>GET /v1/platform/projects/{project}Returns one project and its app count.
hanzo platform projects listGET /v1/platform/projectsReturns your org's projects, each with how many apps live under it.

How is this guide?