All API routes are served under /api and implemented via Next.js 15 Route Handlers (apps/web/src/app/api/**/route.ts). Endpoints enforce JSON schemas via Zod and communicate with PostgreSQL through @moi/database.
Integration Architecture
HTTP endpoints, Next.js App Router API structure, and package boundaries.