Provides uptime/downtime metrics for the past 24 hours based on heartbeats.
cURL
curl --request GET \ --url https://api.altostrat.io/api/routers/{router_id}/metrics \ --header 'Authorization: Bearer <token>'
{ "status": "<string>", "data": [ { "date": "<string>", "minutes_down": 123, "percentage_down": 123 } ] }
Use the Authorization: Bearer <token> header format
Authorization: Bearer <token>
The UUID of the router.
Metrics data array
The response is of type object.
object
Was this page helpful?