Tunnel Get tunnel health status
GET
/api/tunnel/health

Authentication

Bearer Token (BearerAuth)

Headers

X-Target-Serverstringrequired

Internal IP and port of the pt-agent instance (e.g. 10.10.0.26:9741)


Responses

200
Tunnel health

Response Fields:

  • connected_gateways (integer)

  • public_ip (string)

  • routes (object[])

  • total_tokens (integer)

Example:

{
  "connected_gateways": 0,
  "public_ip": "string",
  "routes": [
    {}
  ],
  "total_tokens": 0
}