Skip to main content
GET
/
api
/
health
Health check
curl --request GET \
  --url https://app.dacard.ai/api/health
{
  "status": "healthy",
  "version": "0.1.0",
  "commit": "abc1234",
  "uptime_seconds": 123,
  "checks": {
    "database": {
      "status": "ok",
      "latency_ms": 123,
      "error": "<string>",
      "missing": [
        "<string>"
      ]
    },
    "auth": {
      "status": "ok",
      "latency_ms": 123,
      "error": "<string>",
      "missing": [
        "<string>"
      ]
    },
    "billing": {
      "status": "ok",
      "latency_ms": 123,
      "error": "<string>",
      "missing": [
        "<string>"
      ]
    },
    "scoring": {
      "status": "ok",
      "latency_ms": 123,
      "error": "<string>",
      "missing": [
        "<string>"
      ]
    },
    "env": {
      "status": "ok",
      "latency_ms": 123,
      "error": "<string>",
      "missing": [
        "<string>"
      ]
    }
  },
  "timestamp": "2023-11-07T05:31:56Z"
}

Response

All systems healthy

status
enum<string>

Overall system status

Available options:
healthy,
degraded
version
string

Application version

Example:

"0.1.0"

commit
string

Short git commit SHA

Example:

"abc1234"

uptime_seconds
integer

Seconds since process start

checks
object
timestamp
string<date-time>