Server-side prompts and data for the GONZOCLAW keychain apps. Bundles live in R2, entitlements in D1, and a caller’s own API key is relayed straight through to the model — so the sauce never leaves this infrastructure, and no laptop is ever a runtime dependency.
| GET /health | liveness, plus D1 and KV probes. Public. |
| GET /v1/me | the calling identity and its entitlements. |
| POST /v1/session | exchange a short-lived grant for a session token. |
| POST /v1/key/test | validate a user key before you rely on it. |
| POST /v1/… | /v1/<app>/<capability> — run one capability. |
| GET /sdk/… | /sdk/latest/sauce.js and /sdk/versions.json. |
Everything but /health and /sdk/ needs a credential.
Browsers get one through /v1/session; they never hold a raw key.