GET
/healthTrenger ingen sesjonSay which build is answering
Public. Always ok with the version and build id of the process that answered; the platform's liveness and readiness probes live beside it and are not part of the contract.
Parametre
Ingen parametre
Svar
- 200OK
application/jsonHealthResponse- Hoder
X-Trace-Id- — The W3C trace id of this request — the same id in the log and in the traceId of a problem. Quote it when reporting.
Server-Timing- — Where the time went: total, db;dur=…;desc="N queries", and every step the handler named (ADR-163).
X-Diagnostics- — Only when the request asked with X-Diagnostics: 1 or ?diagnostics=1: the same breakdown as one JSON object, with the trace id (ADR-163).
Eksempel
curl \
"https://bryti.app/health"Eksempel på svar
200
application/json{
"status": "string",
"version": "string",
"build": "string"
}