Skip to content

Liveness + DB readiness

GET
/health
curl --request GET \
--url https://beta-api.plune.ai/health

Returns 200 when the app is up AND its database is reachable, else 503. Also reports the outbound-email state, which is informational and does not affect the status code.

Up

Media type application/json
object
status
required
string
Allowed values: ok degraded
db
required
string
Allowed values: up down
email
required

Outbound sign-in email. armed — a provider is configured and the last send succeeded; failing — configured but the last send was rejected; log — no provider, links go to the server log. Informational only: it never changes the status code.

string
Allowed values: armed failing log
door
required

Who may open a NEW account. invite-only — an allowlist is configured and only the addresses on it (plus everyone who already has an account) can sign up; open — no list, anyone who can receive mail can. Informational, like email: it is here so that a deployment where the list failed to arrive can be told apart from one where it was never meant to.

string
Allowed values: invite-only open
Example
{
"status": "ok",
"db": "up",
"email": "armed",
"door": "invite-only"
}

Degraded (DB unreachable)

Media type application/json
object
status
required
string
Allowed values: ok degraded
db
required
string
Allowed values: up down
email
required

Outbound sign-in email. armed — a provider is configured and the last send succeeded; failing — configured but the last send was rejected; log — no provider, links go to the server log. Informational only: it never changes the status code.

string
Allowed values: armed failing log
door
required

Who may open a NEW account. invite-only — an allowlist is configured and only the addresses on it (plus everyone who already has an account) can sign up; open — no list, anyone who can receive mail can. Informational, like email: it is here so that a deployment where the list failed to arrive can be told apart from one where it was never meant to.

string
Allowed values: invite-only open
Example
{
"status": "ok",
"db": "up",
"email": "armed",
"door": "invite-only"
}