API ReferenceStatus

Whether the site is working, check by check

GET
/api/health

Each check and the reading behind it. Never includes a secret or a database error's text.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/health"
{  "ok": true,  "integrations": {    "summary": {      "live": 0,      "fallback": 0,      "off": 0,      "client": 0,      "of": 0    },    "rows": [      {        "id": "string",        "name": "string",        "mode": "live",        "detail": "string",        "checkedAt": "2019-08-24T14:15:22Z"      }    ]  },  "build": "string",  "warnings": {    "count": 0,    "lastOkAt": "2019-08-24T14:15:22Z",    "fresh": true  },  "degraded": {    "source": "CPSC",    "since": "2019-08-24T14:15:22Z",    "lastGoodAt": "2019-08-24T14:15:22Z"  },  "checkedAt": "2019-08-24T14:15:22Z",  "paypal": {    "environment": "sandbox",    "webhookConfigured": true,    "lastVerifiedWebhookAt": "2019-08-24T14:15:22Z",    "toolkit": {      "version": "string",      "loaded": true,      "tools": [        "string"      ],      "baseUrl": "string",      "runs": "string"    }  },  "market": {    "lastOkAt": "2019-08-24T14:15:22Z",    "fresh": true  },  "checks": {    "database": true,    "webhook": true,    "lastPull": true,    "purge": true,    "poll": true,    "replay": true,    "logging": true  },  "database": {    "ok": true  }}