The HelloPie backend API is described by an OpenAPI 3 spec, kept in the repository at docs/openapi.json and rendered from it in the Endpoints tab of this site, where each route has a playground that can call the hosted API. The prose contract, with every field and event, is docs/api-contract.md.
  • Server: https://api.hellopie.xyz (Base Sepolia), or http://localhost:4000 when you run it locally.
  • Auth: every route except health, status, chain and auth needs the session cookie hf_session. Sign in with an EVM wallet (Sign-In with Ethereum, EIP-4361): POST /v1/auth/challenge, sign the message, POST /v1/auth/login. Guest mode (POST /v1/auth/demo) is off. Routes under /internal/ are for the engine on the same machine and answer 404 from anywhere else.
  • Errors: { error, ...details } with an HTTP status. See Errors.
  • Streams: chat, approval and workflow runs answer with server-sent events. See Streaming events.
A worked example with curl is in the Quickstart, and every route in a table is in the API overview.