Hanzo
OpenapiDeploy

Returns the argocd VersionMessage the dashboard SPA reads at bootstrap.

Returns the argocd VersionMessage the dashboard SPA reads at bootstrap.

GET /v1/deploy/version

Addresshttps://api.hanzo.ai/v1/deploy/version
MethodGET
Operationget_deploy_version
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the argocd VersionMessage the dashboard SPA reads at bootstrap. There is no argocd binary behind this plane — it is a projection over operator App CRs — so the fields say so rather than describing a build: Version names the projection, BuildDate is the moment this response was generated, and Compiler/Platform/GoVersion are the constants the SPA tolerates rather than facts about this process. Platform SuperAdmin only.

Request

GET /v1/deploy/version takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200versionMessageok

200 body — 5 fields.

FieldInTypeAlwaysDescription
BuildDatebodystringBuildDate is the time THIS RESPONSE was generated, in RFC 3339 — not a build timestamp.
CompilerbodystringCompiler is the constant "gc" the SPA expects; it is not read from this process.
GoVersionbodystringGoVersion is always empty.
PlatformbodystringPlatform is the constant "linux/amd64" the SPA expects; it is not this process's own GOOS/GOARCH.
VersionbodystringVersion names the projection, "hanzo-cd (projection)".

Failure carries the platform error shape — see Errors.

Examples

hanzo deploy version

Deploy API · All Hanzo APIs · Interactive reference

How is this guide?

On this page