Skip to content

Get network health status

GET
/api/v1/network/health
curl --request GET \
--url http://localhost:8080/api/v1/network/health \
--header 'X-Signature: <X-Signature>'

Get health status of the mesh network and this node

Health status retrieved successfully

Media typeapplication/json
object
success
boolean
status

Overall health status

string
Allowed values: healthy degraded unhealthy
uptime

Human-readable uptime

string
checks
object
dhtReachable

DHT is reachable

boolean
storageWritable

Storage is writable

boolean
peersConnected

Peers are connected

boolean
memoryOk

Memory usage is acceptable

boolean
Example
{
"success": true,
"status": "healthy",
"uptime": "1d 2h 30m 45s",
"checks": {
"dhtReachable": true,
"storageWritable": true,
"peersConnected": true,
"memoryOk": true
}
}

Internal Server Error

Media typeapplication/json
object
error

Error type

string
message

Human-readable error description

string
code

Optional error code

string
Example
{
"error": "Internal server error",
"message": "An unexpected error occurred"
}