{
  "available": true,
  "source": "postgres",
  "reason": null,
  "schemaVersion": "analytics.v1",
  "generatedAt": "2026-05-01T18:27:39.949Z",
  "windowDays": 30,
  "windowStartedAt": "2026-04-01T18:27:39.949Z",
  "breakdownLimit": 8,
  "recentLimit": 10,
  "summary": {
    "analysisRuns": 107,
    "clientEvents": 62,
    "distinctWorkspaces": 0,
    "distinctSessions": 2,
    "avgDurationMs": 91349,
    "avgGroundedRatio": 0.31,
    "avgCitationCoverage": 0.907
  },
  "breakdowns": {
    "topDiseases": [
      {
        "key": "breast cancer",
        "count": 48
      },
      {
        "key": "colorectal cancer",
        "count": 12
      },
      {
        "key": "non-small cell lung cancer",
        "count": 12
      },
      {
        "key": "pan-cancer",
        "count": 8
      },
      {
        "key": "alzheimers disease",
        "count": 7
      },
      {
        "key": "glioblastoma",
        "count": 5
      },
      {
        "key": "Parkinson's disease",
        "count": 4
      },
      {
        "key": "inflammatory bowel disease",
        "count": 3
      }
    ],
    "topGenes": [
      {
        "key": "EGFR",
        "count": 53
      },
      {
        "key": "BRCA1",
        "count": 49
      },
      {
        "key": "TP53",
        "count": 45
      },
      {
        "key": "KRAS",
        "count": 14
      },
      {
        "key": "BRAF",
        "count": 13
      },
      {
        "key": "BRCA2",
        "count": 13
      },
      {
        "key": "NRAS",
        "count": 13
      },
      {
        "key": "PALB2",
        "count": 13
      }
    ],
    "topEventTypes": [
      {
        "key": "smoke_probe",
        "count": 60
      },
      {
        "key": "window_error",
        "count": 2
      }
    ],
    "topRoutes": [],
    "trustTiers": [
      {
        "key": "exploratory",
        "count": 85
      },
      {
        "key": "computational",
        "count": 13
      },
      {
        "key": "supported",
        "count": 9
      }
    ]
  },
  "trends": {
    "dailyRuns": [
      {
        "day": "2026-04-14",
        "count": 44
      },
      {
        "day": "2026-04-24",
        "count": 7
      },
      {
        "day": "2026-04-25",
        "count": 17
      },
      {
        "day": "2026-04-26",
        "count": 18
      },
      {
        "day": "2026-04-27",
        "count": 1
      },
      {
        "day": "2026-04-30",
        "count": 7
      },
      {
        "day": "2026-05-01",
        "count": 13
      }
    ],
    "dailyClientEvents": [
      {
        "day": "2026-04-24",
        "count": 3
      },
      {
        "day": "2026-04-25",
        "count": 24
      },
      {
        "day": "2026-04-26",
        "count": 15
      },
      {
        "day": "2026-04-27",
        "count": 2
      },
      {
        "day": "2026-04-30",
        "count": 5
      },
      {
        "day": "2026-05-01",
        "count": 13
      }
    ]
  },
  "recentRuns": [
    {
      "runId": "0e7e245c-1cb7-42fd-91cd-7f6f15067810",
      "snapshotId": "20260501T150351-8db50e7f",
      "requestId": "0e7e245c-1cb7-42fd-91cd-7f6f15067810",
      "workspaceId": null,
      "diseaseContext": "Parkinson's disease",
      "genes": [
        "LRRK2",
        "PARK7",
        "SNCA"
      ],
      "geneCount": 3,
      "durationMs": 105488,
      "groundedRatio": 0.36,
      "citationCoverage": 1,
      "trustTier": "computational",
      "readinessLabel": null,
      "completedAt": "2026-05-01T15:02:05.806Z"
    },
    {
      "runId": "39bd163b-268a-4724-bbc4-baa4404248b3",
      "snapshotId": "20260501T143833-37bbaa6e",
      "requestId": "39bd163b-268a-4724-bbc4-baa4404248b3",
      "workspaceId": null,
      "diseaseContext": "glioblastoma",
      "genes": [
        "EGFR",
        "PDGFRA",
        "PTEN"
      ],
      "geneCount": 3,
      "durationMs": 112492,
      "groundedRatio": 0.7,
      "citationCoverage": 1,
      "trustTier": "supported",
      "readinessLabel": null,
      "completedAt": "2026-05-01T14:36:40.478Z"
    },
    {
      "runId": "439efe06-523b-4c91-b8f5-8a4aabe16a21",
      "snapshotId": "20260501T142110-37bbaa6e",
      "requestId": "439efe06-523b-4c91-b8f5-8a4aabe16a21",
      "workspaceId": null,
      "diseaseContext": "glioblastoma",
      "genes": [
        "EGFR",
        "PDGFRA",
        "PTEN"
      ],
      "geneCount": 3,
      "durationMs": 108850,
      "groundedRatio": 0.76,
      "citationCoverage": 1,
      "trustTier": "supported",
      "readinessLabel": null,
      "completedAt": "2026-05-01T14:19:21.911Z"
    },
    {
      "runId": "870db377-55b7-4166-9367-11d988d95fc2",
      "snapshotId": "20260501T142013-2c8c82d6",
      "requestId": "870db377-55b7-4166-9367-11d988d95fc2",
      "workspaceId": null,
      "diseaseContext": "breast cancer",
      "genes": [
        "TP53",
        "BRCA1",
        "EGFR"
      ],
      "geneCount": 3,
      "durationMs": 79429,
      "groundedRatio": 0.36,
      "citationCoverage": 1,
      "trustTier": "exploratory",
      "readinessLabel": null,
      "completedAt": "2026-05-01T14:18:53.798Z"
    },
    {
      "runId": "113f2855-8a46-4977-a9ac-436eb2d3f836",
      "snapshotId": "20260501T141233-2c8c82d6",
      "requestId": "113f2855-8a46-4977-a9ac-436eb2d3f836",
      "workspaceId": null,
      "diseaseContext": "breast cancer",
      "genes": [
        "TP53",
        "BRCA1",
        "EGFR"
      ],
      "geneCount": 3,
      "durationMs": 83831,
      "groundedRatio": 0.36,
      "citationCoverage": 1,
      "trustTier": "exploratory",
      "readinessLabel": null,
      "completedAt": "2026-05-01T14:11:10.018Z"
    },
    {
      "runId": "5fbc513b-577b-4323-a469-bd35135cdfdd",
      "snapshotId": "20260501T140226-bfc39c3a",
      "requestId": "5fbc513b-577b-4323-a469-bd35135cdfdd",
      "workspaceId": null,
      "diseaseContext": "breast cancer",
      "genes": [
        "TP53",
        "BRCA1",
        "EGFR"
      ],
      "geneCount": 3,
      "durationMs": 94094,
      "groundedRatio": 0,
      "citationCoverage": 0,
      "trustTier": "exploratory",
      "readinessLabel": null,
      "completedAt": "2026-05-01T14:00:52.365Z"
    },
    {
      "runId": "b7ecbe1f-f04f-43cc-8d66-867a89736013",
      "snapshotId": "20260501T135721-ce99937c",
      "requestId": "b7ecbe1f-f04f-43cc-8d66-867a89736013",
      "workspaceId": null,
      "diseaseContext": "breast cancer",
      "genes": [
        "TP53",
        "BRCA1",
        "EGFR"
      ],
      "geneCount": 3,
      "durationMs": 86757,
      "groundedRatio": 0.36,
      "citationCoverage": 1,
      "trustTier": "exploratory",
      "readinessLabel": null,
      "completedAt": "2026-05-01T13:55:54.440Z"
    },
    {
      "runId": "8cf8bcf9-f8ed-44f8-9b63-2d6734e231b1",
      "snapshotId": "20260501T135335-2c8c82d6",
      "requestId": "8cf8bcf9-f8ed-44f8-9b63-2d6734e231b1",
      "workspaceId": null,
      "diseaseContext": "breast cancer",
      "genes": [
        "TP53",
        "BRCA1",
        "EGFR"
      ],
      "geneCount": 3,
      "durationMs": 92694,
      "groundedRatio": 0.36,
      "citationCoverage": 1,
      "trustTier": "exploratory",
      "readinessLabel": null,
      "completedAt": "2026-05-01T13:52:02.786Z"
    },
    {
      "runId": "9aa77b6b-327f-42d0-8ef7-860d0b5ceadb",
      "snapshotId": "20260501T134339-2c8c82d6",
      "requestId": "9aa77b6b-327f-42d0-8ef7-860d0b5ceadb",
      "workspaceId": null,
      "diseaseContext": "breast cancer",
      "genes": [
        "TP53",
        "BRCA1",
        "EGFR"
      ],
      "geneCount": 3,
      "durationMs": 103137,
      "groundedRatio": 0.36,
      "citationCoverage": 1,
      "trustTier": "exploratory",
      "readinessLabel": null,
      "completedAt": "2026-05-01T13:41:56.018Z"
    },
    {
      "runId": "6e473e52-206e-450d-b453-2a8c63d7d921",
      "snapshotId": "20260501T115504-2c8c82d6",
      "requestId": "6e473e52-206e-450d-b453-2a8c63d7d921",
      "workspaceId": null,
      "diseaseContext": "breast cancer",
      "genes": [
        "TP53",
        "BRCA1",
        "EGFR"
      ],
      "geneCount": 3,
      "durationMs": 97981,
      "groundedRatio": 0.6,
      "citationCoverage": 1,
      "trustTier": "exploratory",
      "readinessLabel": null,
      "completedAt": "2026-05-01T11:53:26.735Z"
    }
  ],
  "analysisProgress": {
    "available": true,
    "source": "postgres",
    "reason": null,
    "schemaVersion": "analysis_progress.v1",
    "generatedAt": "2026-05-01T18:27:39.967Z",
    "windowDays": 30,
    "windowStartedAt": "2026-04-01T18:27:39.967Z",
    "breakdownLimit": 8,
    "recentLimit": 10,
    "filters": {
      "stage": null,
      "status": null,
      "statusClass": null
    },
    "summary": {
      "totalEvents": 1043,
      "distinctAnalyses": 123,
      "activeAnalyses": 3,
      "terminalAnalyses": 120,
      "errorEvents": 0,
      "doneEvents": 572,
      "avgStageDurationMs": 10672
    },
    "breakdowns": {
      "stages": [
        {
          "key": "data-fetch",
          "count": 246
        },
        {
          "key": "drug-scoring",
          "count": 244
        },
        {
          "key": "ai-debate",
          "count": 223
        },
        {
          "key": "ai-synthesis",
          "count": 223
        },
        {
          "key": "complete",
          "count": 107
        }
      ],
      "statuses": [
        {
          "key": "done",
          "count": 572
        },
        {
          "key": "running",
          "count": 471
        }
      ]
    },
    "trends": {
      "dailyEvents": [
        {
          "day": "2026-04-14",
          "count": 420
        },
        {
          "day": "2026-04-24",
          "count": 79
        },
        {
          "day": "2026-04-25",
          "count": 153
        },
        {
          "day": "2026-04-26",
          "count": 174
        },
        {
          "day": "2026-04-27",
          "count": 25
        },
        {
          "day": "2026-04-28",
          "count": 4
        },
        {
          "day": "2026-04-29",
          "count": 4
        },
        {
          "day": "2026-04-30",
          "count": 67
        },
        {
          "day": "2026-05-01",
          "count": 117
        }
      ]
    },
    "recentEvents": [
      {
        "stage": "complete",
        "status": "done",
        "detail": "Analysis complete",
        "durationMs": 0,
        "ts": 1777647831511,
        "payload": {
          "ts": 1777647831511,
          "stage": "complete",
          "detail": "Analysis complete",
          "status": "done",
          "durationMs": null
        },
        "createdAt": "2026-05-01T15:03:51.511Z"
      },
      {
        "stage": "ai-debate",
        "status": "done",
        "detail": "Consensus reached",
        "durationMs": 31663,
        "ts": 1777647805419,
        "payload": {
          "ts": 1777647805419,
          "stage": "ai-debate",
          "detail": "Consensus reached",
          "status": "done",
          "durationMs": 31663
        },
        "createdAt": "2026-05-01T15:03:25.419Z"
      },
      {
        "stage": "ai-synthesis",
        "status": "done",
        "detail": "Insights synthesized",
        "durationMs": 31663,
        "ts": 1777647805419,
        "payload": {
          "ts": 1777647805419,
          "stage": "ai-synthesis",
          "detail": "Insights synthesized",
          "status": "done",
          "durationMs": 31663
        },
        "createdAt": "2026-05-01T15:03:25.419Z"
      },
      {
        "stage": "ai-synthesis",
        "status": "running",
        "detail": "Synthesizing 48 papers…",
        "durationMs": 0,
        "ts": 1777647773756,
        "payload": {
          "ts": 1777647773756,
          "stage": "ai-synthesis",
          "detail": "Synthesizing 48 papers…",
          "status": "running",
          "durationMs": null
        },
        "createdAt": "2026-05-01T15:02:53.756Z"
      },
      {
        "stage": "ai-debate",
        "status": "running",
        "detail": "6-agent debate in progress…",
        "durationMs": 0,
        "ts": 1777647773756,
        "payload": {
          "ts": 1777647773756,
          "stage": "ai-debate",
          "detail": "6-agent debate in progress…",
          "status": "running",
          "durationMs": null
        },
        "createdAt": "2026-05-01T15:02:53.756Z"
      },
      {
        "stage": "drug-scoring",
        "status": "done",
        "detail": "0 candidates ranked",
        "durationMs": 1282,
        "ts": 1777647750424,
        "payload": {
          "ts": 1777647750424,
          "stage": "drug-scoring",
          "detail": "0 candidates ranked",
          "status": "done",
          "durationMs": 1282
        },
        "createdAt": "2026-05-01T15:02:30.424Z"
      },
      {
        "stage": "drug-scoring",
        "status": "running",
        "detail": "Scoring drug candidates…",
        "durationMs": 0,
        "ts": 1777647749142,
        "payload": {
          "ts": 1777647749142,
          "stage": "drug-scoring",
          "detail": "Scoring drug candidates…",
          "status": "running",
          "durationMs": null
        },
        "createdAt": "2026-05-01T15:02:29.142Z"
      },
      {
        "stage": "data-fetch",
        "status": "done",
        "detail": "3 sources queried",
        "durationMs": 19749,
        "ts": 1777647745725,
        "payload": {
          "ts": 1777647745725,
          "stage": "data-fetch",
          "detail": "3 sources queried",
          "status": "done",
          "durationMs": 19749
        },
        "createdAt": "2026-05-01T15:02:25.725Z"
      },
      {
        "stage": "data-fetch",
        "status": "running",
        "detail": "Querying 3 genes across 3 databases…",
        "durationMs": 0,
        "ts": 1777647725975,
        "payload": {
          "ts": 1777647725975,
          "stage": "data-fetch",
          "detail": "Querying 3 genes across 3 databases…",
          "status": "running",
          "durationMs": null
        },
        "createdAt": "2026-05-01T15:02:05.975Z"
      },
      {
        "stage": "complete",
        "status": "done",
        "detail": "Analysis complete",
        "durationMs": 0,
        "ts": 1777646313185,
        "payload": {
          "ts": 1777646313185,
          "stage": "complete",
          "detail": "Analysis complete",
          "status": "done",
          "durationMs": null
        },
        "createdAt": "2026-05-01T14:38:33.185Z"
      }
    ]
  },
  "jobs": {
    "available": true,
    "source": "postgres",
    "reason": null,
    "schemaVersion": "jobs.v1",
    "generatedAt": "2026-05-01T18:27:39.989Z",
    "windowDays": 30,
    "windowStartedAt": "2026-04-01T18:27:39.989Z",
    "breakdownLimit": 8,
    "recentLimit": 10,
    "filters": {
      "jobType": null,
      "status": null,
      "stage": null,
      "source": null,
      "stalledOnly": false
    },
    "summary": {
      "totalJobs": 108,
      "queuedJobs": 15,
      "runningJobs": 36,
      "completedJobs": 57,
      "failedJobs": 0,
      "stalledJobs": 51,
      "distinctJobTypes": 3,
      "avgDurationMs": 19223,
      "avgProgress": 0.642
    },
    "breakdowns": {
      "jobTypes": [
        {
          "key": "evidence-extraction",
          "count": 39
        },
        {
          "key": "interpretability",
          "count": 39
        },
        {
          "key": "analysis",
          "count": 30
        }
      ],
      "statuses": [
        {
          "key": "completed",
          "count": 57
        },
        {
          "key": "running",
          "count": 36
        },
        {
          "key": "queued",
          "count": 15
        }
      ],
      "stages": [
        {
          "key": "completed",
          "count": 42
        },
        {
          "key": "complete",
          "count": 23
        },
        {
          "key": "running",
          "count": 21
        },
        {
          "key": "queued",
          "count": 16
        },
        {
          "key": "multi_agent_synthesis",
          "count": 5
        },
        {
          "key": "literature",
          "count": 1
        }
      ],
      "sources": [
        {
          "key": "job_queue",
          "count": 78
        },
        {
          "key": "analysis_job",
          "count": 30
        }
      ]
    },
    "trends": {
      "dailyJobs": [
        {
          "day": "2026-04-24",
          "count": 4
        },
        {
          "day": "2026-04-25",
          "count": 27
        },
        {
          "day": "2026-04-26",
          "count": 32
        },
        {
          "day": "2026-04-27",
          "count": 7
        },
        {
          "day": "2026-04-28",
          "count": 1
        },
        {
          "day": "2026-04-29",
          "count": 1
        },
        {
          "day": "2026-04-30",
          "count": 12
        },
        {
          "day": "2026-05-01",
          "count": 24
        }
      ]
    },
    "recentJobs": [
      {
        "id": "94cbd0e3-9798-4b7a-ba1d-8786582e83e5",
        "type": "analysis",
        "queueName": "analysis",
        "source": "analysis_job",
        "status": "running",
        "requestId": "0e7e245c-1cb7-42fd-91cd-7f6f15067810",
        "snapshotId": null,
        "workspaceId": null,
        "analysisRunId": "94cbd0e3-9798-4b7a-ba1d-8786582e83e5",
        "progress": 1,
        "stage": "complete",
        "message": "Analysis complete",
        "error": null,
        "createdAt": "2026-05-01T15:02:05.794Z",
        "startedAt": "2026-05-01T15:02:05.797Z",
        "finishedAt": null,
        "completedAt": null,
        "updatedAt": "2026-05-01T15:03:51.511Z",
        "lastHeartbeat": null,
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "geneCount": 0,
          "requestId": "0e7e245c-1cb7-42fd-91cd-7f6f15067810",
          "diseaseContext": null
        },
        "resultPreview": {
          "trustTier": null,
          "snapshotId": null,
          "pathwayCount": 0,
          "groundedRatio": null,
          "hypothesisCount": 0,
          "citationCoverage": null,
          "drugCandidateCount": 0
        }
      },
      {
        "id": "30ca414c-c573-4c4f-94a3-b6878e7f77ec",
        "type": "analysis",
        "queueName": "analysis",
        "source": "analysis_job",
        "status": "running",
        "requestId": "03f5f387-efb9-42e5-a8f2-55c3cbdc57e7",
        "snapshotId": null,
        "workspaceId": null,
        "analysisRunId": "30ca414c-c573-4c4f-94a3-b6878e7f77ec",
        "progress": 0,
        "stage": "queued",
        "message": null,
        "error": null,
        "createdAt": "2026-05-01T14:39:12.838Z",
        "startedAt": "2026-05-01T14:39:12.839Z",
        "finishedAt": null,
        "completedAt": null,
        "updatedAt": "2026-05-01T14:39:12.839Z",
        "lastHeartbeat": null,
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "geneCount": 0,
          "requestId": "03f5f387-efb9-42e5-a8f2-55c3cbdc57e7",
          "diseaseContext": null
        },
        "resultPreview": {
          "trustTier": null,
          "snapshotId": null,
          "pathwayCount": 0,
          "groundedRatio": null,
          "hypothesisCount": 0,
          "citationCoverage": null,
          "drugCandidateCount": 0
        }
      },
      {
        "id": "354dba0d-03d5-4ba9-8dc8-218a1a2f9288",
        "type": "analysis",
        "queueName": "analysis",
        "source": "analysis_job",
        "status": "running",
        "requestId": "39bd163b-268a-4724-bbc4-baa4404248b3",
        "snapshotId": null,
        "workspaceId": null,
        "analysisRunId": "354dba0d-03d5-4ba9-8dc8-218a1a2f9288",
        "progress": 1,
        "stage": "complete",
        "message": "Analysis complete",
        "error": null,
        "createdAt": "2026-05-01T14:36:40.469Z",
        "startedAt": "2026-05-01T14:36:40.471Z",
        "finishedAt": null,
        "completedAt": null,
        "updatedAt": "2026-05-01T14:38:33.185Z",
        "lastHeartbeat": null,
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "geneCount": 0,
          "requestId": "39bd163b-268a-4724-bbc4-baa4404248b3",
          "diseaseContext": null
        },
        "resultPreview": {
          "trustTier": null,
          "snapshotId": null,
          "pathwayCount": 0,
          "groundedRatio": null,
          "hypothesisCount": 0,
          "citationCoverage": null,
          "drugCandidateCount": 0
        }
      },
      {
        "id": "3b7efe86-0c7c-487e-9786-f29490035ab2",
        "type": "interpretability",
        "queueName": "async_queue",
        "source": "job_queue",
        "status": "completed",
        "requestId": null,
        "snapshotId": "20260501T142013-2c8c82d6",
        "workspaceId": null,
        "analysisRunId": null,
        "progress": 1,
        "stage": "completed",
        "message": "Job completed",
        "error": null,
        "createdAt": "2026-05-01T14:20:15.923Z",
        "startedAt": "2026-05-01T14:20:15.939Z",
        "finishedAt": "2026-05-01T14:20:19.295Z",
        "completedAt": "2026-05-01T14:20:19.295Z",
        "updatedAt": "2026-05-01T14:20:19.295Z",
        "lastHeartbeat": "2026-05-01T14:20:15.939Z",
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 3,
              "items": [
                "TP53",
                "BRCA1",
                "EGFR"
              ]
            },
            "totalItems": 3
          },
          "geneCount": 3,
          "snapshotId": "20260501T142013-2c8c82d6"
        },
        "resultPreview": {
          "tier": "esm2_35m",
          "layer": 6,
          "model": "facebook/esm2_t12_35M_UR50D",
          "proteinCount": 3,
          "saeAvailable": true,
          "failedProteinCount": 0
        }
      },
      {
        "id": "6f6f8ef3-2b8c-4dd4-bdf1-235b0ba51473",
        "type": "evidence-extraction",
        "queueName": "async_queue",
        "source": "job_queue",
        "status": "completed",
        "requestId": null,
        "snapshotId": "20260501T142013-2c8c82d6",
        "workspaceId": null,
        "analysisRunId": null,
        "progress": 1,
        "stage": "completed",
        "message": "Job completed",
        "error": null,
        "createdAt": "2026-05-01T14:20:15.921Z",
        "startedAt": "2026-05-01T14:20:15.936Z",
        "finishedAt": "2026-05-01T14:20:17.434Z",
        "completedAt": "2026-05-01T14:20:17.434Z",
        "updatedAt": "2026-05-01T14:20:17.434Z",
        "lastHeartbeat": "2026-05-01T14:20:15.936Z",
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 3,
              "items": [
                "TP53",
                "BRCA1",
                "EGFR"
              ]
            },
            "totalItems": 3
          },
          "geneCount": 3,
          "snapshotId": "20260501T142013-2c8c82d6",
          "hasAnalysis": true,
          "diseaseContext": "breast cancer"
        },
        "resultPreview": {
          "insightCount": 5,
          "citationsVerified": true,
          "totalEvidenceItems": 35,
          "citationResolvedCount": 7
        }
      },
      {
        "id": "ba66bb94-2826-4298-8508-9bbb4b220658",
        "type": "analysis",
        "queueName": "analysis",
        "source": "analysis_job",
        "status": "completed",
        "requestId": "439efe06-523b-4c91-b8f5-8a4aabe16a21",
        "snapshotId": "20260501T142110-37bbaa6e",
        "workspaceId": null,
        "analysisRunId": "ba66bb94-2826-4298-8508-9bbb4b220658",
        "progress": 1,
        "stage": "complete",
        "message": "Analysis complete",
        "error": null,
        "createdAt": "2026-05-01T14:19:21.889Z",
        "startedAt": "2026-05-01T14:19:21.893Z",
        "finishedAt": "2026-05-01T14:21:11.042Z",
        "completedAt": "2026-05-01T14:21:11.042Z",
        "updatedAt": "2026-05-01T14:21:11.042Z",
        "lastHeartbeat": null,
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "geneCount": 0,
          "requestId": "439efe06-523b-4c91-b8f5-8a4aabe16a21",
          "diseaseContext": null
        },
        "resultPreview": {
          "trustTier": "supported",
          "snapshotId": "20260501T142110-37bbaa6e",
          "pathwayCount": 3,
          "groundedRatio": 0.76,
          "hypothesisCount": 0,
          "citationCoverage": 1,
          "drugCandidateCount": 11
        }
      },
      {
        "id": "33f9cf5c-4151-4f17-8781-41a0fa682866",
        "type": "interpretability",
        "queueName": "async_queue",
        "source": "job_queue",
        "status": "completed",
        "requestId": null,
        "snapshotId": "20260501T141233-2c8c82d6",
        "workspaceId": null,
        "analysisRunId": null,
        "progress": 1,
        "stage": "completed",
        "message": "Job completed",
        "error": null,
        "createdAt": "2026-05-01T14:12:36.349Z",
        "startedAt": "2026-05-01T14:12:36.365Z",
        "finishedAt": "2026-05-01T14:12:38.770Z",
        "completedAt": "2026-05-01T14:12:38.770Z",
        "updatedAt": "2026-05-01T14:12:38.770Z",
        "lastHeartbeat": "2026-05-01T14:12:36.365Z",
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 3,
              "items": [
                "TP53",
                "BRCA1",
                "EGFR"
              ]
            },
            "totalItems": 3
          },
          "geneCount": 3,
          "snapshotId": "20260501T141233-2c8c82d6"
        },
        "resultPreview": {
          "tier": "esm2_35m",
          "layer": 6,
          "model": "facebook/esm2_t12_35M_UR50D",
          "proteinCount": 3,
          "saeAvailable": true,
          "failedProteinCount": 0
        }
      },
      {
        "id": "153c6cb7-3916-46ed-b5bf-4b996c3e328c",
        "type": "evidence-extraction",
        "queueName": "async_queue",
        "source": "job_queue",
        "status": "completed",
        "requestId": null,
        "snapshotId": "20260501T141233-2c8c82d6",
        "workspaceId": null,
        "analysisRunId": null,
        "progress": 1,
        "stage": "completed",
        "message": "Job completed",
        "error": null,
        "createdAt": "2026-05-01T14:12:36.347Z",
        "startedAt": "2026-05-01T14:12:36.361Z",
        "finishedAt": "2026-05-01T14:12:37.562Z",
        "completedAt": "2026-05-01T14:12:37.562Z",
        "updatedAt": "2026-05-01T14:12:37.562Z",
        "lastHeartbeat": "2026-05-01T14:12:36.361Z",
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 3,
              "items": [
                "TP53",
                "BRCA1",
                "EGFR"
              ]
            },
            "totalItems": 3
          },
          "geneCount": 3,
          "snapshotId": "20260501T141233-2c8c82d6",
          "hasAnalysis": true,
          "diseaseContext": "breast cancer"
        },
        "resultPreview": {
          "insightCount": 5,
          "citationsVerified": true,
          "totalEvidenceItems": 100,
          "citationResolvedCount": 20
        }
      },
      {
        "id": "2012ecd0-4d8a-4c1e-9123-78f5449abe77",
        "type": "interpretability",
        "queueName": "async_queue",
        "source": "job_queue",
        "status": "completed",
        "requestId": null,
        "snapshotId": "20260501T140226-bfc39c3a",
        "workspaceId": null,
        "analysisRunId": null,
        "progress": 1,
        "stage": "completed",
        "message": "Job completed",
        "error": null,
        "createdAt": "2026-05-01T14:02:29.692Z",
        "startedAt": "2026-05-01T14:02:29.699Z",
        "finishedAt": "2026-05-01T14:02:32.096Z",
        "completedAt": "2026-05-01T14:02:32.096Z",
        "updatedAt": "2026-05-01T14:02:32.096Z",
        "lastHeartbeat": "2026-05-01T14:02:29.699Z",
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 3,
              "items": [
                "TP53",
                "BRCA1",
                "EGFR"
              ]
            },
            "totalItems": 3
          },
          "geneCount": 3,
          "snapshotId": "20260501T140226-bfc39c3a"
        },
        "resultPreview": {
          "tier": "esm2_35m",
          "layer": 6,
          "model": "facebook/esm2_t12_35M_UR50D",
          "proteinCount": 3,
          "saeAvailable": true,
          "failedProteinCount": 0
        }
      },
      {
        "id": "9a211665-c8ef-4116-acf9-92b630ef4e9d",
        "type": "evidence-extraction",
        "queueName": "async_queue",
        "source": "job_queue",
        "status": "running",
        "requestId": null,
        "snapshotId": "20260501T140226-bfc39c3a",
        "workspaceId": null,
        "analysisRunId": null,
        "progress": 0,
        "stage": "running",
        "message": "Job started",
        "error": null,
        "createdAt": "2026-05-01T14:02:29.691Z",
        "startedAt": "2026-05-01T14:02:29.697Z",
        "finishedAt": null,
        "completedAt": null,
        "updatedAt": "2026-05-01T14:02:29.697Z",
        "lastHeartbeat": "2026-05-01T14:02:29.697Z",
        "payloadPreview": {
          "genes": {
            "items": {
              "totalItems": 3,
              "items": [
                "TP53",
                "BRCA1",
                "EGFR"
              ]
            },
            "totalItems": 3
          },
          "geneCount": 3,
          "snapshotId": "20260501T140226-bfc39c3a",
          "hasAnalysis": true,
          "diseaseContext": "breast cancer"
        },
        "resultPreview": {
          "insightCount": 0,
          "citationsVerified": false,
          "totalEvidenceItems": 0,
          "citationResolvedCount": 0
        }
      }
    ]
  },
  "workspaceActivity": {
    "available": true,
    "source": "postgres",
    "reason": null,
    "schemaVersion": "workspace_activity.v1",
    "generatedAt": "2026-05-01T18:27:40.011Z",
    "windowDays": 30,
    "windowStartedAt": "2026-04-01T18:27:40.011Z",
    "breakdownLimit": 8,
    "recentLimit": 10,
    "workspaceId": null,
    "eventType": null,
    "summary": {
      "totalEvents": 0,
      "distinctWorkspaces": 0,
      "distinctActors": 0,
      "snapshotLinkedEvents": 0,
      "decisionEvents": 0,
      "annotationEvents": 0,
      "fileEvents": 0
    },
    "breakdowns": {
      "topEventTypes": [],
      "topWorkspaces": [],
      "topActors": [],
      "topDiseases": []
    },
    "trends": {
      "dailyEvents": []
    },
    "recentEvents": []
  },
  "reportExports": {
    "available": true,
    "source": "postgres",
    "reason": null,
    "schemaVersion": "report_exports.v1",
    "generatedAt": "2026-05-01T18:27:40.066Z",
    "windowDays": 30,
    "windowStartedAt": "2026-04-01T18:27:40.066Z",
    "breakdownLimit": 8,
    "recentLimit": 10,
    "filters": {
      "route": null,
      "outcomeStatus": null,
      "readinessStatus": null
    },
    "summary": {
      "totalExports": 76,
      "generatedExports": 0,
      "blockedExports": 0,
      "failedExports": 76,
      "allowedExports": 0,
      "distinctSnapshots": 2,
      "distinctWorkspaces": 0,
      "avgWarnings": 0,
      "avgBlockers": 0
    },
    "breakdowns": {
      "topRoutes": [
        {
          "key": "/api/export/report/:snapshotId",
          "count": 76
        }
      ],
      "outcomeStatuses": [
        {
          "key": "failed",
          "count": 76
        }
      ],
      "readinessStatuses": [],
      "topDiseases": []
    },
    "trends": {
      "dailyExports": [
        {
          "day": "2026-04-24",
          "count": 1
        },
        {
          "day": "2026-04-25",
          "count": 22
        },
        {
          "day": "2026-04-26",
          "count": 15
        },
        {
          "day": "2026-04-27",
          "count": 4
        },
        {
          "day": "2026-04-30",
          "count": 11
        },
        {
          "day": "2026-05-01",
          "count": 23
        }
      ]
    },
    "recentExports": [
      {
        "exportId": "f26bba58-d7fc-4b7a-9c77-936cb597386a",
        "snapshotId": "nonexistent-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:46:03.323Z"
      },
      {
        "exportId": "f0e5b767-1b44-4eaa-97f7-7d177687a7e9",
        "snapshotId": "nonexistent-snapshot-id-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:46:03.248Z"
      },
      {
        "exportId": "803c138c-6d80-4bb9-958c-fac6e55a6eed",
        "snapshotId": "nonexistent-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:36:56.806Z"
      },
      {
        "exportId": "327a1b1b-3d66-4cd7-9c7f-a08ff1be9f8c",
        "snapshotId": "nonexistent-snapshot-id-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:36:56.723Z"
      },
      {
        "exportId": "0aa52444-62ce-4bbe-b41e-8bd24e74f63f",
        "snapshotId": "nonexistent-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:20:43.979Z"
      },
      {
        "exportId": "26f8a192-1b0b-4e6d-a4ab-b36f4d12cd2f",
        "snapshotId": "nonexistent-snapshot-id-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:20:43.923Z"
      },
      {
        "exportId": "d7053b94-1b8c-4c04-bcda-6ffdaac403f1",
        "snapshotId": "nonexistent-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:13:04.800Z"
      },
      {
        "exportId": "6b27ce36-b7d3-46ce-ac80-574a208f52bd",
        "snapshotId": "nonexistent-snapshot-id-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:13:04.743Z"
      },
      {
        "exportId": "d652dd6e-4c81-44ef-8a1d-2aeb0b7739ef",
        "snapshotId": "nonexistent-snapshot-id-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T14:02:56.630Z"
      },
      {
        "exportId": "b6873492-15d9-40ba-a199-2b7930c7918f",
        "snapshotId": "nonexistent-000",
        "requestId": null,
        "workspaceId": null,
        "route": "/api/export/report/:snapshotId",
        "template": "standard",
        "exportFormat": "html",
        "deliveryMode": "print_preview",
        "outcomeStatus": "failed",
        "readinessStatus": null,
        "allowed": false,
        "diseaseContext": null,
        "audience": null,
        "genes": [],
        "geneCount": 0,
        "warningCount": 0,
        "blockerCount": 0,
        "papersKept": 0,
        "papersDropped": 0,
        "hypothesesKept": 0,
        "hypothesesOmitted": 0,
        "pmidValidCount": 0,
        "pmidInvalidCount": 0,
        "pmidValidationStatus": {},
        "remoteAddress": "::ffff:127.0.0.1",
        "userAgent": "node",
        "errorMessage": "Snapshot not found",
        "statusLabel": null,
        "warnings": [],
        "blockers": [],
        "payloadPreview": {
          "route": "/api/export/report/:snapshotId",
          "findings": null,
          "template": "standard",
          "deliveryMode": "print_preview",
          "droppedPapers": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          },
          "omittedHypotheses": {
            "items": {
              "totalItems": 0,
              "items": []
            },
            "totalItems": 0
          }
        },
        "attemptedAt": "2026-05-01T13:57:53.187Z"
      }
    ]
  },
  "alertHistory": {
    "available": true,
    "source": "postgres",
    "reason": null,
    "schemaVersion": "alert_history.v2",
    "generatedAt": "2026-05-01T18:27:40.087Z",
    "windowDays": 30,
    "windowStartedAt": "2026-04-01T18:27:40.087Z",
    "limit": 20,
    "filters": {
      "code": null,
      "severity": null,
      "surface": null
    },
    "summary": {
      "totalEntries": 50,
      "distinctCaptures": 10,
      "distinctCodes": 8,
      "distinctFingerprints": 30,
      "criticalCount": 0,
      "highCount": 28,
      "mediumCount": 11,
      "lowCount": 11,
      "infoCount": 0
    },
    "breakdowns": {
      "codes": [
        {
          "key": "grounded_ratio_low",
          "count": 10
        },
        {
          "key": "stalled_jobs_detected",
          "count": 10
        },
        {
          "key": "summary_history_unavailable",
          "count": 10
        },
        {
          "key": "export_gate_pressure",
          "count": 9
        },
        {
          "key": "analysis_progress_stale",
          "count": 4
        },
        {
          "key": "jobs_stale",
          "count": 4
        },
        {
          "key": "alert_history_stale",
          "count": 2
        },
        {
          "key": "summary_stale",
          "count": 1
        }
      ],
      "severities": [
        {
          "key": "high",
          "count": 28
        },
        {
          "key": "low",
          "count": 11
        },
        {
          "key": "medium",
          "count": 11
        }
      ],
      "surfaces": [
        {
          "key": "freshness",
          "count": 11
        },
        {
          "key": "jobs",
          "count": 10
        },
        {
          "key": "summary",
          "count": 10
        },
        {
          "key": "summary_history",
          "count": 10
        },
        {
          "key": "report_exports",
          "count": 9
        }
      ]
    },
    "trends": {
      "dailyEntries": [
        {
          "day": "2026-04-24",
          "count": 3
        },
        {
          "day": "2026-04-25",
          "count": 8
        },
        {
          "day": "2026-04-26",
          "count": 6
        },
        {
          "day": "2026-04-27",
          "count": 5
        },
        {
          "day": "2026-04-28",
          "count": 6
        },
        {
          "day": "2026-04-29",
          "count": 7
        },
        {
          "day": "2026-04-30",
          "count": 9
        },
        {
          "day": "2026-05-01",
          "count": 6
        }
      ]
    },
    "recentAlerts": [
      {
        "alertEventId": "a6de4ff6-d6d1-47db-b479-e5bf441e5623",
        "captureId": "145c1a5a-c836-4d64-b683-c26ad3abc864",
        "code": "stalled_jobs_detected",
        "severity": "high",
        "surface": "jobs",
        "focusId": "analytics-recent-jobs",
        "title": "Stalled jobs detected",
        "message": "47 queued or running jobs have gone past the heartbeat threshold.",
        "recommendation": "Inspect worker logs and replay the affected jobs from telemetry history.",
        "metricLabel": "stalled_jobs",
        "metricValueText": "47",
        "metricValueNumeric": 47,
        "alertFingerprint": "349318a329bda54afdc8154e245987e3",
        "surfaceQuery": {
          "stalledOnly": "true"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-05-01T10:15:24.300Z",
        "capturedAt": "2026-05-01T10:15:24.428Z"
      },
      {
        "alertEventId": "6215d09d-46a1-44d5-926d-c207643e4b70",
        "captureId": "145c1a5a-c836-4d64-b683-c26ad3abc864",
        "code": "jobs_stale",
        "severity": "low",
        "surface": "freshness",
        "focusId": "analytics-recent-jobs",
        "title": "Jobs telemetry looks stale",
        "message": "Jobs has not recorded fresh activity for 7h, beyond the expected 6h window.",
        "recommendation": "Verify whether the platform is genuinely idle or whether the telemetry write path for this surface has stalled.",
        "metricLabel": "age_minutes",
        "metricValueText": "413",
        "metricValueNumeric": 413,
        "alertFingerprint": "1582d5354f819402df99f4bb1a250c15",
        "surfaceQuery": {
          "status": "stale",
          "surfaceKey": "jobs"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-05-01T10:15:24.300Z",
        "capturedAt": "2026-05-01T10:15:24.428Z"
      },
      {
        "alertEventId": "039d9429-4811-4243-9b17-6f320a273d3a",
        "captureId": "145c1a5a-c836-4d64-b683-c26ad3abc864",
        "code": "summary_history_unavailable",
        "severity": "medium",
        "surface": "summary_history",
        "focusId": "analytics-recent-summary-history",
        "title": "summary history telemetry unavailable",
        "message": "The summary history analytics surface is currently unavailable, so summary data may be partial.",
        "recommendation": "Check database connectivity and the corresponding analytics feature flag.",
        "metricLabel": "reason",
        "metricValueText": "analytics_summary_history_failed",
        "metricValueNumeric": 0,
        "alertFingerprint": "2a9e69a6b097233b280d8b1d14c8ed86",
        "surfaceQuery": {},
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-05-01T10:15:24.300Z",
        "capturedAt": "2026-05-01T10:15:24.428Z"
      },
      {
        "alertEventId": "f191058b-099d-4ea3-8397-a3bdd5539322",
        "captureId": "145c1a5a-c836-4d64-b683-c26ad3abc864",
        "code": "grounded_ratio_low",
        "severity": "high",
        "surface": "summary",
        "focusId": "analytics-disease-breakdown",
        "title": "Grounded evidence ratio is trending low",
        "message": "Average grounded ratio is 30% for the current run window.",
        "recommendation": "Review recent pathway and evidence extraction outputs for low-grounding contexts.",
        "metricLabel": "grounded_ratio",
        "metricValueText": "0.299",
        "metricValueNumeric": 0.299,
        "alertFingerprint": "f87b4aa9e3fd497c07700d3da0241da4",
        "surfaceQuery": {},
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-05-01T10:15:24.300Z",
        "capturedAt": "2026-05-01T10:15:24.428Z"
      },
      {
        "alertEventId": "68d0a00e-dee4-4701-8cd0-7bdf1b495014",
        "captureId": "145c1a5a-c836-4d64-b683-c26ad3abc864",
        "code": "analysis_progress_stale",
        "severity": "low",
        "surface": "freshness",
        "focusId": "analytics-recent-progress",
        "title": "Analysis Progress telemetry looks stale",
        "message": "Analysis Progress has not recorded fresh activity for 7h, beyond the expected 6h window.",
        "recommendation": "Verify whether the platform is genuinely idle or whether the telemetry write path for this surface has stalled.",
        "metricLabel": "age_minutes",
        "metricValueText": "413",
        "metricValueNumeric": 413,
        "alertFingerprint": "ebd3dd3a8954904c1ff5a3d049c392b9",
        "surfaceQuery": {
          "status": "stale",
          "surfaceKey": "analysis_progress"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-05-01T10:15:24.300Z",
        "capturedAt": "2026-05-01T10:15:24.428Z"
      },
      {
        "alertEventId": "a01b7075-034b-401a-a883-fe000bad8b17",
        "captureId": "145c1a5a-c836-4d64-b683-c26ad3abc864",
        "code": "export_gate_pressure",
        "severity": "high",
        "surface": "report_exports",
        "focusId": "analytics-recent-exports",
        "title": "Export gate pressure is elevated",
        "message": "59 of 59 exports were blocked or failed in the current window.",
        "recommendation": "Review blocker reasons and malformed citation drops in recent export attempts.",
        "metricLabel": "issue_rate",
        "metricValueText": "1",
        "metricValueNumeric": 1,
        "alertFingerprint": "2d5c00e3bf51485a5ff9bf6132a48e11",
        "surfaceQuery": {
          "outcomeStatus": "blocked"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-05-01T10:15:24.300Z",
        "capturedAt": "2026-05-01T10:15:24.427Z"
      },
      {
        "alertEventId": "c839b109-1eb8-4d6a-8c4b-a498f1a3c502",
        "captureId": "40a52d05-64a2-42c4-a5d8-a7220754e548",
        "code": "export_gate_pressure",
        "severity": "high",
        "surface": "report_exports",
        "focusId": "analytics-recent-exports",
        "title": "Export gate pressure is elevated",
        "message": "53 of 53 exports were blocked or failed in the current window.",
        "recommendation": "Review blocker reasons and malformed citation drops in recent export attempts.",
        "metricLabel": "issue_rate",
        "metricValueText": "1",
        "metricValueNumeric": 1,
        "alertFingerprint": "a5c824a7cd6258b0d7bc371c2ada1ee3",
        "surfaceQuery": {
          "outcomeStatus": "blocked"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T22:06:29.244Z",
        "capturedAt": "2026-04-30T22:06:29.307Z"
      },
      {
        "alertEventId": "ddb82294-4ad9-4e2b-9d81-244b3d973f3e",
        "captureId": "40a52d05-64a2-42c4-a5d8-a7220754e548",
        "code": "summary_history_unavailable",
        "severity": "medium",
        "surface": "summary_history",
        "focusId": "analytics-recent-summary-history",
        "title": "summary history telemetry unavailable",
        "message": "The summary history analytics surface is currently unavailable, so summary data may be partial.",
        "recommendation": "Check database connectivity and the corresponding analytics feature flag.",
        "metricLabel": "reason",
        "metricValueText": "analytics_summary_history_failed",
        "metricValueNumeric": 0,
        "alertFingerprint": "2a9e69a6b097233b280d8b1d14c8ed86",
        "surfaceQuery": {},
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T22:06:29.244Z",
        "capturedAt": "2026-04-30T22:06:29.307Z"
      },
      {
        "alertEventId": "6761a428-98c6-4c0c-9c1c-cb030d54ae71",
        "captureId": "40a52d05-64a2-42c4-a5d8-a7220754e548",
        "code": "grounded_ratio_low",
        "severity": "high",
        "surface": "summary",
        "focusId": "analytics-disease-breakdown",
        "title": "Grounded evidence ratio is trending low",
        "message": "Average grounded ratio is 30% for the current run window.",
        "recommendation": "Review recent pathway and evidence extraction outputs for low-grounding contexts.",
        "metricLabel": "grounded_ratio",
        "metricValueText": "0.298",
        "metricValueNumeric": 0.298,
        "alertFingerprint": "9affee371e73283f520671c90feb5789",
        "surfaceQuery": {},
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T22:06:29.244Z",
        "capturedAt": "2026-04-30T22:06:29.307Z"
      },
      {
        "alertEventId": "6c96f7b6-dc6c-44c2-84ba-884e49b96aef",
        "captureId": "40a52d05-64a2-42c4-a5d8-a7220754e548",
        "code": "stalled_jobs_detected",
        "severity": "high",
        "surface": "jobs",
        "focusId": "analytics-recent-jobs",
        "title": "Stalled jobs detected",
        "message": "46 queued or running jobs have gone past the heartbeat threshold.",
        "recommendation": "Inspect worker logs and replay the affected jobs from telemetry history.",
        "metricLabel": "stalled_jobs",
        "metricValueText": "46",
        "metricValueNumeric": 46,
        "alertFingerprint": "6c1ca04750fdc7c195553d2ac28b2c6c",
        "surfaceQuery": {
          "stalledOnly": "true"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T22:06:29.244Z",
        "capturedAt": "2026-04-30T22:06:29.307Z"
      },
      {
        "alertEventId": "a9801b0f-cb10-4a63-8f4f-0cb352130083",
        "captureId": "cad2dcad-8fb4-4f34-9016-d0fb946b1821",
        "code": "export_gate_pressure",
        "severity": "high",
        "surface": "report_exports",
        "focusId": "analytics-recent-exports",
        "title": "Export gate pressure is elevated",
        "message": "53 of 53 exports were blocked or failed in the current window.",
        "recommendation": "Review blocker reasons and malformed citation drops in recent export attempts.",
        "metricLabel": "issue_rate",
        "metricValueText": "1",
        "metricValueNumeric": 1,
        "alertFingerprint": "a5c824a7cd6258b0d7bc371c2ada1ee3",
        "surfaceQuery": {
          "outcomeStatus": "blocked"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T19:51:56.209Z",
        "capturedAt": "2026-04-30T19:51:56.283Z"
      },
      {
        "alertEventId": "e39d0227-b6b9-48ff-b95c-9bcb61869cd9",
        "captureId": "cad2dcad-8fb4-4f34-9016-d0fb946b1821",
        "code": "alert_history_stale",
        "severity": "low",
        "surface": "freshness",
        "focusId": "analytics-recent-alert-history",
        "title": "Alert History telemetry looks stale",
        "message": "Alert History has not recorded fresh activity for 2d, beyond the expected 24h window.",
        "recommendation": "Verify whether the platform is genuinely idle or whether the telemetry write path for this surface has stalled.",
        "metricLabel": "age_minutes",
        "metricValueText": "2569",
        "metricValueNumeric": 2569,
        "alertFingerprint": "a60c3dbc358d20c4fffd413dfbf36bfe",
        "surfaceQuery": {
          "status": "stale",
          "surfaceKey": "alert_history"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T19:51:56.209Z",
        "capturedAt": "2026-04-30T19:51:56.283Z"
      },
      {
        "alertEventId": "0cb8b9ee-769f-4e0b-bb51-5859b22bfd9a",
        "captureId": "cad2dcad-8fb4-4f34-9016-d0fb946b1821",
        "code": "summary_history_unavailable",
        "severity": "medium",
        "surface": "summary_history",
        "focusId": "analytics-recent-summary-history",
        "title": "summary history telemetry unavailable",
        "message": "The summary history analytics surface is currently unavailable, so summary data may be partial.",
        "recommendation": "Check database connectivity and the corresponding analytics feature flag.",
        "metricLabel": "reason",
        "metricValueText": "analytics_summary_history_failed",
        "metricValueNumeric": 0,
        "alertFingerprint": "2a9e69a6b097233b280d8b1d14c8ed86",
        "surfaceQuery": {},
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T19:51:56.209Z",
        "capturedAt": "2026-04-30T19:51:56.283Z"
      },
      {
        "alertEventId": "f49e8eea-ef28-4cac-bd83-d8647a50f93e",
        "captureId": "cad2dcad-8fb4-4f34-9016-d0fb946b1821",
        "code": "grounded_ratio_low",
        "severity": "high",
        "surface": "summary",
        "focusId": "analytics-disease-breakdown",
        "title": "Grounded evidence ratio is trending low",
        "message": "Average grounded ratio is 30% for the current run window.",
        "recommendation": "Review recent pathway and evidence extraction outputs for low-grounding contexts.",
        "metricLabel": "grounded_ratio",
        "metricValueText": "0.298",
        "metricValueNumeric": 0.298,
        "alertFingerprint": "9affee371e73283f520671c90feb5789",
        "surfaceQuery": {},
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T19:51:56.209Z",
        "capturedAt": "2026-04-30T19:51:56.283Z"
      },
      {
        "alertEventId": "ca21350c-5bfa-402b-9039-fac3cb2e7b14",
        "captureId": "cad2dcad-8fb4-4f34-9016-d0fb946b1821",
        "code": "stalled_jobs_detected",
        "severity": "high",
        "surface": "jobs",
        "focusId": "analytics-recent-jobs",
        "title": "Stalled jobs detected",
        "message": "46 queued or running jobs have gone past the heartbeat threshold.",
        "recommendation": "Inspect worker logs and replay the affected jobs from telemetry history.",
        "metricLabel": "stalled_jobs",
        "metricValueText": "46",
        "metricValueNumeric": 46,
        "alertFingerprint": "6c1ca04750fdc7c195553d2ac28b2c6c",
        "surfaceQuery": {
          "stalledOnly": "true"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 5,
        "analyticsRecentLimit": 5,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-30T19:51:56.209Z",
        "capturedAt": "2026-04-30T19:51:56.283Z"
      },
      {
        "alertEventId": "a318915c-e6be-4f96-9cd9-e420eb2cd85b",
        "captureId": "cbc22dfa-91d2-4f45-9502-847ff1cd661f",
        "code": "jobs_stale",
        "severity": "low",
        "surface": "freshness",
        "focusId": "analytics-recent-jobs",
        "title": "Jobs telemetry looks stale",
        "message": "Jobs has not recorded fresh activity for 8h, beyond the expected 6h window.",
        "recommendation": "Verify whether the platform is genuinely idle or whether the telemetry write path for this surface has stalled.",
        "metricLabel": "age_minutes",
        "metricValueText": "479",
        "metricValueNumeric": 479,
        "alertFingerprint": "279deeb1c578007334210d1022f8073f",
        "surfaceQuery": {
          "status": "stale",
          "surfaceKey": "jobs"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-29T01:02:43.447Z",
        "capturedAt": "2026-04-29T01:02:43.558Z"
      },
      {
        "alertEventId": "c273aa45-5702-4c78-8b63-06b64583efee",
        "captureId": "cbc22dfa-91d2-4f45-9502-847ff1cd661f",
        "code": "summary_stale",
        "severity": "low",
        "surface": "freshness",
        "focusId": "analytics-recent-runs",
        "title": "Analysis Runs telemetry looks stale",
        "message": "Analysis Runs has not recorded fresh activity for 2d, beyond the expected 24h window.",
        "recommendation": "Verify whether the platform is genuinely idle or whether the telemetry write path for this surface has stalled.",
        "metricLabel": "age_minutes",
        "metricValueText": "2239",
        "metricValueNumeric": 2239,
        "alertFingerprint": "405ed12021927bbd81db9de4e8e5c043",
        "surfaceQuery": {
          "status": "stale",
          "surfaceKey": "summary"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-29T01:02:43.447Z",
        "capturedAt": "2026-04-29T01:02:43.558Z"
      },
      {
        "alertEventId": "4b249ed6-0b81-4334-8a33-1dfd6cfabf27",
        "captureId": "cbc22dfa-91d2-4f45-9502-847ff1cd661f",
        "code": "analysis_progress_stale",
        "severity": "low",
        "surface": "freshness",
        "focusId": "analytics-recent-progress",
        "title": "Analysis Progress telemetry looks stale",
        "message": "Analysis Progress has not recorded fresh activity for 8h, beyond the expected 6h window.",
        "recommendation": "Verify whether the platform is genuinely idle or whether the telemetry write path for this surface has stalled.",
        "metricLabel": "age_minutes",
        "metricValueText": "480",
        "metricValueNumeric": 480,
        "alertFingerprint": "c89f72fb201f8c61881d35b4b4d19dd5",
        "surfaceQuery": {
          "status": "stale",
          "surfaceKey": "analysis_progress"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-29T01:02:43.447Z",
        "capturedAt": "2026-04-29T01:02:43.558Z"
      },
      {
        "alertEventId": "47d1f62c-dbf4-4d3a-a008-99baef7cab84",
        "captureId": "cbc22dfa-91d2-4f45-9502-847ff1cd661f",
        "code": "export_gate_pressure",
        "severity": "high",
        "surface": "report_exports",
        "focusId": "analytics-recent-exports",
        "title": "Export gate pressure is elevated",
        "message": "42 of 42 exports were blocked or failed in the current window.",
        "recommendation": "Review blocker reasons and malformed citation drops in recent export attempts.",
        "metricLabel": "issue_rate",
        "metricValueText": "1",
        "metricValueNumeric": 1,
        "alertFingerprint": "d12bf5ad79aec99b1b3e2cc7be784169",
        "surfaceQuery": {
          "outcomeStatus": "blocked"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-29T01:02:43.447Z",
        "capturedAt": "2026-04-29T01:02:43.558Z"
      },
      {
        "alertEventId": "850eb073-6ee6-4193-a937-c893020bf8ba",
        "captureId": "cbc22dfa-91d2-4f45-9502-847ff1cd661f",
        "code": "stalled_jobs_detected",
        "severity": "high",
        "surface": "jobs",
        "focusId": "analytics-recent-jobs",
        "title": "Stalled jobs detected",
        "message": "41 queued or running jobs have gone past the heartbeat threshold.",
        "recommendation": "Inspect worker logs and replay the affected jobs from telemetry history.",
        "metricLabel": "stalled_jobs",
        "metricValueText": "41",
        "metricValueNumeric": 41,
        "alertFingerprint": "3201867e4b12ed8b117798b771079f35",
        "surfaceQuery": {
          "stalledOnly": "true"
        },
        "analyticsWindowDays": 30,
        "analyticsBreakdownLimit": 8,
        "analyticsRecentLimit": 10,
        "dedupeWindowMinutes": 15,
        "generatedAt": "2026-04-29T01:02:43.447Z",
        "capturedAt": "2026-04-29T01:02:43.558Z"
      }
    ]
  },
  "summaryHistory": {
    "available": false,
    "reason": "analytics_summary_history_failed"
  },
  "freshness": {
    "available": true,
    "source": "derived",
    "generatedAt": "2026-05-01T18:27:40.097Z",
    "filters": {
      "surfaceKey": null,
      "status": null
    },
    "summary": {
      "totalSurfaces": 6,
      "availableSurfaces": 6,
      "unavailableSurfaces": 0,
      "staleSurfaces": 0,
      "freshSurfaces": 5,
      "idleSurfaces": 1
    },
    "surfaces": [
      {
        "key": "summary",
        "label": "Analysis Runs",
        "focusId": "analytics-recent-runs",
        "available": true,
        "status": "fresh",
        "reason": null,
        "generatedAt": "2026-05-01T18:27:39.949Z",
        "lastSeenAt": "2026-05-01T15:02:05.806Z",
        "ageMinutes": 206,
        "expectedWithinHours": 24,
        "totalCount": 107,
        "isStale": false
      },
      {
        "key": "analysis_progress",
        "label": "Analysis Progress",
        "focusId": "analytics-recent-progress",
        "available": true,
        "status": "fresh",
        "reason": null,
        "generatedAt": "2026-05-01T18:27:39.967Z",
        "lastSeenAt": "2026-05-01T15:03:51.511Z",
        "ageMinutes": 204,
        "expectedWithinHours": 6,
        "totalCount": 1043,
        "isStale": false
      },
      {
        "key": "jobs",
        "label": "Jobs",
        "focusId": "analytics-recent-jobs",
        "available": true,
        "status": "fresh",
        "reason": null,
        "generatedAt": "2026-05-01T18:27:39.989Z",
        "lastSeenAt": "2026-05-01T15:03:51.511Z",
        "ageMinutes": 204,
        "expectedWithinHours": 6,
        "totalCount": 108,
        "isStale": false
      },
      {
        "key": "workspace_activity",
        "label": "Workspace Activity",
        "focusId": "analytics-workspace-breakdown",
        "available": true,
        "status": "idle",
        "reason": null,
        "generatedAt": "2026-05-01T18:27:40.011Z",
        "lastSeenAt": null,
        "ageMinutes": null,
        "expectedWithinHours": 24,
        "totalCount": 0,
        "isStale": false
      },
      {
        "key": "report_exports",
        "label": "Report Exports",
        "focusId": "analytics-recent-exports",
        "available": true,
        "status": "fresh",
        "reason": null,
        "generatedAt": "2026-05-01T18:27:40.066Z",
        "lastSeenAt": "2026-05-01T14:46:03.323Z",
        "ageMinutes": 222,
        "expectedWithinHours": 72,
        "totalCount": 76,
        "isStale": false
      },
      {
        "key": "alert_history",
        "label": "Alert History",
        "focusId": "analytics-recent-alert-history",
        "available": true,
        "status": "fresh",
        "reason": null,
        "generatedAt": "2026-05-01T18:27:40.087Z",
        "lastSeenAt": "2026-05-01T10:15:24.428Z",
        "ageMinutes": 492,
        "expectedWithinHours": 24,
        "totalCount": 50,
        "isStale": false
      }
    ]
  },
  "alerts": [
    {
      "severity": "high",
      "code": "export_gate_pressure",
      "title": "Export gate pressure is elevated",
      "message": "76 of 76 exports were blocked or failed in the current window.",
      "recommendation": "Review blocker reasons and malformed citation drops in recent export attempts.",
      "surface": "report_exports",
      "focusId": "analytics-recent-exports",
      "surfaceQuery": {
        "outcomeStatus": "blocked"
      },
      "metricLabel": "issue_rate",
      "metricValue": 1
    },
    {
      "severity": "high",
      "code": "grounded_ratio_low",
      "title": "Grounded evidence ratio is trending low",
      "message": "Average grounded ratio is 31% for the current run window.",
      "recommendation": "Review recent pathway and evidence extraction outputs for low-grounding contexts.",
      "surface": "summary",
      "focusId": "analytics-disease-breakdown",
      "surfaceQuery": {},
      "metricLabel": "grounded_ratio",
      "metricValue": 0.31
    },
    {
      "severity": "high",
      "code": "stalled_jobs_detected",
      "title": "Stalled jobs detected",
      "message": "51 queued or running jobs have gone past the heartbeat threshold.",
      "recommendation": "Inspect worker logs and replay the affected jobs from telemetry history.",
      "surface": "jobs",
      "focusId": "analytics-recent-jobs",
      "surfaceQuery": {
        "stalledOnly": "true"
      },
      "metricLabel": "stalled_jobs",
      "metricValue": 51
    },
    {
      "severity": "medium",
      "code": "summary_history_unavailable",
      "title": "summary history telemetry unavailable",
      "message": "The summary history analytics surface is currently unavailable, so summary data may be partial.",
      "recommendation": "Check database connectivity and the corresponding analytics feature flag.",
      "surface": "summary_history",
      "focusId": "analytics-recent-summary-history",
      "surfaceQuery": {},
      "metricLabel": "reason",
      "metricValue": "analytics_summary_history_failed"
    }
  ]
}