All docs
DOCS api / endpoints

GET /health

Check API and dependency health.

Health Check

Endpoint: GET /health

This endpoint is public — no authentication required.

Response (200 OK — healthy)

{
  "status": "ok",
  "service": "social-publisher-api",
  "timestamp": "2026-03-23T18:00:00.000Z",
  "checks": {
    "redis": "ok"
  }
}

Response (503 Service Unavailable — degraded)

Returned when Redis is unreachable:

{
  "status": "degraded",
  "service": "social-publisher-api",
  "timestamp": "2026-03-23T18:00:00.000Z",
  "checks": {
    "redis": "error"
  }
}

Use this endpoint for uptime monitoring and load balancer health checks.