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/metrics/wan/ping-stats \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "2025-10-29T10:00:00Z",
"to": "2025-10-29T11:00:00Z",
"tunnels": [
"9f9510bd-a425-4d9d-a7cf-f845a39e26db",
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
],
"datapoints": 50
}
'{
"timestamps": [
1761619200000,
1761619500000,
1761619800000
],
"data": [
{
"tunnel_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"latency": [
12.5,
13.1,
null,
12.8
],
"packet_loss": [
0,
0,
100,
0.1
],
"mdev": [
1.2,
1.5,
null,
1.3
]
}
]
}Fetches aggregated time-series data for latency, jitter (mdev), and packet loss for one or more WAN tunnels over a specified time period. If no tunnels are specified, it returns an aggregated average across all tunnels. This endpoint is optimized for creating performance charts with a specified number of data points.
curl --request POST \
--url https://v1.api.altostrat.io/metrics/wan/ping-stats \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "2025-10-29T10:00:00Z",
"to": "2025-10-29T11:00:00Z",
"tunnels": [
"9f9510bd-a425-4d9d-a7cf-f845a39e26db",
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
],
"datapoints": 50
}
'{
"timestamps": [
1761619200000,
1761619500000,
1761619800000
],
"data": [
{
"tunnel_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"latency": [
12.5,
13.1,
null,
12.8
],
"packet_loss": [
0,
0,
100,
0.1
],
"mdev": [
1.2,
1.5,
null,
1.3
]
}
]
}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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The start of the time window.
"2025-10-29T10:00:00Z"
The end of the time window.
"2025-10-29T11:00:00Z"
An array of WAN Tunnel UUIDs to query. If omitted, an aggregate of all tunnels is returned.
[
"9f9510bd-a425-4d9d-a7cf-f845a39e26db",
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
]The desired number of data points in the response. The data will be aggregated to match this count, up to a maximum of 100.
50
Was this page helpful?