Skip to content

Health check

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

Database connected and healthy.

Media type application/json
object
status
required
string
Example
{
"status": "ok"
}

Database unreachable.

Media type application/json
object
code
required

Machine-readable error code (e.g. “not_found”, “tenant_mismatch”).

string
message
required

Human-readable description of the error.

string
details

Optional additional context about the error.

object
key
additional properties
any
notices

Policy notices from determining Cedar rules, if applicable.

Array<string>
Example generated
{
"code": "example",
"message": "example",
"details": {},
"notices": [
"example"
]
}