Get detailed uptime information for application, process, and system
GET
/api/v1/uptime
curl \
--request GET 'http://localhost:3500/api/v1/uptime'
Response examples (200)
{
"application": {
"uptime_ms": 172800000,
"uptime_human": "2d 0h 0m 0s",
"started_at": "2025-09-23T10:30:00.000Z"
},
"process": {
"uptime_seconds": 172800,
"uptime_human": "2d 0h 0m 0s",
"pid": 12345
},
"system": {
"uptime_seconds": 259200,
"uptime_human": "3d 0h 0m 0s",
"loadavg": [
0.5,
0.6,
0.7
],
"totalmem": "8.00 GB",
"freemem": "2.45 GB"
}
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}