Health check
GET
/health
const url = 'http://localhost:3000/health';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/healthMachine-only liveness probe. Deliberately returns nothing but { status: "ok" } — no version or edition is leaked, to defend against fingerprinting of the hosted product.
Responses
Section titled “ Responses ”Server is healthy
Media type application/json
object
status
required
string
Example
{ "status": "ok"}