Health Checks

Health and readiness endpoints for AskVerdict API: /v1/health and /health.

1 min read
Share

AskVerdict exposes two health endpoints:

  • /v1/health for public API consumers
  • /health for deeper service readiness checks

GET /v1/health

GET/v1/health

Public v1 health endpoint. No authentication required.

Use this for uptime probes on your public API integration path.

Example Request

bash
curl https://api.askverdict.ai/v1/health

Response

GET /health

GET/health

Service-level health endpoint with database status and process uptime.

This route is useful for internal readiness checks and infrastructure monitoring.

Example Request

bash
curl https://api.askverdict.ai/health

Responses

Error / Status Semantics

EndpointStatus CodeMeaning
/v1/health200Public v1 API process is reachable
/health200API process + DB connectivity healthy
/health503API process reachable but DB check failed

Monitoring recommendation

Use /v1/health for external availability alerts and /health for internal readiness and DB dependency alerts.

Was this page helpful?