The web app is a client of a public HTTP API, and everything it does can be done with curl. The full spec is docs/openapi.json (OpenAPI 3.1, 69 public operations plus 9 internal ones the engine calls): open it in Swagger Editor or any OpenAPI viewer to read every route and try it against the hosted API. Every server-sent event type is described in docs/api-contract.md §3.
  • Base URL: http://api-hellopie.43-159-63-76.sslip.io (Base Sepolia), or http://localhost:4000.
  • Auth: a session cookie, hf_session. Get one with POST /v1/auth/demo (guest, no wallet) or with an EVM wallet: POST /v1/auth/challenge, build and sign the Sign-In with Ethereum message (EIP-4361), then POST /v1/auth/login with { message, signature }. curl works as is (no Origin header); a browser page on another site gets 403 for any call that changes something (CSRF protection).
  • Streams: chat, approve/decline, workflow runs and attack runs answer text/event-stream: run.started, text.delta, tool.called, tool.result, tool.approval_required, run.finished, run.verified and more.
  • Sign-in is wallet only. Guest mode (POST /v1/auth/demo) is off and answers 404; a guest session from before is signed out. Every account gets 5 free prompts (freePromptsLeft in GET /v1/credits), then runs need credits (402 insufficient_credits).
  • Checked live: the last column marks the endpoints called against the hosted API on 12 Nov 2026 (with the guest sessions of that time) and answered as documented, before the move to Base; the wallet, credits, identity and x402 routes are new and covered by the backend’s integration tests.
System Auth Catalog Minds Chat Runs Approvals Verification Wallet (the Mind’s Bloxchain governed account) Credits (pay as you go) Identity Paid API (x402) Internal (the engine’s money tools; loopback only, engine key and wallet token) POST /internal/v1/wallet/send_payment, GET …/balance, GET …/payments, POST …/x402_fetch, …/fx_quote, …/fx_swap, …/bridge_quote, …/bridge_send, …/topup_credits. Each money move goes through the Mind’s role on its Bloxchain governed account: the backend checks the daily cap before broadcasting, and the on-chain whitelist rejects any other target or function. Details in docs/api-contract.md §2. Memory Email Autopilot Connections Telegram Secrets Attack playground