GET
/health
Health check — always 200 OK
GET
/ready
Readiness — DB backend + cache stats
GET
/metrics
Prometheus metrics (auth_login_success, live_cache_*, etc.)
GET
/bridge/status
System health summary for frontend
POST
/auth/login
Login with username/password → session cookie
POST
/auth/logout
Logout & clear session
POST
/auth/change-password
Change own password (require login)
GET
/auth/token-profiles
List encrypted token profiles (multi-account)
POST
/live/accounts
Fetch FB ad accounts (live from Graph API)
POST
/live/dashboard
Build dashboard bundle — since/until/scope
GET
/demo/login
Login UI (HTML)
GET
/demo/live-dashboard
Live Dashboard UI (HTML)
GET
/demo/api-guide
Interactive API testing guide
GET
/demo/change-password
Change password UI