API reference
Application endpoints for assets, market, agents, engine, and status.
#Endpoints
| Method | Path | Purpose |
|---|---|---|
| GET | /api/assets | Active Stock Token metadata |
| GET | /api/market | Current normalized quote snapshot |
| GET | /api/agents | Built-in and published definitions |
| POST | /api/agents | Publish a validated definition |
| GET | /api/engine | Runtime state and decisions |
| GET | /api/status | Dynamic system health |
#Conventions
JSON responses use ISO timestamps. Missing financial values are null rather than zero. Error responses use non-2xx status and a literal error message where applicable.
#Schema source
Endpoint examples below mirror the current route handlers and TypeScript types. The reference intentionally omits fields that are not returned.