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 GET \
--url https://v1.api.altostrat.io/metrics/mikrotik-stats/{siteId} \
--header 'Authorization: Bearer <token>'[
{
"time_formatted": "12:00",
"date_formatted": "29 Oct",
"missed_heartbeats_percentage": 0,
"total_minutes_down": 0
}
]Retrieves the device’s heartbeat and connectivity status over the past 24 hours, aggregated hourly. This helps identify periods of downtime or missed check-ins.
curl --request GET \
--url https://v1.api.altostrat.io/metrics/mikrotik-stats/{siteId} \
--header 'Authorization: Bearer <token>'[
{
"time_formatted": "12:00",
"date_formatted": "29 Oct",
"missed_heartbeats_percentage": 0,
"total_minutes_down": 0
}
]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 unique identifier for the site.
"d8f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"
A list of hourly heartbeat status reports.
The hour of the heartbeat check.
"12:00"
The date of the heartbeat check.
"29 Oct"
The percentage of the hour that the device was considered down due to missed heartbeats.
0
The total number of minutes the device was considered down during this hour.
0
Was this page helpful?