Public alpha. Stripe Live in ~2 weeks. → Get on the launch list
HTTP APIOverview

HTTP API — overview

Status: stub. Day 3 deliverable.

The control plane exposes a Hono-based JSON API at https://api.worker-os.com.

  • Authentication: Bearer key in Authorization header. Key minted via POST /api/v1/signup. The raw key is returned exactly once — the database stores only SHA-256(key).
  • Edge defense: every metered route passes through the L−1 plane (R1–R6 — see /architecture/edge-defense). Anonymous traffic is clamped to zero on metered routes.
  • Glass-Box: every successful decision result is persisted verbatim to the audit log. The full trace (every fact, every evaluated rule) is reconstructible from the row alone.

Endpoint catalogue

MethodPathAuth
POST/api/v1/signupnone
POST/api/v1/lintnone
POST/api/v1/policiesbearer
GET/api/v1/policies/:policy_idbearer
POST/api/v1/policies/:policy_id/decidebearer
POST/api/v1/decidebearer
GET/api/v1/audit/logsbearer
GET/api/v1/audit/policy-commitsbearer
GET/api/v1/audit/l4-overridesbearer
POST/api/v1/stripe/webhookStripe signature
GET/healthnone