System resource metrics
GET /v1/system-metrics — Process + system snapshot for the Dashboard System status row: CPU percent, memory RSS, agent workspace size (recursive
GET /v1/system-metrics
Process + system snapshot for the Dashboard System status row: CPU percent, memory RSS, agent workspace size (recursive walk of MINARA_DATA_DIR — not host-filesystem usage) + sandbox folder size, gateway network throughput (bytes in/out per second), and recency-weighted LLM token throughput (averaged across the most recently active sessions, not lifetime). Each metric ships a 60-sample history for an inline sparkline. Returns { disabled: true } when MINARA_SYSTEM_METRICS_DISABLED=1.
| Method | GET |
| Path | /v1/system-metrics |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | state |
Response body
{ "ts": 1747000000000, "cpu": { "process_percent": 18.4, "system_load_1m": 1.2, "cores": 8, "history": […] }, "memory": { "process_rss_mb": 642.1, "system_used_mb": 12480, "system_total_mb": 16384, "history": […] }, "disk": { "workspace_size_mb": 184.5, "sandbox_used_mb": 18.4, "history": […] }, "network": { "bytes_in_per_sec": 1024, "bytes_out_per_sec": 12288, "history_in": […], "history_out": […] }, "tokens": { "tps": 142.3, "input_per_sec": 80.1, "output_per_sec": 62.2, "sessions_in_window": 3, "last_turn_at": 1747000000000, "history": […] } }