Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request POST \
--url https://v1.api.altostrat.io/wan/{site_id}/tunnel/gateways \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"interface": "ether1-wan"
}
'[
{
"gateway": "198.51.100.1",
"is_dhcp": false
}
]For a given router interface, this endpoint attempts to detect eligible upstream gateway IP addresses. This helps automate the process of finding the correct gateway IP for a tunnel configuration.
curl --request POST \
--url https://v1.api.altostrat.io/wan/{site_id}/tunnel/gateways \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"interface": "ether1-wan"
}
'[
{
"gateway": "198.51.100.1",
"is_dhcp": false
}
]Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Enter your JWT in the format: Bearer
The unique identifier for the site.
"9c69345c-8d39-4786-9f17-8153c988c89a"
The name of the interface on the router to query.
"ether1-wan"
Was this page helpful?