Hanzo
OpenapiVisor

Returns every machine the caller's org has — Visor's registry, the live…

Returns every machine the caller's org has — Visor's registry, the live DigitalOcean droplets and the DOKS worker nodes (deduped into one union), plus the…

GET /v1/visor/machines

Addresshttps://api.hanzo.ai/v1/visor/machines
MethodGET
OperationlistMachines
AuthAuthorization: Bearer $HANZO_API_KEY

Returns every machine the caller's org has — Visor's registry, the live DigitalOcean droplets and the DOKS worker nodes (deduped into one union), plus the BYO machines that dialed in via hanzo link (provider "byo").

A source Visor cannot answer for is logged and skipped, never an error: one wedged upstream must not hide the machines the other sources can see.

Request

GET /v1/visor/machines takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200machineListok

200 body — 15 fields.

FieldInTypeAlwaysDescription
machinesbodymachineView[]Machines is every machine the org has: Visor-provisioned and BYO together.
machines[].createdTimebodystringCreatedTime is when the machine came into being: the provider's own creation timestamp for a Visor machine, passed through in whatever form it states it, and…
machines[].gpubodystringGPU names the accelerators this machine holds ("H100", or "2× NVIDIA GB10" for a BYO machine reporting a matched pair).
machines[].idbodystringID addresses this machine on the /v1/visor/machines/:id routes: the org-scoped NAME Visor keys a machine by, falling back to the provider id for a machine that…
machines[].imagebodystringImage is the OS image the machine booted from, as the provider names it.
machines[].membodystringMem is system RAM rendered for a human ("8 GB"), not a number to compute with.
machines[].namebodystringName is the label to show a human — Visor's displayName, or the machine name when it carries none. A BYO machine's is its hostname.
machines[].osbodystringOs is the operating system on the machine — Visor's record for a provisioned one, the host's own report (linux, darwin, windows) for a BYO one.
machines[].privateIpbodystringPrivateIp is the address on the provider's own network, reachable from the org's other machines in the same region.
machines[].providerbodystringProvider is the cloud that runs the machine ("digitalocean"), or "byo" for one the operator dialed in with hanzo link.
machines[].publicIpbodystringPublicIp is the internet-facing address the provider assigned.
machines[].regionbodystringRegion is the provider region slug ("sfo3"), or the zone when the provider reports only that.
machines[].statusbodystringStatus is the lifecycle state in the PROVIDER's own words ("active", "running", "off"), passed through rather than mapped onto a vocabulary of ours.
machines[].typebodystringType is the provider SIZE SLUG the machine runs at ("s-2vcpu-4gb", "gpu-h100x8-640gb") — the value a launch asks for, and what Vcpu/Mem/GPU are read out of…
machines[].vcpubodyintegerVcpu is logical cores — the provider's own cpuSize when that is a clean integer, else the count read out of the size slug (4 from "s-4vcpu-8gb").

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.


Visor API · All Hanzo APIs · Interactive reference

How is this guide?

On this page