Hanzo
OpenapiPlatform

Returns real build records for your org.

Returns real build records for your org. It lists the org's BuildKit build records — the git build step behind a deploy — each with the repo it built, the…

GET /v1/platform/builds

Addresshttps://api.hanzo.ai/v1/platform/builds
MethodGET
Operationget_platform_builds
AuthAuthorization: Bearer $HANZO_API_KEY

Returns real build records for your org.

It lists the org's BuildKit build records — the git build step behind a deploy — each with the repo it built, the short commit, its status, when it started and how long it took. These are real records or an honest empty list; a build appears here because one ran, never because a page needed a row. Builds are created only by /deploy and the push-to-deploy hook. Requires a validated principal; 403 without one.

Request

GET /v1/platform/builds takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200buildBoardok

200 body — 7 fields.

FieldInTypeAlwaysDescription
buildsbodybuildRow[]Builds are the org's real BuildKit build records, newest first.
builds[].commitbodystringCommit is the short git ref the build pinned.
builds[].durationbodystringDuration is the wall time of a TERMINAL build; empty while it still runs.
builds[].idbodystringID is the build record's id.
builds[].repobodystringRepo is the repo the build built, or the image it produced.
builds[].startedAtbodystringStartedAt is when the build was recorded, RFC3339 UTC.
builds[].statusbodystringStatus is the build's real state: queued, building, succeeded or failed.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Platform API · All Hanzo APIs · Interactive reference

How is this guide?

On this page