Skip to main content
GET
/
tunnel
/
{site_id}
Get Tunnel/Site Details
curl --request GET \
  --url https://api.altostrat.io/content/tunnel/{site_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ip_address": "127.0.0.1",
  "created_at": "07 Apr 2025 09:00:21",
  "policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "policy_name": "<string>",
  "dnr_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dns_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dns_online": true,
  "dnr_online": true,
  "dnr_policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dnr_policy_name": "<string>"
}

Authorizations

Authorization
string
header
required

Enter the Bearer token (obtained via authentication or provided internally).

Path Parameters

site_id
string<uuid>
required

Response

Tunnel/Site details. Returns default object if not found for this customer/site.

id
string<uuid>

The Site ID associated with the tunnel.

ip_address
string<ipv4> | null
created_at
string | null

Tunnel creation timestamp (timezone adjusted by resource).

Example:

"07 Apr 2025 09:00:21"

policy_id
string<uuid> | null

UUID of the attached DNS policy.

policy_name
string | null

Name of the attached DNS policy.

dnr_subscription_id
string<uuid> | null
dns_subscription_id
string<uuid> | null
dns_online
boolean | null

Status of the DNS tunnel endpoint.

dnr_online
boolean | null

Status of the BGP/DNR tunnel endpoint.

dnr_policy_id
string<uuid> | null

UUID of the attached BGP/DNR policy.

dnr_policy_name
string | null

Name of the attached BGP/DNR policy.

I