from fastapi import APIRouter from api.stored_data import stored_data from src.genai.orchestration_agent.utils.utils import show_analytics router=APIRouter() @router.post("/show-analytics") def show_analytics_endpoint(): response = show_analytics(stored_data['business_details']) return {'response': response}