cURL
curl --request GET \
--url https://api.example.com/healthconst options = {method: 'GET'};
fetch('https://api.example.com/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true
}Gateway
Get health
GET
/
health
cURL
curl --request GET \
--url https://api.example.com/healthconst options = {method: 'GET'};
fetch('https://api.example.com/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true
}Response
200 - application/json
General status check for the server
Health response for an API service (gateway or indexer).
Success value.
Was this page helpful?