"""API for Architect Governance Center.""" try: from fastapi import APIRouter except Exception: APIRouter = None from .architect_governance_dashboard import ArchitectGovernanceDashboard dashboard = ArchitectGovernanceDashboard() def get_architect_governance_overview(): return dashboard.overview() def build_router(): if APIRouter is None: return None router = APIRouter(prefix="/admin/ai-evolution/architect", tags=["architect-governance"]) @router.get("/overview", operation_id="getArchitectGovernanceOverview") def overview(): return get_architect_governance_overview() return router router = build_router() __all__ = ["router", "get_architect_governance_overview"]