---
title: "Check basic node health"
method: GET
path: "/-/healthy"
tags: ["General"]
---

# Check basic node health

`GET /-/healthy`

By default this endpoint just checks that it can get the latest ledger
info and then returns 200.

If the duration_secs param is provided, this endpoint will return a
200 if the following condition is true:

`server_latest_ledger_info_timestamp >= server_current_time_timestamp - duration_secs`

## Query parameters

- `duration_secs` integer

## Response `200`

- HealthCheckSuccess — Representation of a successful healthcheck
  - `message` string, required

## Other responses

- `500`
- `503`

## Changes

- **2023-05-16** `28d6217d1579` — 2 warning
  - added the new `state_value_not_found` enum value to the `error_code` response property for the response status `500`
  - added the new `state_value_not_found` enum value to the `error_code` response property for the response status `503`

[Change history](https://skmtc.dev/pontem-network/apis/lumio-node-api/changes/-/healthy/get.md)

---

[API](https://skmtc.dev/pontem-network/apis/lumio-node-api.md) · [All operations](https://skmtc.dev/pontem-network/apis/lumio-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pontem-network/lumio-node-api/revisions/fa2eb0569bc4/schema)
