Documentation
Readiness & health
How to interpret GET /api/health flags without exposing secrets.
Endpoint
GET /api/healthReturns booleans only โ never secret values. Safe to call from the dashboard and this wiki.
Flags
| Field | Meaning |
|---|---|
ok | Worker is up |
mode | Always analysis-only in v1 |
version / builtAt | Deploy identity for changelog alignment |
d1 | D1 binding present |
durableObject | ChatSession DO binding present |
webhookSecret | ONLYFANSAPI_WEBHOOK_SECRET set |
adminToken | ADMIN_TOKEN set |
ofapiKey | ONLYFANSAPI_KEY set |
pipelineReady | D1 + DO + webhook secret + admin token โ can run core pipeline |
liveOfapiReady | pipelineReady and platform key present |
CLI probe
npm run ofapi:readiness asserts pipeline readiness without requiring a live key.Root catalog
GET / # or GET /api
# โ service metadata + routes mapAfter each API deploy, confirm new routes appear in the rootroutes object and updateAPI overview if anything changed.