Whether the server answers
LogsGET /status
Answers {"status":"ok"} while the server is up, for apps that show whether they can reach it (the desktop app's online state). It reports nothing about dependencies or the version: the health and readiness probes (/livez, /readyz, /healthz) are served on the internal metrics listener only.
Returns
200 The server is up
Show attributes
statusone of
ok
curl -X GET "$PUBLIC_API/status"
# No matching CLI command; use cURL or direct HTTP.
const res = await fetch("$PUBLIC_API/status", {
method: "GET"
});
const data = await res.json();
import requests
res = requests.get(
"$PUBLIC_API/status"
)
data = res.json()
req, _ := http.NewRequest("GET", "$PUBLIC_API/status", nil)
resp, err := http.DefaultClient.Do(req)
Response 200
{
"status": "ok"
}