Skip to main content

Health status of the fullnode

GET 

/health

Returns 200 if the fullnode should be considered healthy.

Returns 503 otherwise. The response will contain the components that were considered for the healthcheck and the reason why they were unhealthy.

Returning 503 with a response body is not the standard behavior for our API, but it was chosen because most healthcheck tools expect a 503 response code to indicate that the service is unhealthy.

Optionally, there is a query parameter 'strict_status_code' that can be used to return 200 even if the fullnode is unhealthy. When its value is 1, the response will always be 200.

We currently perform 2 checks in the sync mechanism for the healthcheck:

  1. Whether the fullnode has recent block activity, i.e. if the fullnode has blocks with recent timestamps.
  2. Whether the fullnode has at least one synced peer

Request

Query Parameters

    strict_status_code string

    Enables strict status code. If set to 1, the response will always be 200.

Responses

Healthy

Schema

    any

Loading...