Skip to main content
GET
/
site
/
mikrotik-stats
/
{site}
Get Site Hourly Uptime Stats
curl --request GET \
  --url https://{appDomain}/site/mikrotik-stats/{site} \
  --header 'Authorization: Bearer <token>'
[
  {
    "time_formatted": "14:00",
    "date_formatted": "07 Apr",
    "missed_heartbeats_percentage": 10.5,
    "total_minutes_down": 6.3
  }
]

Authorizations

Authorization
string
header
required

Standard JWT token obtained via a separate authentication process. Required for most user-facing API endpoints.

Path Parameters

site
string<uuid>
required

The UUID of the Site.

Response

Hourly uptime statistics.

time_formatted
string

Hour and minute the statistic applies to (user's timezone).

Example:

"14:00"

date_formatted
string

Day and month the statistic applies to (user's timezone).

Example:

"07 Apr"

missed_heartbeats_percentage
number

Percentage of expected heartbeats missed during this hour (0-100).

Example:

10.5

total_minutes_down
number

Estimated minutes the site was down during this hour (0-60).

Example:

6.3

I