{
  "date": "2026-07-21",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-07-21T00:00:00+08:00",
  "window_end": "2026-07-22T00: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": 57.8979,
    "total_acp_interactions": 144,
    "active_users": 22,
    "workspace_count": 176,
    "created_workspace_count": 168,
    "new_workspace_count": 209,
    "updated_existing_workspace_count": 14,
    "changed_workspace_count": 223,
    "message_count": 487,
    "user_message_count": 233,
    "assistant_message_count": 250,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Engineering Group / Engineering Mission Pods",
      "team": "Engineering Mission Pods",
      "cost": 29.6246,
      "acp_interactions": 85,
      "workspace_count": 147,
      "active_users": 1,
      "message_count": 382,
      "user_message_count": 191,
      "cost_per_ws": 0.2015,
      "cost_per_acp": 0.3485,
      "acp_per_ws": 0.5782,
      "message_per_ws": 2.5986,
      "message_per_acp": 4.4941,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "team": "Professional Services",
      "cost": 5.2238,
      "acp_interactions": 5,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 20,
      "user_message_count": 10,
      "cost_per_ws": 5.2238,
      "cost_per_acp": 1.0448,
      "acp_per_ws": 5.0,
      "message_per_ws": 20.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 4.5426,
      "acp_interactions": 18,
      "workspace_count": 10,
      "active_users": 6,
      "message_count": 60,
      "user_message_count": 25,
      "cost_per_ws": 0.4543,
      "cost_per_acp": 0.2524,
      "acp_per_ws": 1.8,
      "message_per_ws": 6.0,
      "message_per_acp": 3.3333,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "cost": 4.3209,
      "acp_interactions": 5,
      "workspace_count": 4,
      "active_users": 3,
      "message_count": 41,
      "user_message_count": 19,
      "cost_per_ws": 1.0802,
      "cost_per_acp": 0.8642,
      "acp_per_ws": 1.25,
      "message_per_ws": 10.25,
      "message_per_acp": 8.2,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "cost": 3.914,
      "acp_interactions": 4,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 16,
      "user_message_count": 8,
      "cost_per_ws": 3.914,
      "cost_per_acp": 0.9785,
      "acp_per_ws": 4.0,
      "message_per_ws": 16.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 2.1431,
      "acp_interactions": 10,
      "workspace_count": 3,
      "active_users": 2,
      "message_count": 50,
      "user_message_count": 24,
      "cost_per_ws": 0.7144,
      "cost_per_acp": 0.2143,
      "acp_per_ws": 3.3333,
      "message_per_ws": 16.6667,
      "message_per_acp": 5.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / PreSales",
      "team": "PreSales",
      "cost": 1.9381,
      "acp_interactions": 7,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 40,
      "user_message_count": 20,
      "cost_per_ws": 0.9691,
      "cost_per_acp": 0.2769,
      "acp_per_ws": 3.5,
      "message_per_ws": 20.0,
      "message_per_acp": 5.7143,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "cost": 1.8575,
      "acp_interactions": 4,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 24,
      "user_message_count": 12,
      "cost_per_ws": 1.8575,
      "cost_per_acp": 0.4644,
      "acp_per_ws": 4.0,
      "message_per_ws": 24.0,
      "message_per_acp": 6.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 1.3472,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 1.3472,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 2.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "cost": 1.2453,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 10,
      "user_message_count": 4,
      "cost_per_ws": 1.2453,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 10.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "cost": 0.7287,
      "acp_interactions": 3,
      "workspace_count": 3,
      "active_users": 1,
      "message_count": 27,
      "user_message_count": 9,
      "cost_per_ws": 0.2429,
      "cost_per_acp": 0.2429,
      "acp_per_ws": 1.0,
      "message_per_ws": 9.0,
      "message_per_acp": 9.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
      "team": "Essential & Premium",
      "cost": 0.6421,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 8,
      "user_message_count": 4,
      "cost_per_ws": 0.6421,
      "cost_per_acp": 0.6421,
      "acp_per_ws": 1.0,
      "message_per_ws": 8.0,
      "message_per_acp": 8.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Central Enabling Group / Solution Architects",
      "team": "Solution Architects",
      "cost": 0.3234,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 8,
      "user_message_count": 4,
      "cost_per_ws": 0.3234,
      "cost_per_acp": 0.1617,
      "acp_per_ws": 2.0,
      "message_per_ws": 8.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "(unknown)",
      "team": "(unknown)",
      "cost": 0.0,
      "acp_interactions": 0,
      "workspace_count": 1,
      "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": "nizheming@pingcap.com",
      "name": "倪哲鸣",
      "en_name": "Zheming Ni",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "team": "Engineering Mission Pods",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 29.6246,
      "acp_interactions": 85,
      "workspace_count": 147,
      "message_count": 310,
      "user_message_count": 155,
      "channel_breakdown": {
        "cli": 84,
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5782
    },
    {
      "user_email": "zhi.xie@pingcap.com",
      "name": "谢智",
      "en_name": "Zhi Xie",
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "team": "Professional Services",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 5.2238,
      "acp_interactions": 5,
      "workspace_count": 1,
      "message_count": 10,
      "user_message_count": 5,
      "channel_breakdown": {
        "web": 5
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 5.0
    },
    {
      "user_email": "zhangxian.xu@pingcap.com",
      "name": "许张贤",
      "en_name": "Zhangxian Xu",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 3.914,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 8,
      "user_message_count": 4,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.0
    },
    {
      "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": 2.8026,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 12,
      "user_message_count": 6,
      "channel_breakdown": {
        "cli": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.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.8575,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 8,
      "user_message_count": 4,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.0
    },
    {
      "user_email": "kentaro.kitagawa@pingcap.com",
      "name": "Kentaro Kitagawa",
      "en_name": "Kentaro Kitagawa",
      "team_path": "Japan Business Group / PreSales",
      "team": "PreSales",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.5084,
      "acp_interactions": 7,
      "workspace_count": 1,
      "message_count": 14,
      "user_message_count": 7,
      "channel_breakdown": {
        "web": 7
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 7.0
    },
    {
      "user_email": "takahiko.miyasaka@pingcap.com",
      "name": "Miyasaka Takahiko",
      "en_name": "Takahiko Miyasaka",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.4914,
      "acp_interactions": 10,
      "workspace_count": 2,
      "message_count": 20,
      "user_message_count": 10,
      "channel_breakdown": {
        "web": 10
      },
      "frequency_bucket": "高频",
      "depth_bucket": "高轮次",
      "behavior_mode": "高频高轮次",
      "avg_acp_per_ws": 5.0
    },
    {
      "user_email": "looperth.wong@pingcap.com",
      "name": "Wong Loo Perth",
      "en_name": "",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.407,
      "acp_interactions": 4,
      "workspace_count": 2,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "lark": 1,
        "web": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.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.3472,
      "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": "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": 1.308,
      "acp_interactions": 2,
      "workspace_count": 2,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.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": 1.2453,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.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": 0.8777,
      "acp_interactions": 4,
      "workspace_count": 2,
      "message_count": 15,
      "user_message_count": 7,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "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.7913,
      "acp_interactions": 0,
      "workspace_count": 2,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {},
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "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.7287,
      "acp_interactions": 3,
      "workspace_count": 3,
      "message_count": 27,
      "user_message_count": 9,
      "channel_breakdown": {
        "lark": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "zhigang.du@pingcap.com",
      "name": "杜志刚",
      "en_name": "Zhigang Du",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.6517,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "jianghuaxi@pingcap.com",
      "name": "江华禧",
      "en_name": "Huaxi Jiang",
      "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
      "team": "Essential & Premium",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.6421,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {
        "cli": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "zhipeng.su@pingcap.com",
      "name": "苏志鹏",
      "en_name": "Aric Su",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.6301,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "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.6175,
      "acp_interactions": 3,
      "workspace_count": 2,
      "message_count": 15,
      "user_message_count": 5,
      "channel_breakdown": {
        "lark": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.5
    },
    {
      "user_email": "masaki.hayashi@pingcap.com",
      "name": "Hayashi Masaki",
      "en_name": "Masaki Hayashi",
      "team_path": "Japan Business Group / PreSales",
      "team": "PreSales",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.4297,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "huyule@pingcap.com",
      "name": "胡玉乐",
      "en_name": "Jasper Hu",
      "team_path": "Central Enabling Group / Solution Architects",
      "team": "Solution Architects",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.3234,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.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.219,
      "acp_interactions": 5,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 5
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 5.0
    },
    {
      "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": 0.2103,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 7,
      "user_message_count": 3,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    }
  ],
  "message_categories": [
    {
      "category": "产出物迭代",
      "user_message_count": 73,
      "share": 0.313305,
      "estimated_cost_by_turn": 18.1397,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 367.11,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 42,
      "share": 0.180258,
      "estimated_cost_by_turn": 10.4365,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 834.79,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 81,
      "share": 0.347639,
      "estimated_cost_by_turn": 20.1276,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 376.19,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 3,
      "share": 0.012876,
      "estimated_cost_by_turn": 0.7455,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 307.33,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 6,
      "share": 0.025751,
      "estimated_cost_by_turn": 1.4909,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 147.33,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 12,
      "share": 0.051502,
      "estimated_cost_by_turn": 2.9819,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 3045.42,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "未归类",
      "user_message_count": 16,
      "share": 0.06867,
      "estimated_cost_by_turn": 3.9758,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 121.19,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1784601056289-15f892050",
      "title": "TokenPocket 10821642679432589811 巡检",
      "workspace_lifecycle": "new",
      "user_email": "zhi.xie@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 5.1284,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1784597463337-113b5bc70",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "zhangxian.xu@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 3.8942,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1784553903524-a7ea42330",
      "title": "TiKV 2077631932836872192 scale-in risk 2026-07-18",
      "workspace_lifecycle": "updated_existing",
      "user_email": "debin.jia@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 2.7674,
      "message_count": 12,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1784619910270-4946d2ca2",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "qiaodan@pingcap.com",
      "team_path": "Product / TiDB X Core Product",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 1.8425,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-b1ff9b724c4c9b539d625d35bca227c4",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.8322,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-7f1da7a866825480eb28819713298179",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.7855,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784617200044-422757e24",
      "title": "無題のワークスペース",
      "workspace_lifecycle": "new",
      "user_email": "kentaro.kitagawa@pingcap.com",
      "team_path": "Japan Business Group / PreSales",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 1.402,
      "message_count": 14,
      "user_message_count": 7
    },
    {
      "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": 1.3472,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-3a94b1a2-1e7f-451d-ad71-7c9a09cae830",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "looperth.wong@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 1.2886,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "lark-ws-5051b0a7-9516-486e-b5d3-83521e6cd64e",
      "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": 1.2316,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-ea26ce2c88f43c81222ab9241378847d",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.1197,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784615047522-9e8a94e95",
      "title": "TCID-12938 iret/BNE ローリングアップデートの挙動",
      "workspace_lifecycle": "new",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 1.0944,
      "message_count": 18,
      "user_message_count": 9
    },
    {
      "workspace_id": "ws-1e7e9beec4ceb1c3a3eece5656a0e2bf",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.8765,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-98c5d4210f448a0acd2c4d3bf758d968",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.8642,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-edebde3c98327e617f964d9071deae53",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.8438,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784598548236-451350b7b",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "yuping@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.7453,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-c57f412fb5781e979c9ded00e7f97cda",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.6741,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784579403285-52280d7b5",
      "title": "O11Y-2620078 TiDB restart investigation",
      "workspace_lifecycle": "new",
      "user_email": "jianghuaxi@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.6258,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1784528345206-7ee6b1e16",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "wen.hu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "gc_or_allocator_pressure",
      "cost": 0.624,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-21b30d10-cbaa-4e05-9a78-c21826643c04",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "zhigang.du@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 0.6215,
      "message_count": 5,
      "user_message_count": 2
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-07-21",
        "cost": 57.8979,
        "acp_interactions": 144,
        "workspace_count": 176,
        "active_users": 22
      }
    ],
    "team_cost_bar": [
      {
        "team": "Engineering Mission Pods",
        "team_path": "Engineering Group / Engineering Mission Pods",
        "cost": 29.6246,
        "acp_interactions": 85,
        "workspace_count": 147,
        "active_users": 1
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "cost": 5.2238,
        "acp_interactions": 5,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 4.5426,
        "acp_interactions": 18,
        "workspace_count": 10,
        "active_users": 6
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "cost": 4.3209,
        "acp_interactions": 5,
        "workspace_count": 4,
        "active_users": 3
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "cost": 3.914,
        "acp_interactions": 4,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 2.1431,
        "acp_interactions": 10,
        "workspace_count": 3,
        "active_users": 2
      },
      {
        "team": "PreSales",
        "team_path": "Japan Business Group / PreSales",
        "cost": 1.9381,
        "acp_interactions": 7,
        "workspace_count": 2,
        "active_users": 2
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "cost": 1.8575,
        "acp_interactions": 4,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 1.3472,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "cost": 1.2453,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "cost": 0.7287,
        "acp_interactions": 3,
        "workspace_count": 3,
        "active_users": 1
      },
      {
        "team": "Essential & Premium",
        "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
        "cost": 0.6421,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Solution Architects",
        "team_path": "Central Enabling Group / Solution Architects",
        "cost": 0.3234,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "cost": 0.0,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 0
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Engineering Mission Pods",
        "team_path": "Engineering Group / Engineering Mission Pods",
        "x": 0.5782,
        "y": 0.3485,
        "size": 147,
        "cost": 29.6246
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "x": 5.0,
        "y": 1.0448,
        "size": 1,
        "cost": 5.2238
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 1.8,
        "y": 0.2524,
        "size": 10,
        "cost": 4.5426
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "x": 1.25,
        "y": 0.8642,
        "size": 4,
        "cost": 4.3209
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "x": 4.0,
        "y": 0.9785,
        "size": 1,
        "cost": 3.914
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 3.3333,
        "y": 0.2143,
        "size": 3,
        "cost": 2.1431
      },
      {
        "team": "PreSales",
        "team_path": "Japan Business Group / PreSales",
        "x": 3.5,
        "y": 0.2769,
        "size": 2,
        "cost": 1.9381
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "x": 4.0,
        "y": 0.4644,
        "size": 1,
        "cost": 1.8575
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 1.3472
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 1.2453
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "x": 1.0,
        "y": 0.2429,
        "size": 3,
        "cost": 0.7287
      },
      {
        "team": "Essential & Premium",
        "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
        "x": 1.0,
        "y": 0.6421,
        "size": 1,
        "cost": 0.6421
      },
      {
        "team": "Solution Architects",
        "team_path": "Central Enabling Group / Solution Architects",
        "x": 2.0,
        "y": 0.1617,
        "size": 1,
        "cost": 0.3234
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.0
      }
    ],
    "message_category_stack": [
      {
        "team": "Engineering Mission Pods",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Engineering Mission Pods",
        "category": "产出物迭代",
        "count": 75
      },
      {
        "team": "Engineering Mission Pods",
        "category": "未归类",
        "count": 18
      },
      {
        "team": "Engineering Mission Pods",
        "category": "诊断启动",
        "count": 96
      },
      {
        "team": "Professional Services",
        "category": "Ad hoc 查询",
        "count": 10
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 6
      },
      {
        "team": "Intelligent Support",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "未归类",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 5
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 6
      },
      {
        "team": "KV Service",
        "category": "Ad hoc 查询",
        "count": 17
      },
      {
        "team": "KV Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 10
      },
      {
        "team": "Technical Service",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "未归类",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "背景补充",
        "count": 8
      },
      {
        "team": "Technical Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "PreSales",
        "category": "Ad hoc 查询",
        "count": 10
      },
      {
        "team": "PreSales",
        "category": "未归类",
        "count": 6
      },
      {
        "team": "PreSales",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "PreSales",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "TiDB X Core Product",
        "category": "Ad hoc 查询",
        "count": 9
      },
      {
        "team": "TiDB X Core Product",
        "category": "未归类",
        "count": 3
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Technical Account Management",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Technical Account Management",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Efficiency & Quality",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Efficiency & Quality",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Efficiency & Quality",
        "category": "背景补充",
        "count": 5
      },
      {
        "team": "Essential & Premium",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Solution Architects",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Solution Architects",
        "category": "未归类",
        "count": 2
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "cherubin.j@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 0.6175,
        "mode": "高频低轮次"
      },
      {
        "user_email": "debin.jia@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 2.8026,
        "mode": "低频低轮次"
      },
      {
        "user_email": "huyule@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.3234,
        "mode": "低频低轮次"
      },
      {
        "user_email": "jianghuaxi@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.6421,
        "mode": "低频低轮次"
      },
      {
        "user_email": "kentaro.kitagawa@pingcap.com",
        "x": 1,
        "y": 7.0,
        "cost": 1.5084,
        "mode": "低频高轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 1.3472,
        "mode": "低频低轮次"
      },
      {
        "user_email": "looperth.wong@pingcap.com",
        "x": 2,
        "y": 2.0,
        "cost": 1.407,
        "mode": "高频低轮次"
      },
      {
        "user_email": "masaki.hayashi@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.4297,
        "mode": "低频低轮次"
      },
      {
        "user_email": "nizheming@pingcap.com",
        "x": 147,
        "y": 0.5782,
        "cost": 29.6246,
        "mode": "高频低轮次"
      },
      {
        "user_email": "peiliang.liu@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 1.2453,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qiaodan@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 1.8575,
        "mode": "低频高轮次"
      },
      {
        "user_email": "shaoxiqian@pingcap.com",
        "x": 3,
        "y": 1.0,
        "cost": 0.7287,
        "mode": "高频低轮次"
      },
      {
        "user_email": "shentaining@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.2103,
        "mode": "低频低轮次"
      },
      {
        "user_email": "takahiko.miyasaka@pingcap.com",
        "x": 2,
        "y": 5.0,
        "cost": 1.4914,
        "mode": "高频高轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 1,
        "y": 5.0,
        "cost": 0.219,
        "mode": "低频高轮次"
      },
      {
        "user_email": "wen.hu@pingcap.com",
        "x": 2,
        "y": 0.0,
        "cost": 0.7913,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yikai.puah@pingcap.com",
        "x": 2,
        "y": 2.0,
        "cost": 0.8777,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yuping@pingcap.com",
        "x": 2,
        "y": 1.0,
        "cost": 1.308,
        "mode": "高频低轮次"
      },
      {
        "user_email": "zhangxian.xu@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 3.914,
        "mode": "低频高轮次"
      },
      {
        "user_email": "zhi.xie@pingcap.com",
        "x": 1,
        "y": 5.0,
        "cost": 5.2238,
        "mode": "低频高轮次"
      },
      {
        "user_email": "zhigang.du@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.6517,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhipeng.su@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.6301,
        "mode": "低频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
