{
  "status": "healthy",
  "timestamp": "2026-07-05T05:10:12.160811",
  "groups": [
    {
      "name": "Platform Core",
      "status": "healthy",
      "healthy_count": 3,
      "total": 3,
      "services": [
        {
          "name": "Website Core",
          "status": "healthy",
          "response_time_ms": 4,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": true
        },
        {
          "name": "Home Screen",
          "status": "healthy",
          "response_time_ms": 5,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": false
        },
        {
          "name": "Database (PostgreSQL)",
          "status": "healthy",
          "response_time_ms": 1,
          "last_check": "2026-07-05T05:04:02",
          "error": false,
          "critical": true
        }
      ]
    },
    {
      "name": "Community Dashboard",
      "status": "healthy",
      "healthy_count": 4,
      "total": 4,
      "services": [
        {
          "name": "Community Dashboard - Home",
          "status": "healthy",
          "response_time_ms": 226,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": true
        },
        {
          "name": "Community Dashboard - Map",
          "status": "healthy",
          "response_time_ms": 126,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": true
        },
        {
          "name": "Community Dashboard - Search",
          "status": "healthy",
          "response_time_ms": 160,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": false
        },
        {
          "name": "Community Dashboard - Insights",
          "status": "healthy",
          "response_time_ms": 134,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "Dashboard",
      "status": "healthy",
      "healthy_count": 4,
      "total": 4,
      "services": [
        {
          "name": "Dashboard Check 1",
          "status": "healthy",
          "response_time_ms": 2,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": true
        },
        {
          "name": "Dashboard Check 2",
          "status": "healthy",
          "response_time_ms": 1,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": true
        },
        {
          "name": "Dashboard Check 3",
          "status": "healthy",
          "response_time_ms": 1,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": true
        },
        {
          "name": "Dashboard Check 4",
          "status": "healthy",
          "response_time_ms": 2,
          "last_check": "2026-07-05T05:03:56",
          "error": false,
          "critical": true
        }
      ]
    },
    {
      "name": "Learning Academy",
      "status": "healthy",
      "healthy_count": 2,
      "total": 2,
      "services": [
        {
          "name": "Learning Academy - Home",
          "status": "healthy",
          "response_time_ms": 194,
          "last_check": "2026-07-05T05:03:57",
          "error": false,
          "critical": true
        },
        {
          "name": "Learning Academy - All Courses",
          "status": "healthy",
          "response_time_ms": 215,
          "last_check": "2026-07-05T05:03:57",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "Mizan Compass",
      "status": "healthy",
      "healthy_count": 3,
      "total": 3,
      "services": [
        {
          "name": "Mizan Compass - Home",
          "status": "healthy",
          "response_time_ms": 138,
          "last_check": "2026-07-05T05:03:57",
          "error": false,
          "critical": true
        },
        {
          "name": "Mizan Compass - Rankings",
          "status": "healthy",
          "response_time_ms": 129,
          "last_check": "2026-07-05T05:03:57",
          "error": false,
          "critical": false
        },
        {
          "name": "Mizan Compass - Criteria",
          "status": "healthy",
          "response_time_ms": 347,
          "last_check": "2026-07-05T05:03:57",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "WriteToPower",
      "status": "healthy",
      "healthy_count": 2,
      "total": 2,
      "services": [
        {
          "name": "WriteToPower - Home",
          "status": "healthy",
          "response_time_ms": 184,
          "last_check": "2026-07-05T05:03:58",
          "error": false,
          "critical": true
        },
        {
          "name": "WriteToPower - Compose",
          "status": "healthy",
          "response_time_ms": 169,
          "last_check": "2026-07-05T05:03:58",
          "error": false,
          "critical": true
        }
      ]
    },
    {
      "name": "YourVoice",
      "status": "healthy",
      "healthy_count": 2,
      "total": 2,
      "services": [
        {
          "name": "YourVoice - Home",
          "status": "healthy",
          "response_time_ms": 152,
          "last_check": "2026-07-05T05:03:58",
          "error": false,
          "critical": true
        },
        {
          "name": "YourVoice - Ideas",
          "status": "healthy",
          "response_time_ms": 160,
          "last_check": "2026-07-05T05:03:58",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "Org Finder",
      "status": "healthy",
      "healthy_count": 5,
      "total": 5,
      "services": [
        {
          "name": "Org Finder - Home",
          "status": "healthy",
          "response_time_ms": 524,
          "last_check": "2026-07-05T05:03:59",
          "error": false,
          "critical": true
        },
        {
          "name": "Org Finder - Map",
          "status": "healthy",
          "response_time_ms": 157,
          "last_check": "2026-07-05T05:03:59",
          "error": false,
          "critical": true
        },
        {
          "name": "Org Finder - Search",
          "status": "healthy",
          "response_time_ms": 764,
          "last_check": "2026-07-05T05:04:00",
          "error": false,
          "critical": false
        },
        {
          "name": "Org Finder - Services",
          "status": "healthy",
          "response_time_ms": 226,
          "last_check": "2026-07-05T05:04:00",
          "error": false,
          "critical": false
        },
        {
          "name": "Org Finder - Submit Org",
          "status": "healthy",
          "response_time_ms": 203,
          "last_check": "2026-07-05T05:04:00",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "Events",
      "status": "healthy",
      "healthy_count": 3,
      "total": 3,
      "services": [
        {
          "name": "Events - Home",
          "status": "healthy",
          "response_time_ms": 148,
          "last_check": "2026-07-05T05:04:00",
          "error": false,
          "critical": true
        },
        {
          "name": "Events - Browse",
          "status": "healthy",
          "response_time_ms": 142,
          "last_check": "2026-07-05T05:04:00",
          "error": false,
          "critical": false
        },
        {
          "name": "Events - Calendar",
          "status": "healthy",
          "response_time_ms": 135,
          "last_check": "2026-07-05T05:04:00",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "People Hub",
      "status": "healthy",
      "healthy_count": 1,
      "total": 1,
      "services": [
        {
          "name": "People Hub - Home",
          "status": "healthy",
          "response_time_ms": 150,
          "last_check": "2026-07-05T05:04:01",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "AI Services",
      "status": "healthy",
      "healthy_count": 1,
      "total": 1,
      "services": [
        {
          "name": "askMCB",
          "status": "healthy",
          "response_time_ms": 3,
          "last_check": "2026-07-05T05:04:01",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "Prayer Times",
      "status": "healthy",
      "healthy_count": 2,
      "total": 2,
      "services": [
        {
          "name": "Prayer Times - Home",
          "status": "healthy",
          "response_time_ms": 118,
          "last_check": "2026-07-05T05:04:01",
          "error": false,
          "critical": false
        },
        {
          "name": "Prayer Times - Search",
          "status": "healthy",
          "response_time_ms": 117,
          "last_check": "2026-07-05T05:04:01",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "Jobs",
      "status": "healthy",
      "healthy_count": 1,
      "total": 1,
      "services": [
        {
          "name": "Jobs - Home",
          "status": "healthy",
          "response_time_ms": 163,
          "last_check": "2026-07-05T05:04:01",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "Communications",
      "status": "healthy",
      "healthy_count": 2,
      "total": 2,
      "services": [
        {
          "name": "Messaging",
          "status": "healthy",
          "response_time_ms": 4,
          "last_check": "2026-07-05T05:04:01",
          "error": false,
          "critical": false
        },
        {
          "name": "Social Marketing",
          "status": "healthy",
          "response_time_ms": 3,
          "last_check": "2026-07-05T05:04:01",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "Outreach",
      "status": "healthy",
      "healthy_count": 1,
      "total": 1,
      "services": [
        {
          "name": "Outreach Engine",
          "status": "healthy",
          "response_time_ms": 2,
          "last_check": "2026-07-05T05:04:01",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "askMCB Chatbot",
      "status": "healthy",
      "healthy_count": 6,
      "total": 6,
      "services": [
        {
          "name": "askMCB - Error Rate (60min)",
          "status": "healthy",
          "response_time_ms": 52,
          "last_check": "2026-07-05T05:04:02",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB - p95 Latency",
          "status": "healthy",
          "response_time_ms": 53,
          "last_check": "2026-07-05T05:04:02",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB - Cost Budget (60-min window)",
          "status": "healthy",
          "response_time_ms": 53,
          "last_check": "2026-07-05T05:04:02",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB - WhatsApp Error Rate",
          "status": "healthy",
          "response_time_ms": 46,
          "last_check": "2026-07-05T05:04:02",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB - SMS Error Rate",
          "status": "healthy",
          "response_time_ms": 52,
          "last_check": "2026-07-05T05:04:02",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB - Telegram Error Rate",
          "status": "healthy",
          "response_time_ms": 44,
          "last_check": "2026-07-05T05:04:02",
          "error": false,
          "critical": false
        }
      ]
    },
    {
      "name": "askMCB Heartbeats",
      "status": "healthy",
      "healthy_count": 19,
      "total": 19,
      "services": [
        {
          "name": "askMCB L1 - Organization Finder",
          "status": "healthy",
          "response_time_ms": 7937,
          "last_check": "2026-07-05T04:24:19",
          "error": false,
          "critical": true
        },
        {
          "name": "askMCB L1 - Prayer Times",
          "status": "healthy",
          "response_time_ms": 2688,
          "last_check": "2026-07-05T04:24:21",
          "error": false,
          "critical": true
        },
        {
          "name": "askMCB L1 - Halal Restaurants",
          "status": "healthy",
          "response_time_ms": 22393,
          "last_check": "2026-07-05T04:39:59",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - Learning Academy Courses",
          "status": "healthy",
          "response_time_ms": 3095,
          "last_check": "2026-07-05T05:04:05",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - Events",
          "status": "healthy",
          "response_time_ms": 2053,
          "last_check": "2026-07-05T05:04:07",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - Legal Guidance (Ad'l)",
          "status": "healthy",
          "response_time_ms": 14063,
          "last_check": "2026-07-05T04:44:35",
          "error": false,
          "critical": true
        },
        {
          "name": "askMCB L1 - Blog Search",
          "status": "healthy",
          "response_time_ms": 3919,
          "last_check": "2026-07-05T04:59:45",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - Website Page Search",
          "status": "healthy",
          "response_time_ms": 3330,
          "last_check": "2026-07-05T04:59:48",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - YourVoice / WriteToPower",
          "status": "healthy",
          "response_time_ms": 1909,
          "last_check": "2026-07-05T04:59:50",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - Jobs / Recruitment",
          "status": "healthy",
          "response_time_ms": 2403,
          "last_check": "2026-07-05T04:59:53",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - Mental Health Helper (ask_mh_helper)",
          "status": "healthy",
          "response_time_ms": 13405,
          "last_check": "2026-07-05T05:00:06",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - WhatsApp Brevity",
          "status": "healthy",
          "response_time_ms": 1719,
          "last_check": "2026-07-05T05:00:08",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L1 - MCB Website RAG",
          "status": "healthy",
          "response_time_ms": 7913,
          "last_check": "2026-07-05T05:04:15",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L2 - WhatsApp Org Finder (mail_channel)",
          "status": "healthy",
          "response_time_ms": 7439,
          "last_check": "2026-07-05T05:04:22",
          "error": false,
          "critical": true
        },
        {
          "name": "askMCB L2 - WhatsApp Prayer Times (mail_channel)",
          "status": "healthy",
          "response_time_ms": 3217,
          "last_check": "2026-07-05T05:04:26",
          "error": false,
          "critical": true
        },
        {
          "name": "askMCB L2 - WhatsApp Legal (mail_channel)",
          "status": "healthy",
          "response_time_ms": 14988,
          "last_check": "2026-07-05T04:05:14",
          "error": false,
          "critical": true
        },
        {
          "name": "askMCB L2 - SMS Org Finder (mail_channel)",
          "status": "healthy",
          "response_time_ms": 7753,
          "last_check": "2026-07-05T04:05:22",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L2 - Telegram Org Finder (mail_channel)",
          "status": "healthy",
          "response_time_ms": 7502,
          "last_check": "2026-07-05T04:05:29",
          "error": false,
          "critical": false
        },
        {
          "name": "askMCB L2 - Web Widget Org Finder (mail_channel)",
          "status": "healthy",
          "response_time_ms": 10961,
          "last_check": "2026-07-05T04:05:40",
          "error": false,
          "critical": false
        }
      ]
    }
  ],
  "services": [
    {
      "name": "Community Dashboard",
      "status": "healthy",
      "response_time_ms": 1,
      "last_check": "2026-07-05T05:03:56",
      "error": false,
      "critical": true
    },
    {
      "name": "User DB Check",
      "status": "healthy",
      "response_time_ms": 1,
      "last_check": "2026-07-05T05:03:56",
      "error": false,
      "critical": true
    }
  ],
  "external_services": {
    "railway_microservices": [
      {
        "name": "Chatbot Service",
        "status": "healthy",
        "response_time_ms": 92,
        "url": "https://chatbot-service-production-07e3.up.railway.app/health",
        "last_check": "2026-07-05T05:04:26",
        "error": false,
        "critical": true,
        "description": "AI Chatbot for VMM (LangChain + OpenAI)"
      },
      {
        "name": "CV Parser Service",
        "status": "healthy",
        "response_time_ms": 101,
        "url": "https://cv-parser-production-3522.up.railway.app/health",
        "last_check": "2026-07-05T05:04:26",
        "error": false,
        "critical": false,
        "description": "CV/Resume parsing with ESCO taxonomy"
      },
      {
        "name": "Matching Service",
        "status": "healthy",
        "response_time_ms": 96,
        "url": "https://matching-service-production-c5a3.up.railway.app/health",
        "last_check": "2026-07-05T05:04:26",
        "error": false,
        "critical": false,
        "description": "AI job/candidate matching"
      },
      {
        "name": "Jobs API",
        "status": "healthy",
        "response_time_ms": 131,
        "url": "https://jobs-api-production-c07d.up.railway.app/health",
        "last_check": "2026-07-05T05:04:26",
        "error": false,
        "critical": false,
        "description": "Jobs aggregation API"
      },
      {
        "name": "Course Finder",
        "status": "healthy",
        "response_time_ms": 96,
        "url": "https://coursefinder-production.up.railway.app/health",
        "last_check": "2026-07-05T05:04:26",
        "error": false,
        "critical": false,
        "description": "Course search and discovery"
      },
      {
        "name": "MCB API Gateway",
        "status": "healthy",
        "response_time_ms": 89,
        "url": "https://mcb-api-gateway-production.up.railway.app/api/v1/health",
        "last_check": "2026-07-05T05:04:26",
        "error": false,
        "critical": true,
        "description": "FastAPI gateway exposing 99 endpoints + MCP server for external integrations"
      },
      {
        "name": "MCB Website RAG API",
        "status": "healthy",
        "response_time_ms": 91,
        "url": "https://mcb-website-rag-api-production.up.railway.app/health",
        "last_check": "2026-07-05T05:04:26",
        "error": false,
        "critical": false,
        "description": "OG-RAG service over mcb.org.uk content (powers askMCB search_mcb_website). Direct probe, independent of the /chat L1 heartbeat."
      },
      {
        "name": "OSRM Routing",
        "status": "healthy",
        "response_time_ms": 65,
        "url": "https://osrmproj-production.up.railway.app/route/v1/driving/0,51?overview=false",
        "last_check": "2026-07-05T05:04:26",
        "error": false,
        "critical": false,
        "description": "Routing and directions service"
      },
      {
        "name": "Document Processor",
        "status": "healthy",
        "response_time_ms": 103,
        "url": "https://document-processor-production-6888.up.railway.app/health",
        "last_check": "2026-07-05T05:04:27",
        "error": false,
        "critical": false,
        "description": "AI-powered document extraction for prayer timetables and events"
      },
      {
        "name": "Document Processor",
        "status": "healthy",
        "response_time_ms": 98,
        "url": "https://document-processor-production-6888.up.railway.app/health",
        "last_check": "2026-07-05T05:04:27",
        "error": false,
        "critical": false,
        "description": "AI-powered document extraction for prayer timetables and events"
      }
    ],
    "thirdparty_apis": [
      {
        "name": "Mapbox",
        "status": "healthy",
        "response_time_ms": 50,
        "url": "https://api.mapbox.com/",
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": true,
        "description": "Maps, geocoding, and address search"
      },
      {
        "name": "OpenAI",
        "status": "healthy",
        "response_time_ms": 190,
        "url": "https://api.openai.com/v1/models",
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": true,
        "description": "AI email generation and chatbot"
      },
      {
        "name": "Google Gemini",
        "status": "healthy",
        "response_time_ms": 42,
        "url": "https://generativelanguage.googleapis.com/",
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": false,
        "description": "AI enrichment for organizations"
      },
      {
        "name": "Google Places",
        "status": "healthy",
        "response_time_ms": 37,
        "url": "https://maps.googleapis.com/maps/api/place/nearbysearch/json",
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": false,
        "description": "Mosque and venue verification"
      },
      {
        "name": "Twilio",
        "status": "healthy",
        "response_time_ms": 37,
        "url": "https://api.twilio.com/",
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": true,
        "description": "SMS and WhatsApp messaging"
      },
      {
        "name": "Companies House",
        "status": "healthy",
        "response_time_ms": 72,
        "url": "https://api.company-information.service.gov.uk/",
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": false,
        "description": "UK company information lookup"
      },
      {
        "name": "Charity Commission",
        "status": "healthy",
        "response_time_ms": 108,
        "url": "https://api.charitycommission.gov.uk/register/api/allcharitydetailsV2/0/1",
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": false,
        "description": "UK charity data and verification"
      },
      {
        "name": "ONS Nomis",
        "status": "healthy",
        "response_time_ms": 5880,
        "url": "https://www.nomisweb.co.uk/api/v01/dataset/def.sdmx.json",
        "last_check": "2026-07-05T05:04:34",
        "error": false,
        "critical": false,
        "description": "Census 2021 demographic data"
      },
      {
        "name": "Serper",
        "status": "healthy",
        "response_time_ms": 161,
        "url": "https://google.serper.dev/",
        "last_check": "2026-07-05T05:04:34",
        "error": false,
        "critical": false,
        "description": "Web search and website discovery"
      },
      {
        "name": "AlAdhan",
        "status": "healthy",
        "response_time_ms": 168,
        "url": "https://api.aladhan.com/v1/currentTime?zone=Europe/London",
        "last_check": "2026-07-05T05:04:35",
        "error": false,
        "critical": false,
        "description": "Prayer times calculation API"
      }
    ],
    "railway_deployments": [
      {
        "name": "Railway Build: mcbplatform (production)",
        "status": "healthy",
        "response_time_ms": 258,
        "last_check": "2026-07-05T05:04:27",
        "error": false,
        "critical": true,
        "description": "Latest production deployment of the Odoo platform. Alerts on FAILED/CRASHED.",
        "environment_id": "c7f9d990-1f39-4c1a-9030-4c1b881df8fd",
        "service_id": "c57f1ce4-b6bc-4335-b915-00b7431ac539"
      },
      {
        "name": "Railway Build: chatbot-service (production)",
        "status": "healthy",
        "response_time_ms": 283,
        "last_check": "2026-07-05T05:04:27",
        "error": false,
        "critical": true,
        "description": "Latest production deployment of the chatbot sidecar.",
        "environment_id": "c7f9d990-1f39-4c1a-9030-4c1b881df8fd",
        "service_id": "5e6ef111-8b1b-458e-afb3-542c715c66ca"
      },
      {
        "name": "Railway Build: mcb-api-gateway (production)",
        "status": "healthy",
        "response_time_ms": 285,
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": true,
        "description": "Latest production deployment of the FastAPI gateway sidecar.",
        "environment_id": "c7f9d990-1f39-4c1a-9030-4c1b881df8fd",
        "service_id": "b17722b3-ae71-48a1-af7f-94c20ed81544"
      },
      {
        "name": "Railway Build: document-processor (production)",
        "status": "healthy",
        "response_time_ms": 255,
        "last_check": "2026-07-05T05:04:28",
        "error": false,
        "critical": false,
        "description": "Latest production deployment of the document-processor sidecar.",
        "environment_id": "c7f9d990-1f39-4c1a-9030-4c1b881df8fd",
        "service_id": "da677cc0-1cd3-4e6d-bcd8-4fab12449f09"
      }
    ]
  },
  "active_incidents": []
}