Skip to content

Liveness probe (DB connectivity) plus the deployed version.

GET
/api/health
curl --request GET \
--url https://api.tradr.cloud/api/health

Runs SELECT 1 against the database. version is the deployed version string (e.g. v0.2.0-f51f9f5) baked into the image at build time via the APP_VERSION env; the field is omitted where unset (local dev).

{ status: “ok”, version? }

{ status: “error”, version? } — DB unreachable.