Hanzo
OpenapiNetwork

Returns the caller's org overlay network on the Zero Trust fabric.

Returns the caller's org overlay network on the Zero Trust fabric.

GET /v1/network

Addresshttps://api.hanzo.ai/v1/network
MethodGET
Operationget_network
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller's org overlay network on the Zero Trust fabric.

The org has at most ONE overlay, projected from the edge-routers tagged with its "org-<org>" role attribute: nodes is the real router count and status is "connected" once at least one router has dialed home, "provisioning" while none has. An org with no routers gets an empty list, never a fabricated network.

The read degrades rather than erroring: a deployment with no ZT credential, and a controller that cannot be reached, both answer 200 with an empty list so the console's Networks page renders a clean empty state instead of an error.

Request

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

Response

StatusBodyMeaning
200networkListok

200 body — 5 fields.

FieldInTypeAlwaysDescription
networksbodynetworkView[]Networks holds the org's overlay network, or is empty when the org has no edge-routers on the fabric (no nodes → no network, never a fabricated one).
networks[].idbodystringID is the org-derived id of the overlay network — the key GET /v1/network/{id} addresses.
networks[].namebodystringName is the org the overlay belongs to.
networks[].nodesbodyintegerNodes is how many edge-routers the org has on the fabric.
networks[].statusbodystringStatus is "connected" once at least one of the org's edge-routers is online, else "provisioning" (routers exist but none has dialed home).

Failure carries the platform error shape — see Errors.

Examples

hanzo networks list

Network API · All Hanzo APIs · Interactive reference

How is this guide?

On this page