Hanzo
OpenapiPlatform

Returns the applications in one project, with what the cluster says about them.

Returns the applications in one project, with what the cluster says about them. It lists the caller org's applications under one project.

GET /v1/platform/projects/{project}/apps

Addresshttps://api.hanzo.ai/v1/platform/projects/{project}/apps
MethodGET
Operationget_platform_projects_by_project_apps
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the applications in one project, with what the cluster says about them.

It lists the caller org's applications under one project. Each row carries the stored record and, for an app that is live or deploying, the LIVE phase and health read from its operator Service CR; an app with sealed env also carries its secret-sync state. Those cluster reads are best-effort — an unreachable cluster leaves those fields empty and never blocks the listing.

The project must exist in IAM for this org, or the answer is 404; the default project is implicit and always accepted, because it is part of what an org IS. Requires a validated principal; 403 without one.

Request

1 field.

FieldInTypeRequiredDescription
projectpathstringyesProject is the project's name, from the path.

Response

StatusBodyMeaning
200appView[]ok

200 body — 34 fields.

FieldInTypeAlwaysDescription
[].buildTypebodystringBuildType is how a git app builds: pack, the zero-config default that detects the project, or dockerfile.
[].createdAtbodyintegerCreatedAt is when the app was created, unix seconds.
[].currentDeploymentIdbodystringCurrentDeploymentID is the deployment that is live — the pointer a deploy advances monotonically by version, so it never regresses to an older one.
[].descriptionbodystringDescription is free text about what the app is.
[].dockerfilebodystringDockerfile is the path inside the repo to build from, for buildType dockerfile.
[].domainsbodystring[]Domains are the ingress hosts rendered into the app's CR, its own <slug>.<org>.<sites host> first.
[].envbodyEnvVarJSON[]Env is the app's environment variables, with every SECRET value masked to "" — the plaintext is in KMS and this surface never echoes it.
[].env[].keybodystringKey is the variable's name in the container, which must match ^[A-Za-z_][A-Za-z0-9_]*$.
[].env[].secretbodybooleanSecret says the value lives in KMS and never in the database.
[].env[].valuebodystringValue is the plaintext, and it is WRITE-ONLY once the entry is secret: a sealed value reads back as "", and sending "" again KEEPS what is sealed rather than…
[].environmentbodystringEnvironment is the deploy target this app names, production when none was given.
[].healthbodystringHealth rolls ready-vs-desired replicas up to a colour: green (all ready), yellow (some ready, or deliberately scaled to zero), red (none), or "" when the…
[].idbodystringID is the server-minted application id (app_…).
[].imagebodyimageView
[].image.repositorybodystringRepository is the image path without a tag (ghcr.io/acme/api). Required for source image, which runs it as-is.
[].image.tagbodystringTag is the tag to run: what the create declared, then RE-STAMPED on every transition to live with the tag that actually went live.
[].namebodystringName is the display name.
[].namespacebodystringNamespace is where the app's cluster objects live, tenant-<org>.
[].orgbodystringOrg is the tenant that owns the app.
[].phasebodystringPhase is the operator's own status.phase for the app's Service CR, read from the cluster on this request.
[].portbodyintegerPort is the container port traffic is sent to.
[].projectIdbodystringProjectID is the IAM project the app lives under, and it is that project's NAME — the (org,name) key IAM identifies it by, which is also what the :project
[].replicasbodyintegerReplicas is how many copies the CR declares.
[].repobodygitSource
[].repo.branchbodystringBranch is the branch a push-to-deploy build tracks, main when the create named none — a push to any other branch, and every tag push, builds nothing here.
[].repo.providerbodystringProvider is derived from the URL — github, gitlab, bitbucket, or git for anything else.
[].repo.urlbodystringURL is the clone URL a git app builds from, stored as sent once the build path's allowlist accepted it (validateRepoURL).
[].secretSyncbodystringSecretSync is how far the app's secret env has got into the cluster: ""|pending|syncing|ready|failed (secrets.go).
[].secretSyncDetailbodystringSecretSyncDetail is the honest reason when the sync is not ready — a missing CRD, an RBAC grant, a per-tenant credential.
[].slugbodystringSlug is the app's identity in the cluster: the operator CR's name, the first label of its default host, and the :app path segment.
[].sourcebodystringSource is what the app deploys FROM: git, which builds Repo, or image, which runs Image as it is.
[].statusbodystringStatus is the lifecycle THIS store records: draft (created, nothing in the cluster yet), building, deploying, live, stopped or error.
[].storageGbbodyintegerStorageGB is the persistent volume size in GiB.
[].updatedAtbodyintegerUpdatedAt is when it last changed, unix seconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo platform projects apps list <project>

Platform API · All Hanzo APIs · Interactive reference

How is this guide?

On this page