Health

GETCheck service health

Verify API liveness and database connectivity

GET/health
Check service health
curl --request GET \
  --url 'http://localhost:4000/health'
200
application/json
{}

Check service health

Use this endpoint as a liveness probe for a running FlagForge API instance. It checks that the API process is up and that the configured database is reachable, making it suitable for monitoring and container or process health checks.

When both checks succeed, the response reports an ok status and includes the process uptime. If the database check cannot complete, the response reports a degraded status and includes an error message.