Health
health.health
This method returns the last set of health check results.
Method: POST
https://odyssey.nownodes.io/ext/health
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"health.health",
"params": {
"tags": ["11111111111111111111111111111111LpoYY", "29uVeLPJB1eQJkzRemU8g8wZDw5uJRqpab5U2mX9euieVwiEbL"]
}
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"checks": {
"A": {
"message": {
"engine": {
"consensus": {
"longestRunningBlock": "0s",
"outstandingBlocks": 0
},
"vm": null
},
"networking": {
"percentConnected": 1
}
},
"timestamp": "2024-11-22T15:52:00.133940019Z",
"duration": 4689
},
"D": {
"message": {
"engine": {
"consensus": {
"longestRunningBlock": "0s",
"outstandingBlocks": 0
},
"vm": null
},
"networking": {
"percentConnected": 1
}
},
"timestamp": "2024-11-22T15:52:00.133933236Z",
"duration": 10419
},
"O": {
"message": {
"engine": {
"consensus": {
"longestRunningBlock": "0s",
"outstandingBlocks": 0
},
"vm": null
},
"networking": {
"percentConnected": 1
}
},
"timestamp": "2024-11-22T15:52:00.13395644Z",
"duration": 6332
},
"bootstrapped": {
"message": [],
"timestamp": "2024-11-22T15:52:00.133959656Z",
"duration": 2595
},
"database": {
"timestamp": "2024-11-22T15:52:00.133954206Z",
"duration": 1613
},
"diskspace": {
"message": {
"availableDiskBytes": 10442838962176
},
"timestamp": "2024-11-22T15:52:00.133958764Z",
"duration": 6191
},
"network": {
"message": {
"connectedPeers": 75,
"sendFailRate": 0,
"timeSinceLastMsgReceived": "133.943025ms",
"timeSinceLastMsgSent": "5.133943025s"
},
"timestamp": "2024-11-22T15:52:00.13394583Z",
"duration": 4999
},
"router": {
"message": {
"longestRunningRequest": "0s",
"outstandingRequests": 0
},
"timestamp": "2024-11-22T15:52:00.133949457Z",
"duration": 2896
}
},
"healthy": true
},
"id": 1
}
health.readiness
This method returns the last evaluation of the startup health check results.
Method: POST
https://odyssey.nownodes.io/ext/health
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"health.readiness",
"params": {
"tags": ["11111111111111111111111111111111LpoYY", "29uVeLPJB1eQJkzRemU8g8wZDw5uJRqpab5U2mX9euieVwiEbL"]
}
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"checks": {
"bootstrapped": {
"message": [],
"timestamp": "2024-11-22T15:54:00.134549758Z",
"duration": 1483
}
},
"healthy": true
},
"id": 1
}
health.liveness
This method returns healthy.
Method: POST
https://odyssey.nownodes.io/ext/health
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"health.liveness"
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"checks": {},
"healthy": true
},
"id": 1
}
Last updated