{
    "status": "operational",
    "summary": "All systems operational",
    "updated_at": "2026-10-10T05:54:11Z",
    "components": [
        {
            "id": "api",
            "name": "API",
            "description": "Sign in, sync and the endpoints the Mac app and MCP server use.",
            "status": "operational",
            "detail": "Responding",
            "response_ms": 4
        },
        {
            "id": "database",
            "name": "Database",
            "description": "Your apps, keywords, ranks and teams.",
            "status": "operational",
            "detail": "Connected",
            "response_ms": 1
        },
        {
            "id": "scheduler",
            "name": "Scheduled jobs",
            "description": "Background work: keyword scans, reports, the morning refresh and billing sync.",
            "status": "operational",
            "detail": "Running on schedule",
            "jobs": [
                {
                    "command": "arh:scan-pending",
                    "name": "Pending keyword scans",
                    "schedule": "Every minute",
                    "status": "operational",
                    "detail": "Last run 8 seconds ago",
                    "last_run_at": "2026-10-10T05:54:03Z",
                    "duration_ms": 88
                },
                {
                    "command": "arh:send-reports",
                    "name": "Email and Slack reports",
                    "schedule": "Every 5 minutes",
                    "status": "operational",
                    "detail": "Last run 4 minutes ago",
                    "last_run_at": "2026-10-10T05:50:03Z",
                    "duration_ms": 51
                },
                {
                    "command": "arh:send-lifecycle-emails",
                    "name": "Onboarding emails",
                    "schedule": "Every 15 minutes",
                    "status": "operational",
                    "detail": "Last run 9 minutes ago",
                    "last_run_at": "2026-10-10T05:45:03Z",
                    "duration_ms": 471
                },
                {
                    "command": "arh:refresh-scheduled",
                    "name": "Morning rank refresh",
                    "schedule": "Daily at 01:00 UTC",
                    "status": "operational",
                    "detail": "Last run 22 hours ago",
                    "last_run_at": "2026-10-09T07:30:01Z",
                    "duration_ms": 23395365
                },
                {
                    "command": "arh:sync-subscriptions",
                    "name": "Subscription sync",
                    "schedule": "Daily at 03:30 UTC",
                    "status": "operational",
                    "detail": "Last run 2 hours ago",
                    "last_run_at": "2026-10-10T03:30:06Z",
                    "duration_ms": 1588
                },
                {
                    "command": "arh:monitor",
                    "name": "Capacity monitor",
                    "schedule": "Every 5 minutes",
                    "status": "operational",
                    "detail": "Last run 4 minutes ago",
                    "last_run_at": "2026-10-10T05:50:04Z",
                    "duration_ms": 1096
                },
                {
                    "command": "arh:monitor-digest",
                    "name": "Daily health digest",
                    "schedule": "Daily at 07:00 UTC",
                    "status": "operational",
                    "detail": "Last run 22 hours ago",
                    "last_run_at": "2026-10-09T07:00:09Z",
                    "duration_ms": 2380
                }
            ]
        },
        {
            "id": "workers",
            "name": "Rank scanning workers",
            "description": "The machines that search the App Store and Google Play for your keywords.",
            "status": "operational",
            "detail": "All 2 workers online",
            "online": 2,
            "total": 2,
            "workers": [
                {
                    "name": "Worker 1",
                    "online": true,
                    "status": "operational",
                    "detail": "Online",
                    "capabilities": [
                        "itunes",
                        "play"
                    ],
                    "uptime_seconds": 286145,
                    "play_cooldown_until": null,
                    "response_ms": 16
                },
                {
                    "name": "Worker 2",
                    "online": true,
                    "status": "operational",
                    "detail": "Online",
                    "capabilities": [
                        "itunes",
                        "play"
                    ],
                    "uptime_seconds": 11083,
                    "play_cooldown_until": null,
                    "response_ms": 15
                }
            ]
        },
        {
            "id": "app_store",
            "name": "App Store rank checks",
            "description": "Searches of the App Store top 200 through the workers.",
            "status": "operational",
            "detail": "Available through 2 workers",
            "workers": 2
        },
        {
            "id": "google_play",
            "name": "Google Play rank checks",
            "description": "Searches of the Google Play top 30 and autocomplete through the workers.",
            "status": "operational",
            "detail": "Available through 2 workers",
            "workers": 2
        },
        {
            "id": "scanning_capacity",
            "name": "Scanning capacity",
            "description": "Whether the workers keep up with the daily rank refresh and new keywords.",
            "status": "operational",
            "detail": "Scans keep up with demand"
        },
        {
            "id": "backup",
            "name": "Database backup",
            "description": "Daily backup of your apps, keywords and rank history.",
            "status": "operational",
            "detail": "Last backup 3 hours ago",
            "last_backup_at": "2026-10-10T02:46:11Z"
        }
    ]
}