Check basic node health
Changed onBy 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
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/-/healthy
- Authnone declared
Query parameters
Threshold in seconds that the server can be behind to be considered healthy
If not provided, the healthcheck will always succeed
Response
Changes
- breaking
the mandatory response header
X-APTOS-BLOCK-HEIGHTremoved for the status200 - breaking
the mandatory response header
X-APTOS-CHAIN-IDremoved for the status200 - breaking
the mandatory response header
X-APTOS-EPOCHremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-VERSIONremoved for the status200 - breaking
the mandatory response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status200 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status500 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status503 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status500 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status503 - warning
the optional response header
X-APTOS-CURSORremoved for the status200 - warning
the optional response header
X-APTOS-EPOCHremoved for the status500 - warning
the optional response header
X-APTOS-EPOCHremoved for the status503 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status200 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status500 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status503 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status500 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status503
- breaking
- warning
added the new
rejected_by_filterenum value to theresponse property for the response status - warning
added the new
rejected_by_filterenum value to theresponse property for the response status
- warning