Unreleased documentation. These pages follow the main branch and can change before the next release. For supported guidance, use v0.15.2.
Report process liveness without dependency access
GET
/health
const url = 'https://example.com/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 https://example.com/healthResponses
Section titled “Responses”Process is live
Media typeapplication/json
object
status
required
string
Example
{ "status": "ok"}Headers
Section titled “Headers”Cache-Control
string
Evidence responses are never cacheable.
X-Request-Id
string
Server-minted operation identifier for this request. It is generated by Evidence, never taken from the caller, and is the identifier a caller quotes to an operator. Problem responses repeat it in the operation member.