const url = 'http://localhost:8000/healthz';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:8000/healthz
Liveness for Docker: the process answers. Public, even when API keys protect /v1/*. Async, so it answers while every worker thread is busy (a full thread pool is not a dead process); readiness is /readyz.
Successful Response
{}
On this page