Statistics
Base: /api/stats
JVM memory and processor figures
Handler: StatsHandler
GET
/api/stats
Get statistics
Returns heap usage, free and maximum memory and available processors.
Response Example
{
"memory_used_mb": 512,
"memory_max_mb": 4096,
"memory_free_mb": 1500,
"processors": 8,
"uptime_ms": 4200000
}
cURL
curl -X GET 'http://localhost:5550/api/stats' \
-H 'X-Admin-Token: YOUR_TOKEN'
Internal Behavior
Reads the JVM runtime counters directly.