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/sites/{siteId}/mikrotik-stats \
--header 'Authorization: Bearer <token>'[
{
"created_at": "2025-10-29T11:47:00Z",
"cpu_load": 15,
"memory_free": 876543210,
"disk_free": 123456789,
"uptime": 312780
}
]Fetches time-series performance metrics (CPU, memory, disk, uptime) for a site within a specified date range. For ranges over 48 hours, data is automatically aggregated hourly to ensure a fast response. For shorter ranges, raw data points are returned.
curl --request GET \
--url https://v1.api.altostrat.io/sites/{siteId}/mikrotik-stats \
--header 'Authorization: Bearer <token>'[
{
"created_at": "2025-10-29T11:47:00Z",
"cpu_load": 15,
"memory_free": 876543210,
"disk_free": 123456789,
"uptime": 312780
}
]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.
Authenticate requests by providing a JSON Web Token (JWT) in the Authorization header. Example: Authorization: Bearer <YOUR_JWT>
The UUID of the site.
The start date for the query range (inclusive).
"2025-10-28"
The end date for the query range (inclusive).
"2025-10-29"
A list of performance metric snapshots.
The timestamp when these stats were recorded.
"2025-10-29T11:47:00Z"
The CPU load percentage.
15
The amount of free memory in bytes.
876543210
The amount of free disk space in bytes.
123456789
The device uptime in seconds.
312780
Was this page helpful?