| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/admin/systemStats | GET | Yes |
Returns live runtime metrics: CPU and memory usage, load average, uptime, HTTP traffic counters, a per-minute history of the last hour, and resource counts. This powers the charts on the admin dashboard.
Unlike Storage Stats, this endpoint never walks the storage tree - it is cheap to call and safe to poll every few seconds.
{
"metrics": {
"uptimeSeconds": 86400.5,
"totalBytesIn": 3145935,
"totalBytesOut": 3146901,
"totalRequests": 1024,
"totalErrors": 3,
"processCPUPercent": 5.8,
"systemCPUPercent": 12.4,
"processMemoryBytes": 27623424,
"systemMemoryTotalBytes": 25769803776,
"systemMemoryAvailableBytes": 10094985216,
"loadAverage1": 1.42,
"loadAverage5": 1.87,
"loadAverage15": 2.05,
"coreCount": 12,
"history": [
{
"timestamp": "2026-07-01T21:09:00Z",
"bytesIn": 41,
"bytesOut": 400,
"requests": 2,
"errors": 1,
"cpuPercent": 4.2,
"memoryBytes": 27623424
}
]
},
"accessKeyCount": 4,
"sharedLinkCount": 2,
"oidcProviderCount": 1,
"multipartUploadCount": 0
}
metricsloadAverage5 and loadAverage15 follow the same pattern.timestamp, bytesIn, bytesOut, requests, errors, and (once sampled) cpuPercent and memoryBytes averages for that minute.curl -X GET "{API_BASE_URL}/api/v1/admin/systemStats" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "X-Secret-Key: YOUR_SECRET_KEY"