Hanzo
OpenapiVisor

Returns one row per physical accelerator the caller's org has, derived from its…

Returns one row per physical accelerator the caller's org has, derived from its real GPU machines (the size slug says how many cards a node holds) and…

GET /v1/visor/gpus

Addresshttps://api.hanzo.ai/v1/visor/gpus
MethodGET
OperationlistGpus
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one row per physical accelerator the caller's org has, derived from its real GPU machines (the size slug says how many cards a node holds) and from the accelerators BYO workers report through nvidia-smi.

Live telemetry is absent on Visor rows because Visor's machine object carries none — an honest omission the console renders as "—", never a fabricated 0.

Request

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

Response

StatusBodyMeaning
200gpuListok

200 body — 10 fields.

FieldInTypeAlwaysDescription
gpusbodygpuView[]GPUs is every accelerator the org has, from Visor GPU droplets and from BYO workers alike.
gpus[].idbodystringID is the card's address: its host machine's id, "#", and the card's ordinal within that machine ("gpu-1#0").
gpus[].locationbodystringLocation is where the card physically sits, which for every source today is the same value Region carries — the console renders it in its own column.
gpus[].machinebodystringMachine is the id of the machine holding this card, addressable as-is on /v1/visor/machines/:id.
gpus[].memorybodystringMemory is the card's VRAM as its own tooling reported it ("122880 MiB") — a display string in the reporter's units, not a byte count.
gpus[].modelbodystringModel is the accelerator: the model token read out of the size slug for a Visor GPU droplet ("H100", "MI300X"), or the name nvidia-smi reported for a BYO card…
gpus[].namebodystringName is the HOST MACHINE's display name, not the card's — every card in a gpu-h100x8 node repeats it.
gpus[].providerbodystringProvider distinguishes a BYO accelerator ("byo") from a Visor-provisioned one (the host machine's real provider).
gpus[].regionbodystringRegion is the host machine's provider region slug; "on-prem" for a BYO card.
gpus[].statusbodystringStatus is the HOST MACHINE's lifecycle state, because nothing upstream reports a card's own health.

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