{
  "date": "2026-06-18",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-06-18T00:00:00+08:00",
  "window_end": "2026-06-19T00:00:00+08:00",
  "granularity": "daily",
  "data_status": "complete",
  "source": {
    "kind": "grafana_prometheus_and_prod_sqlite",
    "grafana_datasource": "DevOps-prometheus",
    "grafana_datasource_id": 80,
    "prometheus_labels": {
      "cluster": "prod-devops",
      "namespace": "investibook",
      "job": "backend",
      "prometheus": "monitoring/o11y-vmagent"
    },
    "prod_backend_sqlite": "/data/db/investibook.db",
    "notes": [
      "Cost comes from prod SQLite interaction_token_usage with runtime-aware accounting: OpenCode ses_* rows use cumulative session deltas; PI UUID and image-parse rows use per-row increments.",
      "workspace_count in summary is cost-derived distinct positive-cost workspaces.",
      "Prometheus is used for ACP interaction counts only; investigatory PI sessions made investibook_acp_session_cost unsuitable as the cost source for mixed-runtime weekly reporting.",
      "message categories are rule-based user-message classifications.",
      "scenario labels are added to split daily workspace_changes rows."
    ]
  },
  "summary": {
    "total_cost": 46.012,
    "total_acp_interactions": 84,
    "active_users": 18,
    "workspace_count": 29,
    "created_workspace_count": 20,
    "new_workspace_count": 23,
    "updated_existing_workspace_count": 18,
    "changed_workspace_count": 41,
    "message_count": 277,
    "user_message_count": 125,
    "assistant_message_count": 149,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 15.793,
      "acp_interactions": 31,
      "workspace_count": 3,
      "active_users": 3,
      "message_count": 102,
      "user_message_count": 52,
      "cost_per_ws": 5.2643,
      "cost_per_acp": 0.5095,
      "acp_per_ws": 10.3333,
      "message_per_ws": 34.0,
      "message_per_acp": 3.2903,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "cost": 15.2947,
      "acp_interactions": 28,
      "workspace_count": 6,
      "active_users": 3,
      "message_count": 67,
      "user_message_count": 33,
      "cost_per_ws": 2.5491,
      "cost_per_acp": 0.5462,
      "acp_per_ws": 4.6667,
      "message_per_ws": 11.1667,
      "message_per_acp": 2.3929,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 5.806,
      "acp_interactions": 15,
      "workspace_count": 3,
      "active_users": 3,
      "message_count": 74,
      "user_message_count": 37,
      "cost_per_ws": 1.9353,
      "cost_per_acp": 0.3871,
      "acp_per_ws": 5.0,
      "message_per_ws": 24.6667,
      "message_per_acp": 4.9333,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 4.0539,
      "acp_interactions": 11,
      "workspace_count": 7,
      "active_users": 4,
      "message_count": 41,
      "user_message_count": 20,
      "cost_per_ws": 0.5791,
      "cost_per_acp": 0.3685,
      "acp_per_ws": 1.5714,
      "message_per_ws": 5.8571,
      "message_per_acp": 3.7273,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "cost": 1.5797,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 8,
      "user_message_count": 4,
      "cost_per_ws": 1.5797,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 8.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 1.1309,
      "acp_interactions": 3,
      "workspace_count": 4,
      "active_users": 1,
      "message_count": 8,
      "user_message_count": 4,
      "cost_per_ws": 0.2827,
      "cost_per_acp": 0.377,
      "acp_per_ws": 0.75,
      "message_per_ws": 2.0,
      "message_per_acp": 2.6667,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "cost": 0.9127,
      "acp_interactions": 14,
      "workspace_count": 3,
      "active_users": 1,
      "message_count": 69,
      "user_message_count": 23,
      "cost_per_ws": 0.3042,
      "cost_per_acp": 0.0652,
      "acp_per_ws": 4.6667,
      "message_per_ws": 23.0,
      "message_per_acp": 4.9286,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "cost": 0.8548,
      "acp_interactions": 1,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 6,
      "user_message_count": 3,
      "cost_per_ws": 0.4274,
      "cost_per_acp": 0.8548,
      "acp_per_ws": 0.5,
      "message_per_ws": 3.0,
      "message_per_acp": 6.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "cost": 0.3982,
      "acp_interactions": 3,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 18,
      "user_message_count": 6,
      "cost_per_ws": 0.3982,
      "cost_per_acp": 0.1327,
      "acp_per_ws": 3.0,
      "message_per_ws": 18.0,
      "message_per_acp": 6.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "(unknown)",
      "team": "(unknown)",
      "cost": 0.0,
      "acp_interactions": 0,
      "workspace_count": 3,
      "active_users": 0,
      "message_count": 0,
      "user_message_count": 0,
      "cost_per_ws": 0.0,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 0.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    }
  ],
  "users": [
    {
      "user_email": "shentaining@pingcap.com",
      "name": "沈泰宁",
      "en_name": "Neil Shen",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 14.2748,
      "acp_interactions": 23,
      "workspace_count": 3,
      "message_count": 48,
      "user_message_count": 24,
      "channel_breakdown": {
        "web": 23
      },
      "frequency_bucket": "高频",
      "depth_bucket": "高轮次",
      "behavior_mode": "高频高轮次",
      "avg_acp_per_ws": 7.6667
    },
    {
      "user_email": "yan.zhou@pingcap.com",
      "name": "YanZhou",
      "en_name": "",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 10.6656,
      "acp_interactions": 15,
      "workspace_count": 1,
      "message_count": 35,
      "user_message_count": 18,
      "channel_breakdown": {
        "web": 15
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 15.0
    },
    {
      "user_email": "jianghongmei@pingcap.com",
      "name": "江红梅",
      "en_name": "Hongmei Jiang",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 5.0856,
      "acp_interactions": 14,
      "workspace_count": 1,
      "message_count": 28,
      "user_message_count": 14,
      "channel_breakdown": {
        "web": 14
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 14.0
    },
    {
      "user_email": "yikai.puah@pingcap.com",
      "name": "Puah Yi Kai",
      "en_name": "",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 2.7825,
      "acp_interactions": 9,
      "workspace_count": 4,
      "message_count": 28,
      "user_message_count": 14,
      "channel_breakdown": {
        "web": 9
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.25
    },
    {
      "user_email": "yahonda@pingcap.com",
      "name": "Yasuo Honda",
      "en_name": "",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 2.6173,
      "acp_interactions": 8,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 8
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 8.0
    },
    {
      "user_email": "mizuki.masuda@pingcap.com",
      "name": "Masuda Mizuki",
      "en_name": "Mizuki Masuda",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 2.5101,
      "acp_interactions": 8,
      "workspace_count": 1,
      "message_count": 16,
      "user_message_count": 8,
      "channel_breakdown": {
        "web": 8
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 8.0
    },
    {
      "user_email": "qiaodan@pingcap.com",
      "name": "乔丹",
      "en_name": "Dan Qiao",
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.5797,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "lingtao.li@pingcap.com",
      "name": "李凌涛",
      "en_name": "Lingtao Li",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.1309,
      "acp_interactions": 3,
      "workspace_count": 4,
      "message_count": 8,
      "user_message_count": 4,
      "channel_breakdown": {
        "cli": 1,
        "web": 2
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.75
    },
    {
      "user_email": "debin.jia@pingcap.com",
      "name": "贾德宾",
      "en_name": "Derek Jia",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.938,
      "acp_interactions": 5,
      "workspace_count": 2,
      "message_count": 11,
      "user_message_count": 5,
      "channel_breakdown": {
        "web": 5
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.5
    },
    {
      "user_email": "shaoxiqian@pingcap.com",
      "name": "邵希茜",
      "en_name": "Anita Shao",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.9127,
      "acp_interactions": 14,
      "workspace_count": 3,
      "message_count": 69,
      "user_message_count": 23,
      "channel_breakdown": {
        "lark": 14
      },
      "frequency_bucket": "高频",
      "depth_bucket": "高轮次",
      "behavior_mode": "高频高轮次",
      "avg_acp_per_ws": 4.6667
    },
    {
      "user_email": "wen.hu@pingcap.com",
      "name": "胡雯",
      "en_name": "Wen Hu",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.8951,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "tailingxiang@pingcap.com",
      "name": "邰凌翔",
      "en_name": "Lingxiang Tai",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.8548,
      "acp_interactions": 1,
      "workspace_count": 2,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5
    },
    {
      "user_email": "stanley.huang@pingcap.com",
      "name": "Weiming Huang",
      "en_name": "Stanley Huang",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.7204,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 8,
      "user_message_count": 4,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "peiliang.liu@pingcap.com",
      "name": "刘培梁",
      "en_name": "Jasper Liu",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.3982,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 9,
      "user_message_count": 3,
      "channel_breakdown": {
        "lark": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "wai.ho@pingcap.com",
      "name": "Chun Wai Ho",
      "en_name": "Wai Ho",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.2061,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "cherubin.j@pingcap.com",
      "name": "Cherubin John",
      "en_name": "",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.1702,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "yuping@pingcap.com",
      "name": "俞平",
      "en_name": "Ping Yu",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.0819,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "qizheng@pingcap.com",
      "name": "戚铮",
      "en_name": "Zheng Qi",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.0,
      "acp_interactions": 1,
      "workspace_count": 0,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    }
  ],
  "message_categories": [
    {
      "category": "查询纠偏",
      "user_message_count": 4,
      "share": 0.032,
      "estimated_cost_by_turn": 1.4724,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 429.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 18,
      "share": 0.144,
      "estimated_cost_by_turn": 6.6257,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 1185.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 40,
      "share": 0.32,
      "estimated_cost_by_turn": 14.7238,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 985.98,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 18,
      "share": 0.144,
      "estimated_cost_by_turn": 6.6257,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 443.78,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 11,
      "share": 0.088,
      "estimated_cost_by_turn": 4.0491,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 393.45,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 19,
      "share": 0.152,
      "estimated_cost_by_turn": 6.9938,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 1251.42,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "方法论/能力咨询",
      "user_message_count": 1,
      "share": 0.008,
      "estimated_cost_by_turn": 0.3681,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 36.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 14,
      "share": 0.112,
      "estimated_cost_by_turn": 5.1533,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 1147.43,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1781751993700-3d53e00b4",
      "title": "無題のワークスペース",
      "workspace_lifecycle": "new",
      "user_email": "yan.zhou@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 10.473,
      "message_count": 35,
      "user_message_count": 18
    },
    {
      "workspace_id": "ws-1781744721408-0ba3392f0",
      "title": "You are working on manual_compaction.py for",
      "workspace_lifecycle": "new",
      "user_email": "shentaining@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 8.8653,
      "message_count": 38,
      "user_message_count": 19
    },
    {
      "workspace_id": "ws-1781787955161-96eb24901",
      "title": "You are working on an issue in",
      "workspace_lifecycle": "new",
      "user_email": "shentaining@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 5.3515,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1781775348846-c6d41bb30",
      "title": "查询一下集群 10989049060142230334，如下慢 sql 的出现频率，和时间分布。",
      "workspace_lifecycle": "new",
      "user_email": "jianghongmei@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 5.0568,
      "message_count": 28,
      "user_message_count": 14
    },
    {
      "workspace_id": "ws-1781684915888-af6dd78ac",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yahonda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 2.6173,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1780914018065-cbe680711",
      "title": "TCID-12776",
      "workspace_lifecycle": "updated_existing",
      "user_email": "mizuki.masuda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "transaction_or_lock_contention",
      "cost": 2.3729,
      "message_count": 16,
      "user_message_count": 8
    },
    {
      "workspace_id": "ws-1781153449568-9bbdf43a1",
      "title": "Our TiDB cluster running in PRD env got warning",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 1.781,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1781247076911-9543b7117",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "qiaodan@pingcap.com",
      "team_path": "Product / TiDB X Core Product",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 1.5513,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1781747326202-336362908",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "wen.hu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.8951,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1781720974278-1bb9beade",
      "title": "TCOC-5429_MPPExchangeTunnelTimeout_wetech",
      "workspace_lifecycle": "new",
      "user_email": "stanley.huang@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.6941,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1781598701127-da28e5bfa",
      "title": "tikv自动巡检",
      "workspace_lifecycle": "updated_existing",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "inspection_or_report_generation",
      "cost": 0.6828,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1781711902537-7eae35453",
      "title": "帮我看下 https://tidb.atlassian.net/browse/GTOC-8523",
      "workspace_lifecycle": "updated_existing",
      "user_email": "tailingxiang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.6807,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-aa39ce88-b497-48a6-8cf8-2714aed2b1ae",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "shaoxiqian@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.5056,
      "message_count": 36,
      "user_message_count": 12
    },
    {
      "workspace_id": "ws-1781744436938-b84636821",
      "title": "https://tidb.atlassian.net/browse/GTOC-8536",
      "workspace_lifecycle": "new",
      "user_email": "debin.jia@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.4781,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1781771879560-1f87d5c02",
      "title": "客户咨询执行计划选择索引问题，下面的 SQL",
      "workspace_lifecycle": "new",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.4239,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1781773656908-5e44ce96d",
      "title": "https://tidb.atlassian.net/browse/TCOC-5433",
      "workspace_lifecycle": "new",
      "user_email": "debin.jia@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.3995,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-d48cf586-92b0-412e-8d18-93e2deb86d90",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "peiliang.liu@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.3934,
      "message_count": 9,
      "user_message_count": 3
    },
    {
      "workspace_id": "lark-ws-2d1f4794-9766-4c76-970c-0c82b3b231be",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.3318,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1780893322629-05079a8e5",
      "title": "体验op环境，v8.5.4，一个tidb server节点oom。 从top",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "memory_or_oom_pressure",
      "cost": 0.3186,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-9d421c91-ba7a-4e03-b29c-047622db8a19",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "shaoxiqian@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.2498,
      "message_count": 27,
      "user_message_count": 9
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-06-18",
        "cost": 46.012,
        "acp_interactions": 84,
        "workspace_count": 29,
        "active_users": 18
      }
    ],
    "team_cost_bar": [
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 15.793,
        "acp_interactions": 31,
        "workspace_count": 3,
        "active_users": 3
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "cost": 15.2947,
        "acp_interactions": 28,
        "workspace_count": 6,
        "active_users": 3
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 5.806,
        "acp_interactions": 15,
        "workspace_count": 3,
        "active_users": 3
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 4.0539,
        "acp_interactions": 11,
        "workspace_count": 7,
        "active_users": 4
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "cost": 1.5797,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 1.1309,
        "acp_interactions": 3,
        "workspace_count": 4,
        "active_users": 1
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "cost": 0.9127,
        "acp_interactions": 14,
        "workspace_count": 3,
        "active_users": 1
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "cost": 0.8548,
        "acp_interactions": 1,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "cost": 0.3982,
        "acp_interactions": 3,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "cost": 0.0,
        "acp_interactions": 0,
        "workspace_count": 3,
        "active_users": 0
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 10.3333,
        "y": 0.5095,
        "size": 3,
        "cost": 15.793
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "x": 4.6667,
        "y": 0.5462,
        "size": 6,
        "cost": 15.2947
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 5.0,
        "y": 0.3871,
        "size": 3,
        "cost": 5.806
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 1.5714,
        "y": 0.3685,
        "size": 7,
        "cost": 4.0539
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 1.5797
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 0.75,
        "y": 0.377,
        "size": 4,
        "cost": 1.1309
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "x": 4.6667,
        "y": 0.0652,
        "size": 3,
        "cost": 0.9127
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "x": 0.5,
        "y": 0.8548,
        "size": 2,
        "cost": 0.8548
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "x": 3.0,
        "y": 0.1327,
        "size": 1,
        "cost": 0.3982
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "x": 0.0,
        "y": null,
        "size": 3,
        "cost": 0.0
      }
    ],
    "message_category_stack": [
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 20
      },
      {
        "team": "Technical Service",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "查询纠偏",
        "count": 4
      },
      {
        "team": "Technical Service",
        "category": "流程控制/确认",
        "count": 8
      },
      {
        "team": "Technical Service",
        "category": "背景补充",
        "count": 4
      },
      {
        "team": "Technical Service",
        "category": "解释追问",
        "count": 6
      },
      {
        "team": "Technical Service",
        "category": "诊断启动",
        "count": 8
      },
      {
        "team": "KV Service",
        "category": "产出物迭代",
        "count": 14
      },
      {
        "team": "KV Service",
        "category": "查询纠偏",
        "count": 1
      },
      {
        "team": "KV Service",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "KV Service",
        "category": "背景补充",
        "count": 10
      },
      {
        "team": "KV Service",
        "category": "诊断启动",
        "count": 6
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 19
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "流程控制/确认",
        "count": 4
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "解释追问",
        "count": 6
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "诊断启动",
        "count": 8
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "查询纠偏",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "流程控制/确认",
        "count": 6
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 8
      },
      {
        "team": "TiDB X Core Product",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Efficiency & Quality",
        "category": "Ad hoc 查询",
        "count": 11
      },
      {
        "team": "Efficiency & Quality",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "方法论/能力咨询",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "流程控制/确认",
        "count": 5
      },
      {
        "team": "Efficiency & Quality",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Efficiency & Quality",
        "category": "解释追问",
        "count": 3
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "诊断启动",
        "count": 1
      },
      {
        "team": "Technical Account Management",
        "category": "Ad hoc 查询",
        "count": 6
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "cherubin.j@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.1702,
        "mode": "低频低轮次"
      },
      {
        "user_email": "debin.jia@pingcap.com",
        "x": 2,
        "y": 2.5,
        "cost": 0.938,
        "mode": "高频低轮次"
      },
      {
        "user_email": "jianghongmei@pingcap.com",
        "x": 1,
        "y": 14.0,
        "cost": 5.0856,
        "mode": "低频高轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 4,
        "y": 0.75,
        "cost": 1.1309,
        "mode": "高频低轮次"
      },
      {
        "user_email": "mizuki.masuda@pingcap.com",
        "x": 1,
        "y": 8.0,
        "cost": 2.5101,
        "mode": "低频高轮次"
      },
      {
        "user_email": "peiliang.liu@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 0.3982,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qiaodan@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 1.5797,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qizheng@pingcap.com",
        "x": 0,
        "y": 0.0,
        "cost": 0.0,
        "mode": "低频低轮次"
      },
      {
        "user_email": "shaoxiqian@pingcap.com",
        "x": 3,
        "y": 4.6667,
        "cost": 0.9127,
        "mode": "高频高轮次"
      },
      {
        "user_email": "shentaining@pingcap.com",
        "x": 3,
        "y": 7.6667,
        "cost": 14.2748,
        "mode": "高频高轮次"
      },
      {
        "user_email": "stanley.huang@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.7204,
        "mode": "低频低轮次"
      },
      {
        "user_email": "tailingxiang@pingcap.com",
        "x": 2,
        "y": 0.5,
        "cost": 0.8548,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.2061,
        "mode": "低频低轮次"
      },
      {
        "user_email": "wen.hu@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.8951,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yahonda@pingcap.com",
        "x": 1,
        "y": 8.0,
        "cost": 2.6173,
        "mode": "低频高轮次"
      },
      {
        "user_email": "yan.zhou@pingcap.com",
        "x": 1,
        "y": 15.0,
        "cost": 10.6656,
        "mode": "低频高轮次"
      },
      {
        "user_email": "yikai.puah@pingcap.com",
        "x": 4,
        "y": 2.25,
        "cost": 2.7825,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yuping@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.0819,
        "mode": "低频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
