Server monitors

A value of null means unknown, for example because the server has never reported or the value is not measured. Measured values come from the last report (last_log_datetime). If is_offline is true, they are correspondingly old. If the server reports an error in gpu_error or is paused (is_enabled is false), gpu_count, is_unified_memory, gpus, the GPU measurements and, in health, the counters thermal, stall, ecc, remap, pcie and processes are null because there is no current measurement; the last recorded count is in gpu_count_expected. The other health fields and gpu_energy_wh keep their last state. On a paused server, all other measured values are old as well. Before the first report, is_offline is null as well. A gpu_count of 0 means the last report named no GPU; this also applies to older agents without GPU capture.

disks: disks per mount point from the last report, each entry with mount, filesystem, size_bytes, used_bytes, available_bytes and usage in percent (used / (used + available), as df shows it). At most 32 entries, fewer with long paths: / and the fullest. disks_count is the number of reported mount points; if it is larger than the number of entries in disks, the list is shortened. disks_count_is_minimum true: the agent shortened its list itself, there are at least disks_count mount points. Older agents send no list, then disks, disks_count and disks_count_is_minimum are null. If the agent could not read the list, they are null as well and the reason is in disks_error.

device_type: server (default) or workstation. For a workstation, is_offline: true means "off" (switched off): no outage and no alert. offline_datetime is then the last report before it was switched off. settings carries the type only for workstations.

gpus[].ecc_trend_since: start of an ongoing trend warning about corrected ECC errors of this GPU (UTC), otherwise null. The warning comes when the 24 h (current hour and the 23 hours before, UTC) reach at least 100 corrected ECC errors and 10 times the daily mean of the 14 days before; the history is kept per card (UUID). There is a mean, and therefore a warning, only once these 14 days contain at least 7 days with reports (after about 8 days of history at the earliest). gpus[].ecc_datetime, remapped_correctable_known and remapped_uncorrectable_known are comparison values for the next report (time of the last counter reading, last known remapped rows). health.remap counts the GPUs with pending or failed remapped rows, health.remap_failure the failed ones among them.

gpu_hour_cost: the stored cost per GPU hour in EUR, otherwise null. gpu_idle (only for server monitors with GPUs, otherwise null): idle time of the last 7 and 30 days up to now (shortened to the log retention of the plan), per period days, from and to (UTC), idle_gpu_hours (GPU hours with a utilization below 5 % in the measurement window), reported_gpu_hours (GPU hours with a known utilization), idle_cost (EUR, idle_gpu_hours times gpu_hour_cost, only with a stored cost) and pending. Only the stored reports count: a report stands for the time since the previous one, at most one reporting interval plus 10 %; times without a report do not count. Without a report with GPU utilization in the period, the values are null. pending is true while stored reports of the period have not been summarized yet (after setup or when the cron job has not run for a while); the values are null then.

GET https://peaknode.de/api/server-monitors/
curl --request GET \
--url 'https://peaknode.de/api/server-monitors/' \
--header 'Authorization: Bearer {api_key}' \
Parameters Details Description
search Optional String The search string.
search_by Optional String What field are you searching by. Allowed values are: name, target.
is_enabled Optional Boolean
device_type Optional String Allowed values: server, workstation
project_id Optional Integer
datetime_field Optional String Allowed values: datetime, last_datetime, last_log_datetime
datetime_start Optional String Filter results starting from this datetime. Y-m-d H:i:s format.
datetime_end Optional String Filter results up to this datetime. Y-m-d H:i:s format.
order_by Optional String What field to order the results by. Allowed values are: server_monitor_id, datetime, last_datetime, last_log_datetime, total_logs, cpu_usage, ram_usage, disk_usage, uptime, name.
order_type Optional String The ordering of the results. Allowed values are: ASC for ascending ordering, and DESC for descending ordering.
page Optional Integer The page number that you want results from. Defaults to 1.
results_per_page Optional Integer How many results you want per page. Allowed values are: 10, 25, 50, 100, 250, 500, 1000. Defaults to 25.
{
    "data": [
        {
            "id": 1,
            "user_id": 1,
            "project_id": 1,
            "name": "Example",
            "target": "Example",
            "notifications": [],
            "settings": [],
            "device_type": "server",
            "uptime": 1,
            "network_total_download": 1,
            "network_download": 1,
            "network_total_upload": 1,
            "network_upload": 1,
            "os_name": "Example",
            "os_version": "Example",
            "kernel_name": "Example",
            "kernel_version": "Example",
            "kernel_release": "Example",
            "cpu_architecture": "Example",
            "cpu_model": "Example",
            "cpu_cores": 1,
            "cpu_frequency": 1,
            "cpu_usage": 1.5,
            "ram_usage": 1.5,
            "ram_used": 1.5,
            "ram_total": 1.5,
            "ram_available": 1.5,
            "ram_cached": 1.5,
            "swap_used": 1.5,
            "swap_total": 1.5,
            "is_unified_memory": false,
            "disk_usage": 1.5,
            "disk_used": 1.5,
            "disk_total": 1.5,
            "disks": [{"mount": "/", "filesystem": "/dev/nvme0n1p2", "size_bytes": 1967317549056, "used_bytes": 412316860416, "available_bytes": 1455000686592, "usage": 22.08}],
            "disks_error": null,
            "disks_count": 1,
            "disks_count_is_minimum": false,
            "cpu_load_1": 1.5,
            "cpu_load_5": 1.5,
            "cpu_load_15": 1.5,
            "gpu_count": 1,
            "gpu_count_expected": 1,
            "gpu_model": "Example",
            "gpu_driver": "Example",
            "gpu_usage": 1.5,
            "gpu_memory_usage": 1.5,
            "gpu_memory_used": 1.5,
            "gpu_memory_total": 1.5,
            "gpu_temperature": 1.5,
            "gpu_power_draw": 1.5,
            "gpu_power_limit": 1.5,
            "gpus": [],
            "gpu_error": null,
            "gpu_energy_wh": 1.5,
            "energy_price_kwh": 1.5,
            "gpu_hour_cost": 2.5,
            "gpu_idle": [{"days": 7, "from": "2026-11-21 03:28:22", "to": "2026-11-28 03:28:22", "idle_gpu_hours": 12.5, "reported_gpu_hours": 1344, "idle_cost": 31.25, "pending": false}, {"days": 30, "from": "2026-10-29 03:28:22", "to": "2026-11-28 03:28:22", "idle_gpu_hours": 96.25, "reported_gpu_hours": 5760, "idle_cost": 240.63, "pending": false}],
            "health": {},
            "is_enabled": true,
            "is_offline": false,
            "offline_datetime": null,
            "online_datetime": null,
            "total_logs": 1,
            "last_log_datetime": null,
            "datetime": "2026-11-28 03:28:22",
            "last_datetime": null
        }
    ],
    "meta": {
        "page": 1,
        "total_pages": 1,
        "results_per_page": 25,
        "total_results": 1
    },
    "links": {
        "first": "https://peaknode.de/api/server-monitors?page=1",
        "last": "https://peaknode.de/api/server-monitors?page=1",
        "next": null,
        "prev": null,
        "self": "https://peaknode.de/api/server-monitors?page=1"
    }
}
GET https://peaknode.de/api/server-monitors/{server_monitor_id}
curl --request GET \
--url 'https://peaknode.de/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "user_id": 1,
        "project_id": 1,
        "name": "Example",
        "target": "Example",
        "notifications": [],
        "settings": [],
        "device_type": "server",
        "uptime": 1,
        "network_total_download": 1,
        "network_download": 1,
        "network_total_upload": 1,
        "network_upload": 1,
        "os_name": "Example",
        "os_version": "Example",
        "kernel_name": "Example",
        "kernel_version": "Example",
        "kernel_release": "Example",
        "cpu_architecture": "Example",
        "cpu_model": "Example",
        "cpu_cores": 1,
        "cpu_frequency": 1,
        "cpu_usage": 1.5,
        "ram_usage": 1.5,
        "ram_used": 1.5,
        "ram_total": 1.5,
        "ram_available": 1.5,
        "ram_cached": 1.5,
        "swap_used": 1.5,
        "swap_total": 1.5,
        "is_unified_memory": false,
        "disk_usage": 1.5,
        "disk_used": 1.5,
        "disk_total": 1.5,
        "disks": [{"mount": "/", "filesystem": "/dev/nvme0n1p2", "size_bytes": 1967317549056, "used_bytes": 412316860416, "available_bytes": 1455000686592, "usage": 22.08}],
        "disks_error": null,
        "disks_count": 1,
        "disks_count_is_minimum": false,
        "cpu_load_1": 1.5,
        "cpu_load_5": 1.5,
        "cpu_load_15": 1.5,
        "gpu_count": 1,
        "gpu_count_expected": 1,
        "gpu_model": "Example",
        "gpu_driver": "Example",
        "gpu_usage": 1.5,
        "gpu_memory_usage": 1.5,
        "gpu_memory_used": 1.5,
        "gpu_memory_total": 1.5,
        "gpu_temperature": 1.5,
        "gpu_power_draw": 1.5,
        "gpu_power_limit": 1.5,
        "gpus": [],
        "gpu_error": null,
        "gpu_energy_wh": 1.5,
        "energy_price_kwh": 1.5,
        "gpu_hour_cost": 2.5,
        "gpu_idle": [{"days": 7, "from": "2026-11-21 03:28:22", "to": "2026-11-28 03:28:22", "idle_gpu_hours": 12.5, "reported_gpu_hours": 1344, "idle_cost": 31.25, "pending": false}, {"days": 30, "from": "2026-10-29 03:28:22", "to": "2026-11-28 03:28:22", "idle_gpu_hours": 96.25, "reported_gpu_hours": 5760, "idle_cost": 240.63, "pending": false}],
        "health": {},
        "is_enabled": true,
        "is_offline": false,
        "offline_datetime": null,
        "online_datetime": null,
        "total_logs": 1,
        "last_log_datetime": null,
        "datetime": "2026-11-28 03:28:22",
        "last_datetime": null
    }
}
POST https://peaknode.de/api/server-monitors
Parameters Details Description
name Required String -
target Required String -
project_id Optional Integer -
notifications Optional Array Notification handler ids
server_check_interval_seconds Optional Integer Allowed values: 60, 300, 600, 900, 1800 (seconds)
alert_metric[key] Optional String Allowed values: cpu_usage, ram_usage, disk_usage, swap_usage, gpu_usage, gpu_memory_usage, gpu_temperature, gpu_idle_minutes, disk_mount_usage, cpu_temperature, inlet_temperature
alert_rule[key] Optional String Allowed values: is_higher, is_lower
alert_value[key] Optional String Allowed values: 1-100, gpu_temperature, cpu_temperature: 1-150, inlet_temperature: 1-80, gpu_idle_minutes: 1-10080
alert_trigger[key] Optional String Allowed values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
alert_mount[key] Optional String Only with disk_mount_usage: mount point of the rule, e.g. /data (Windows: C:). Empty or not sent: any mount point, with is_higher the fullest one counts, with is_lower the emptiest.
gpu_hour_cost Optional String Cost per GPU hour in EUR, 0 to 100000, at most 4 decimal places (dot or comma). Empty removes the cost, without the field it stays unchanged.
device_type Optional String server or workstation. Without the field: server on create, unchanged on update.
workstation_absent_days Optional Integer Only for workstation: one notice when the workstation has not reported for this many days. Whole number from 0 (no notice) to 90. Without the field the value stays unchanged.
is_enabled Optional Boolean -
curl --request POST \
--url 'https://peaknode.de/api/server-monitors' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'target=example.com' \
{
    "data": {
        "id": 1,
        "user_id": 1,
        "project_id": 1,
        "name": "Example",
        "target": "Example",
        "notifications": [],
        "settings": [],
        "device_type": "server",
        "uptime": 1,
        "network_total_download": "Example",
        "network_download": "Example",
        "network_total_upload": "Example",
        "network_upload": "Example",
        "os_name": null,
        "os_version": null,
        "kernel_name": null,
        "kernel_version": null,
        "kernel_release": null,
        "cpu_architecture": null,
        "cpu_model": null,
        "cpu_cores": "Example",
        "cpu_frequency": "Example",
        "cpu_usage": 1.5,
        "ram_usage": 1.5,
        "ram_used": 1.5,
        "ram_total": 1.5,
        "ram_available": 1.5,
        "ram_cached": 1.5,
        "swap_used": 1.5,
        "swap_total": 1.5,
        "is_unified_memory": false,
        "disk_usage": 1.5,
        "disk_used": 1.5,
        "disk_total": 1.5,
        "disks": [{"mount": "/", "filesystem": "/dev/nvme0n1p2", "size_bytes": 1967317549056, "used_bytes": 412316860416, "available_bytes": 1455000686592, "usage": 22.08}],
        "disks_error": null,
        "disks_count": 1,
        "disks_count_is_minimum": false,
        "cpu_load_1": 1.5,
        "cpu_load_5": 1.5,
        "cpu_load_15": 1.5,
        "gpu_count": 1,
        "gpu_count_expected": 1,
        "gpu_model": "Example",
        "gpu_driver": "Example",
        "gpu_usage": 1.5,
        "gpu_memory_usage": 1.5,
        "gpu_memory_used": 1.5,
        "gpu_memory_total": 1.5,
        "gpu_temperature": 1.5,
        "gpu_power_draw": 1.5,
        "gpu_power_limit": 1.5,
        "gpus": [],
        "gpu_error": null,
        "gpu_energy_wh": 1.5,
        "energy_price_kwh": 1.5,
        "gpu_hour_cost": 2.5,
        "gpu_idle": [{"days": 7, "from": "2026-11-21 03:28:22", "to": "2026-11-28 03:28:22", "idle_gpu_hours": 12.5, "reported_gpu_hours": 1344, "idle_cost": 31.25, "pending": false}, {"days": 30, "from": "2026-10-29 03:28:22", "to": "2026-11-28 03:28:22", "idle_gpu_hours": 96.25, "reported_gpu_hours": 5760, "idle_cost": 240.63, "pending": false}],
        "health": {},
        "is_enabled": true,
        "is_offline": false,
        "offline_datetime": null,
        "online_datetime": null,
        "total_logs": 1,
        "last_log_datetime": null,
        "datetime": "2026-11-28 03:28:22",
        "last_datetime": null
    }
}
POST https://peaknode.de/api/server-monitors/{server_monitor_id}
Parameters Details Description
name Required String -
target Required String -
project_id Optional Integer -
notifications Optional Array Notification handler ids
server_check_interval_seconds Optional Integer Allowed values: 60, 300, 600, 900, 1800 (seconds)
alert_metric[key] Optional String Allowed values: cpu_usage, ram_usage, disk_usage, swap_usage, gpu_usage, gpu_memory_usage, gpu_temperature, gpu_idle_minutes, disk_mount_usage, cpu_temperature, inlet_temperature
alert_rule[key] Optional String Allowed values: is_higher, is_lower
alert_value[key] Optional String Allowed values: 1-100, gpu_temperature, cpu_temperature: 1-150, inlet_temperature: 1-80, gpu_idle_minutes: 1-10080
alert_trigger[key] Optional String Allowed values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
alert_mount[key] Optional String Only with disk_mount_usage: mount point of the rule, e.g. /data (Windows: C:). Empty or not sent: any mount point, with is_higher the fullest one counts, with is_lower the emptiest.
gpu_hour_cost Optional String Cost per GPU hour in EUR, 0 to 100000, at most 4 decimal places (dot or comma). Empty removes the cost, without the field it stays unchanged.
device_type Optional String server or workstation. Without the field: server on create, unchanged on update.
workstation_absent_days Optional Integer Only for workstation: one notice when the workstation has not reported for this many days. Whole number from 0 (no notice) to 90. Without the field the value stays unchanged.
is_enabled Optional Boolean -
curl --request POST \
--url 'https://peaknode.de/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
{
    "data": {
        "id": 1,
        "user_id": 1,
        "project_id": 1,
        "name": "Example",
        "target": "Example",
        "notifications": [],
        "settings": [],
        "device_type": "server",
        "uptime": 1,
        "network_total_download": 1,
        "network_download": 1,
        "network_total_upload": 1,
        "network_upload": 1,
        "os_name": "Example",
        "os_version": "Example",
        "kernel_name": "Example",
        "kernel_version": "Example",
        "kernel_release": "Example",
        "cpu_architecture": "Example",
        "cpu_model": "Example",
        "cpu_cores": 1,
        "cpu_frequency": 1,
        "cpu_usage": 1.5,
        "ram_usage": 1.5,
        "ram_used": 1.5,
        "ram_total": 1.5,
        "ram_available": 1.5,
        "ram_cached": 1.5,
        "swap_used": 1.5,
        "swap_total": 1.5,
        "is_unified_memory": false,
        "disk_usage": 1.5,
        "disk_used": 1.5,
        "disk_total": 1.5,
        "disks": [{"mount": "/", "filesystem": "/dev/nvme0n1p2", "size_bytes": 1967317549056, "used_bytes": 412316860416, "available_bytes": 1455000686592, "usage": 22.08}],
        "disks_error": null,
        "disks_count": 1,
        "disks_count_is_minimum": false,
        "cpu_load_1": 1.5,
        "cpu_load_5": 1.5,
        "cpu_load_15": 1.5,
        "gpu_count": 1,
        "gpu_count_expected": 1,
        "gpu_model": "Example",
        "gpu_driver": "Example",
        "gpu_usage": 1.5,
        "gpu_memory_usage": 1.5,
        "gpu_memory_used": 1.5,
        "gpu_memory_total": 1.5,
        "gpu_temperature": 1.5,
        "gpu_power_draw": 1.5,
        "gpu_power_limit": 1.5,
        "gpus": [],
        "gpu_error": null,
        "gpu_energy_wh": 1.5,
        "energy_price_kwh": 1.5,
        "gpu_hour_cost": 2.5,
        "gpu_idle": [{"days": 7, "from": "2026-11-21 03:28:22", "to": "2026-11-28 03:28:22", "idle_gpu_hours": 12.5, "reported_gpu_hours": 1344, "idle_cost": 31.25, "pending": false}, {"days": 30, "from": "2026-10-29 03:28:22", "to": "2026-11-28 03:28:22", "idle_gpu_hours": 96.25, "reported_gpu_hours": 5760, "idle_cost": 240.63, "pending": false}],
        "health": {},
        "is_enabled": true,
        "is_offline": false,
        "offline_datetime": null,
        "online_datetime": null,
        "total_logs": 1,
        "last_log_datetime": null,
        "datetime": "2026-11-28 03:28:22",
        "last_datetime": null
    }
}
DELETE https://peaknode.de/api/server-monitors/{server_monitor_id}
curl --request DELETE \
--url 'https://peaknode.de/api/server-monitors/{server_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \