Ga naar inhoud

Health of the connector

GET
/healthz
curl --request GET \
--url https://example.com/healthz

Public, for probes. status is degraded when the database or the evidence log fails: without evidence no protocol message gets through. The components also cover Redis, anchoring, the data plane and the authority. Always answers 200.

  • None

OK.

Media typeapplication/json

/healthz: documents the JSON built in [healthz].

object
status
required

ok or degraded.

string
did
required
string
version
required
string
components
required

Per component (database, redis, evidence, anchoring, dataplane, authority): ok, degraded or down.

object
key
additional properties
string

Example generated

{
"status": "example",
"did": "example",
"version": "example",
"components": {
"additionalProperty": "example"
}
}