Reference
Runtime API
Lightweight overview of the Downcity server-side runtime. For details, read the newer reference entry pages directly.
This page is kept as a lightweight overview. The new reading order is:
- Reference home: choose an entry by role first
- Federation
- HTTP API
- Environment variables
What Federation is responsible for
- initialize the Runtime database
- validate
user_token - expose a unified
/v1/*HTTP route space - register Service, AIService, and services through
base.use(service) - mount Service actions and service routes into the same
/v1/*space - connect usage, plans, balances, billing, logs, and risk control through hooks
Continue with Federation for concrete methods.