Saltar al contenido principal
GET
/
v1
/
monitoring
/
mikrotik-stats-all
/
{siteId}
Obtener Estadísticas Recientes de Salud del Dispositivo
curl --request GET \
  --url https://api.altostrat.io/v1/monitoring/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"
  }
]

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

El identificador único para el sitio.

Example:

"d8f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"

Response

Una lista de estadísticas de salud del dispositivo.

uptime
string

El tiempo de actividad del dispositivo.

Example:

"3d14h25m10s"

cpu
integer

El porcentaje de carga de la CPU.

Example:

15

free_memory
number

Memoria libre en megabytes (MB).

Example:

128.54

free_hdd
number

Espacio libre en disco en megabytes (MB).

Example:

89.12

created_at
string

La marca de tiempo formateada de cuando se registraron las estadísticas.

Example:

"29 Oct 2025 12:59:33"