Skip to main content
GET
/
metrics
/
mikrotik-stats-all
/
{siteId}
Get Recent Device Health Stats
curl --request GET \
  --url https://v1.api.altostrat.io/metrics/mikrotik-stats-all/{siteId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "uptime": "3d14h25m10s",
    "cpu": 15,
    "free_memory": 128.54,
    "free_hdd": 89.12,
    "created_at": "29 Oct 2025 12:59:33"
  }
]

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

siteId
string<uuid>
required

The unique identifier for the site.

Example:

"d8f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"

Response

A list of device health statistics.

uptime
string

The device's uptime.

Example:

"3d14h25m10s"

cpu
integer

The CPU load percentage.

Example:

15

free_memory
number<float>

Free memory in megabytes (MB).

Example:

128.54

free_hdd
number<float>

Free disk space in megabytes (MB).

Example:

89.12

created_at
string

The formatted timestamp when the stats were recorded.

Example:

"29 Oct 2025 12:59:33"