# Backend The backend exposes v3 P0 APIs through AstrBot plugin extension routes. Initial backend tasks: - Common response DTO and error code handling. - Request context, permission checks, and request id creation. - Audit logging foundation. - Database helper and migration runner. - Route modules for `ui/bootstrap`, `dashboard/summary`, profiles, workflows, nodes, images, jobs, settings, storage, media, and web hosting. Do not start a separate web server. Register routes through AstrBot plugin extension APIs.