---
title: "Mesh state, per-node connection and join onboarding for the Worker Nodes page."
method: GET
path: "/nodes/wireguard"
tags: ["Nodes"]
---

# Mesh state, per-node connection and join onboarding for the Worker Nodes page.

`GET /nodes/wireguard`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/nodes/wireguard`
- Auth: HTTP bearer

## Response `200`

WireGuard mesh state

- WireguardMeshStatusResponse: Response of `GET /nodes/wireguard`.
  - `ca_rotation_required` boolean, required: Whether the cluster CA must be rotated before the mesh can be turned on: it predates certificate address history, so no pool can be proven free of its worker certificates. Always `false` once the mesh is on.
  - `can_disable` boolean, required: Whether `DELETE /nodes/wireguard` can turn the mesh off now: it is on and nothing depends on it.
  - `can_enable` boolean, required: Whether `POST /nodes/wireguard` can turn the mesh on here.
  - `cidr` string, nullable: Mesh address pool, when enabled.
  - `control_plane` WireguardMeshControlPlaneEntry, nullable: The control plane's end of the mesh.
    - `address` string, required: Its mesh address.
    - `endpoint` string, nullable: `ip:port` nodes dial. `None` when the control plane has no address nodes can reach (e.g. it runs on a laptop): it dials the nodes that publish an endpoint instead.
    - `endpoint_is_private` boolean, required: Whether `endpoint` is a private address, which nodes joining over the internet cannot reach.
  - `disable_blocker` string, nullable: What prevents turning it off, when the mesh is on and `can_disable` is false (nodes on the mesh, pairings in progress, the control plane's overlay on its mesh address). Rendered verbatim.
  - `enable_blocker` string, nullable: What prevents enabling it, when `can_enable` is false and the mesh is off. Rendered verbatim.
  - `enable_command` string, required: CLI equivalent of enabling, for the control-plane host.
  - `handshake_error` string, nullable: Why handshake data is missing, when it is.
  - `hub` WireguardMeshHub, nullable: The current hub.
    - `name` string, required: `control-plane` or the node's name.
    - `target` union, required: The member relaying for pairs that cannot reach each other (ADR 048 D4).
      - object: No hub: pairs that cannot reach each other stay disconnected.
        - `kind` 'none', required
      - object
        - `kind` 'control_plane', required
      - object
        - `kind` 'node', required
        - `node_id` integer, required
  - `join_url` string, nullable: The configured external URL: what `temps join` should point at. `null` when none is configured.
  - `links` WireguardMeshLink[], required: Every pair of members that are both on the mesh.
    - `a` string, required: `control-plane` or a node name.
    - `a_node_id` integer, nullable: `None` for the control plane.
    - `b` string, required
    - `b_node_id` integer, nullable
    - `detail` string, nullable: What connects them when `state` is not `direct`, or what to do. Rendered verbatim.
    - `last_handshake_at` string, nullable: Most recent direct handshake either side reported (RFC 3339).
    - `state` 'direct' | 'via_hub' | 'connecting' | 'unreachable', required: How one pair of mesh members is connected.
  - `listen_port` integer, required: UDP port every node must accept from the others — the configured one even while the mesh is off, so it can be opened in advance.
  - `nodes` WireguardMeshNodeStatus[], required
    - `checks` WireguardMeshCheck[], required: What the control plane can check about this node's link (empty while the mesh is off). The node's own view: `temps doctor mesh` on it.
      - `detail` string, required: Rendered verbatim.
      - `fix` string, nullable: What fixes it; rendered verbatim.
      - `label` string, required
      - `status` 'pass' | 'warn' | 'fail' | 'info', required: Outcome of one mesh check.
    - `connection` 'mesh_off' | 'not_registered' | 'waiting_for_control_plane' | 'connected' | 'stale' | 'never_connected' | 'unknown', required: One node's standing on the mesh, as the control plane sees it.
    - `data_address` string, required: Where the control plane reaches this node's agent and published ports: the mesh address for a node joined over the internet.
    - `endpoint` string, nullable: `ip:port` other nodes dial for this node's WireGuard socket.
    - `last_handshake_at` string, nullable: RFC 3339.
    - `mesh_address` string, nullable
    - `name` string, required
    - `node_id` integer, required
    - `node_status` string, required
    - `registered_address` string, required: The address the node joined with (`temps join --private-address`).
    - `registered_on_private_network` boolean, required: Whether that address is private: the node shares a private network with the control plane rather than only the internet.
    - `rx_bytes` integer, nullable
    - `tx_bytes` integer, nullable
  - `pool_cidr` string, required: The pool the mesh uses, or would use if turned on now: nodes get their mesh addresses from it. Unrelated to the compute pool.
  - `reason` string, nullable: Why the mesh is not ready, when it is not. Rendered verbatim.
  - `state` 'disabled' | 'starting' | 'ready', required: Whether the cluster's mesh is carrying traffic.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-11-26** `199b8052eb32`: 2 info
  - added the optional property `disable_blocker` to the response with the `200` status
  - added the required property `can_disable` to the response with the `200` status
- **2026-10-28** `c29436f6d27d`: 2 info
  - added the required property `ca_rotation_required` to the response with the `200` status
  - added the required property `pool_cidr` to the response with the `200` status
- **2026-10-05** `4b228ebed583`: 1 info
  - endpoint added
- **2026-10-05** `63a80791dc58`: 1 breaking
  - api path removed without deprecation
- **2026-10-04** `0af240880dca`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/nodes/wireguard/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
