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 →
| Command | Calls | What it does |
|---|---|---|
hanzo platform apps cd <app> | GET /v1/platform/apps/{app}/cd | One app's reconciliation |
hanzo platform apps get <app> | GET /v1/platform/apps/{app} | One declaration |
hanzo platform apps list | GET /v1/platform/apps | What this organization has declared, and what CD did with it |
hanzo platform apps create | POST /v1/platform/apps | Deploy an app through cd.hanzo.ai |
hanzo platform cd | GET /v1/platform/cd | The delivery plane |
hanzo platform ci | GET /v1/platform/ci | Continuous integration (not wired) |
hanzo platform fleet deploy <app> | POST /v1/platform/fleet/{app}/deploy | Rolls 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 list | GET /v1/platform/fleet | Returns the platform's own service tier, and where it has drifted. |
hanzo platform health | GET /v1/platform/health | Reports whether this control plane can actually deploy anything. |
hanzo platform projects apps deploy <project> <app> | POST /v1/platform/projects/{project}/apps/{app}/deploy | Deploys 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}/logs | Returns 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}/deployments | Returns an app's deployment history. |
hanzo platform projects apps domains verify <project> <app> <host> | POST /v1/platform/projects/{project}/apps/{app}/domains/{host}/verify | Checks 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}/domains | Returns every hostname this app answers on. |
hanzo platform projects apps domains create <project> <app> | POST /v1/platform/projects/{project}/apps/{app}/domains | Attaches 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}/env | Replaces an app's environment variables. |
hanzo platform projects apps preview <project> <app> | POST /v1/platform/projects/{project}/apps/{app}/preview | Puts a branch on its own URL. |
hanzo platform projects apps promote <project> <app> | POST /v1/platform/projects/{project}/apps/{app}/promote | Promotes an already-built release to the app. |
hanzo platform projects apps rollback <project> <app> | POST /v1/platform/projects/{project}/apps/{app}/rollback | Goes back to the previous release. |
hanzo platform projects apps start <project> <app> | POST /v1/platform/projects/{project}/apps/{app}/start | Starts a stopped app back up. |
hanzo platform projects apps stop <project> <app> | POST /v1/platform/projects/{project}/apps/{app}/stop | Stops 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}/apps | Returns the applications in one project, with what the cluster says about them. |
hanzo platform projects apps create <project> | POST /v1/platform/projects/{project}/apps | Creates 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 list | GET /v1/platform/projects | Returns your org's projects, each with how many apps live under it. |
How is this guide?