Hanzo
OpenapiNode

Returns the caller org's currently connected bot nodes: what each one calls…

Returns the caller org's currently connected bot nodes: what each one calls itself, the platform it runs on, its agent version, when its socket was…

GET /v1/node

Addresshttps://api.hanzo.ai/v1/node
MethodGET
Operationget_node
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller org's currently connected bot nodes: what each one calls itself, the platform it runs on, its agent version, when its socket was established, and the capabilities and commands it reported.

Only this org's nodes are listed — the org is half of every key in the table it reads — and only nodes attached to THIS replica, because the list is of live sockets rather than of registrations. The capability and command lists are the node's own self-report: useful to show, never load-bearing, because what a node may actually be asked to do is decided at the socket against the deployment's allowlist.

Request

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

Response

StatusBodyMeaning
200nodesViewok

200 body — 8 fields.

FieldInTypeAlwaysDescription
nodesbodynodeView[]Nodes is every node of the caller's org with a live socket to THIS replica, ordered by id.
nodes[].capsbodystring[]Caps is the capability list the node reported.
nodes[].commandsbodystring[]Commands is the command list the node reported.
nodes[].connectedAtbodystringConnectedAt is when this node's socket was established, RFC3339 UTC.
nodes[].displayNamebodystringDisplayName is the human name the node reported for itself.
nodes[].idbodystringID is the node's own identifier within the org — the value POST /v1/node/{id}/invoke addresses it by.
nodes[].platformbodystringPlatform is the operating system and architecture the node reported.
nodes[].versionbodystringVersion is the node agent's own version string.

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.


Node API · All Hanzo APIs · Interactive reference

How is this guide?

On this page