Hanzo
OpenapiNetwork

Returns the Zero Trust routers the caller's org owns.

Returns the Zero Trust routers the caller's org owns.

GET /v1/network/routers

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

Returns the Zero Trust routers the caller's org owns.

One row per real ZT edge-router tagged with the org's "org-<org>" role attribute, carrying the controller's own health signal: "online" when connected, "disabled" when administratively disabled, "offline" otherwise. region is filled only from a "region-<slug>" role attribute and omitted when the router carries none, so the column renders "—" rather than a guess.

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.

Request

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

Response

StatusBodyMeaning
200routerListok

200 body — 5 fields.

FieldInTypeAlwaysDescription
routersbodyrouterView[]Routers is one row per ZT edge-router tagged with the caller's org role.
routers[].idbodystringID is the ZT edge-router's id.
routers[].namebodystringName is the edge-router's name, falling back to its id when it has none.
routers[].regionbodystringRegion comes from a "region-<slug>" role attribute and is omitted when the router carries none, so the column renders "—" rather than a guess.
routers[].statusbodystringStatus is the controller's own health signal: "online" when connected, "disabled" when administratively disabled, "offline" otherwise.

Failure carries the platform error shape — see Errors.

Examples

hanzo networks routers

Network API · All Hanzo APIs · Interactive reference

How is this guide?

On this page