{"service":"Lead Intelligence API","version":"2.0.0","status":"active","description":"Complete Lead Intelligence Platform with ML Models (with LeadIds), Geographical Analysis, Executive Dashboard + Lead Status Analytics","documentation":"/docs","features":{"ml_models":["Lead Scoring (0-100)","Churn Risk Prediction (0-100%)","Lead Segmentation","Smart Recommendations","LeadId tracking for all leads"],"geographical_analysis":["Country Performance","Regional Analysis","Market Recommendations","Market Concentration"],"dashboard":["Performance KPIs (WTD, MTD, YTD)","Trends Analysis (Last 6 Months)","Lead Conversion Funnel","Top Markets Analysis","Executive Summary"],"lead_status_analytics":["Hot/Cold Lead Classification","Conversion Rate Analysis","Avg Days to Close","Status Distribution","Status Comparison Matrix","Status Trends Over Time","Agent Performance by Status","Countries Summary with LeadIds","Lead Drilldown with LeadIds"]},"endpoints":{"ml_complete":"POST /api/v1/ml-models/run-analysis","ml_summary":"GET /api/v1/ml-models/summary","ml_top_leads":"GET /api/v1/ml-models/top-leads","ml_at_risk":"GET /api/v1/ml-models/at-risk-leads","ml_recommendations":"GET /api/v1/ml-models/recommendations","geo_complete":"POST /api/v1/geographical-analysis","geo_countries":"GET /api/v1/geographical-analysis/countries","geo_recommendations":"GET /api/v1/geographical-analysis/recommendations","dashboard_complete":"GET /api/v1/dashboard?date_filter=year","dashboard_kpis":"GET /api/v1/dashboard/kpis?date_filter=year","dashboard_trends":"GET /api/v1/dashboard/trends?date_filter=year","dashboard_funnel":"GET /api/v1/dashboard/funnel?date_filter=year","dashboard_markets":"GET /api/v1/dashboard/markets?date_filter=year","executive_summary":"GET /api/v1/executive-summary?date_filter=year","lead_status_complete":"GET /api/v1/lead-status-analytics","lead_status_overview":"GET /api/v1/lead-status-analytics/overview","lead_status_distribution":"GET /api/v1/lead-status-analytics/distribution","lead_status_comparison":"GET /api/v1/lead-status-analytics/comparison","lead_status_trends":"GET /api/v1/lead-status-analytics/trends","lead_status_agent_performance":"GET /api/v1/lead-status-analytics/agent-performance","lead_status_drilldown":"GET /api/v1/lead-status-analytics/drilldown?filter_type=all_countries","lead_status_countries":"GET /api/v1/lead-status-analytics/countries-summary","health":"GET /health"}}