Health

GET /v1/health — uptime check with database connectivity and last sync timestamp.

GET /v1/health

Check API health status, version, and last sync timestamp.

Example

curl https://api.philidor.io/v1/health

Response

{
  "data": {
    "status": "ok",
    "version": "1.0.0",
    "vaultCount": 851,
    "lastSync": "2026-07-01T12:00:00Z",
    "timestamp": "2026-07-01T12:00:15Z",
    "lastScoreRun": {
      "completedAt": "2026-07-01T12:00:00Z",
      "failSafeMode": "normal"
    },
    "assetRegistryCoverage": {
      "totalExposures": 1200,
      "withAssetVersion": 1190,
      "coveragePercent": 99.2
    },
    "assetRegistryQueueBacklog": 0
  }
}

Use this endpoint for uptime monitoring and to verify the API is reachable.

On this page

Raw