REST API Overview
FastAPI backend with auto-generated OpenAPI documentation.
Base URL defaults to http://127.0.0.1:8000 in local development. Set NEXT_PUBLIC_API_URL in the frontend to match your deployment.
Interactive reference
When the backend is running, use Swagger UI at
/docs or ReDoc at /redoc for live schema exploration.GET
/healthLiveness probe — returns service status.
API sections
Agents
CRUD, balances, funding, token reissue.
Chat
Chat, SSE stream, conversations.
Automations
Scheduled tasks, enable/disable, per-run relay stats.
Analytics
Relay stats, chain health, portfolio.
Authentication
Agent-scoped routes require the X-Agent-Access-Token header. See Authentication for issuance and reissue flows.