System Metrics
Get CPU usage history
Retrieve historical CPU usage data with optional date range filtering
get/api/cpu/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 CPU usage data
Example response
[
{
"time": "1700000000000",
"percent": "25.5",
"human_friendly_time": "2024-01-15T10:00:00Z"
}
]