"The next AI economy will not be won by people with the most prompts. It will be won by people with the most defendable assets."
Swarm & Bee REST API — programmatic access to Defendable AI Assets.
The Swarm API exposes the bakery's order book, catalog, account lookup, and deed verification to programmatic clients. OpenAI-compatible inference lives at /inference; the bakery transactional API lives here.
Base URL and auth
- Apex base:
https://api.swarmandbee.ai - Apex bakery endpoints:
https://swarmandbee.ai/api/<name> - Authentication: API key in the
Authorization: Bearer <sb_live_...>header. Free tier available; paid tier for higher rate limits and priority routing.
Endpoints (selected)
POST /api/bakery-intake— submit an order. Auto-failover from CF Tunnel to Tailscale Funnel on the NAS shim. Returns BAK-* order ID + payload sha256 + receipt-email status.POST /api/account-lookup— read one order by (order_id, email).POST /api/orders-list— list all orders for an email (requires proof_order_id).GET /healthz— public health check, proxied from the sovereign NAS shim. Returns shim version, DB row count, ts.POST /api/canary— synthetic probe for the buy path. Used by the canary-watchdog Worker.
How to use it
Almost every customer-facing flow has a CLI wrapper at swarmbee-bakery — prefer that for individual buyers. Use the raw API for: server-side ordering, custom dashboards, programmatic catalog scraping, deed-receipt verification, batch order lookups, integration into procurement/ERP systems.
Full reference at /docs. Inquiries: [email protected].