Skip to main content
GET
/
{site_id}
/
tunnel
/
{id}
Show a single tunnel
curl --request GET \
  --url https://api.altostrat.io/{site_id}/tunnel/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tunnel_ip": "127.0.0.1",
  "name": "<string>",
  "priority": 123,
  "isp": "<string>",
  "isp_country": "<string>",
  "isp_asn": 123,
  "type": "fibre",
  "gateway": "127.0.0.1",
  "interface": "<string>",
  "wan_ip": "127.0.0.1",
  "anycast_ip": "127.0.0.1",
  "profile_ip": "127.0.0.1",
  "wan_provider_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "wan_provider_name": "<string>",
  "connected": true,
  "latency": 123,
  "packet_loss": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

site_id
string<uuid>
required

Site UUID

id
string<uuid>
required

Tunnel UUID

Response

Tunnel found

id
string<uuid>
tunnel_ip
string<ipv4>

Internal IP assigned to the tunnel

name
string
priority
integer
isp
string | null
isp_country
string | null
isp_asn
integer | null
type
enum<string>
Available options:
fibre,
copper,
3g,
4g,
lte,
5g,
ethernet,
coaxial,
vsat,
microwave,
other
gateway
string<ipv4> | null
interface
string | null
wan_ip
string<ipv4> | null
anycast_ip
string<ipv4> | null
profile_ip
string<ipv4> | null

Internal routing IP if used

wan_provider_id
string<uuid> | null
wan_provider_name
string | null
connected
boolean
latency
number

Placeholder for average latency

packet_loss
number

Placeholder for packet loss percentage

I