Hanzo AI
OpenapiCi

List fleet

Compares what was written with what is running, one row per service along a single causal line: head, the commit on the branch; built, the image that…

GET /v1/ci/fleet

Addresshttps://api.hanzo.ai/v1/ci/fleet
MethodGET
Operationget_ci_fleet
AuthAuthorization: Bearer $HANZO_API_KEY

Compares what was written with what is running, one row per service along a single causal line: head, the commit on the branch; built, the image that commit produced; declared, the tag pinned in the universe repository; running, what the cluster serves. A service whose four values disagree names the step that broke.

Request

GET /v1/ci/fleet takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200ci.Pipelinesok
defaultproblem-detailsrefused

200 body — 37 fields.

FieldInTypeAlwaysDescription
fetchedAtbodystring (date-time)
orgsbodystring[]
servicesbodyci.Pipeline[]
services[].behindbodyinteger (int64)Behind counts commits after the one that last produced an image whose own build has FINISHED without producing one, and Since is when the oldest of them…
services[].builtbodyci.Artifact
services[].built.digestbodystring
services[].built.tagbodystring
services[].declaredbodyci.Artifact
services[].declared.digestbodystring
services[].declared.tagbodystring
services[].driftbodystring[]
services[].headbodyci.Tip
services[].head.atbodystring (date-time)
services[].head.buildbodyci.Check
services[].head.build.atbodystring (date-time)
services[].head.build.jobbodystringJob is the job that decided State. A run reports one conclusion for however many jobs it holds, and the jobs are not interchangeable: the pipeline fails at…
services[].head.build.numberbodyinteger (int64)
services[].head.build.statebodystringState is success | failure | running | absent.
services[].head.build.testedbodybooleanTested reports that the run's tests executed; Verdict reports that the run said anything about tests at all.
services[].head.build.urlbodystring
services[].head.build.verdictbodyboolean
services[].head.shabodystring
services[].head.titlebodystring
services[].imagebodystringghcr.io/hanzoai/cloud
services[].namebodystringcloud
services[].namespacebodystringhanzo
services[].orgbodystringHanzo Git owner; empty when the repo is unresolved
services[].pinnedAtbodystring (date-time)
services[].readybodyinteger (int64)
services[].repobodystringhanzo-inc/cloud
services[].runningbodyci.Artifact
services[].running.digestbodystring
services[].running.tagbodystring
services[].sincebodystring (date-time)
services[].wantbodyinteger (int64)
sourceErrbodystring
stalebodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo ci fleet

Ci API · All Hanzo APIs · Interactive reference

How is this guide?

On this page