System Metrics
Get disk usage history
Historical filesystem usage across mountpoints with optional date range filtering
get/api/disk/history
Query parameters
fromstring date-time
Start date in ISO 8601 format (UTC timezone). If not provided, defaults to 1970-01-01T00:00:00Z.
tostring date-time
End date in ISO 8601 format (UTC timezone). If not provided, defaults to current time.
Response
Historical disk usage data
Example response
[
{
"time": "1700000000000",
"mount": "/",
"total": 500000000000,
"used": 250000000000,
"available": 250000000000,
"usedPercent": 50,
"human_friendly_time": "2024-01-15T10:00:00Z"
}
]