{
  "date": "2026-07-17",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-07-17T00:00:00+08:00",
  "window_end": "2026-07-18T00: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": 40.4379,
    "total_acp_interactions": 95,
    "active_users": 20,
    "workspace_count": 120,
    "created_workspace_count": 117,
    "new_workspace_count": 133,
    "updated_existing_workspace_count": 16,
    "changed_workspace_count": 149,
    "message_count": 451,
    "user_message_count": 208,
    "assistant_message_count": 238,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Engineering Group / Engineering Mission Pods",
      "team": "Engineering Mission Pods",
      "cost": 11.805,
      "acp_interactions": 45,
      "workspace_count": 91,
      "active_users": 1,
      "message_count": 196,
      "user_message_count": 98,
      "cost_per_ws": 0.1297,
      "cost_per_acp": 0.2623,
      "acp_per_ws": 0.4945,
      "message_per_ws": 2.1538,
      "message_per_acp": 4.3556,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 8.0721,
      "acp_interactions": 33,
      "workspace_count": 12,
      "active_users": 6,
      "message_count": 134,
      "user_message_count": 52,
      "cost_per_ws": 0.6727,
      "cost_per_acp": 0.2446,
      "acp_per_ws": 2.75,
      "message_per_ws": 11.1667,
      "message_per_acp": 4.0606,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering",
      "team": "Database Service Engineering",
      "cost": 4.703,
      "acp_interactions": 0,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 146,
      "user_message_count": 73,
      "cost_per_ws": 2.3515,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 73.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "team": "Professional Services",
      "cost": 4.078,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 24,
      "user_message_count": 15,
      "cost_per_ws": 4.078,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 24.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 3.5414,
      "acp_interactions": 7,
      "workspace_count": 3,
      "active_users": 2,
      "message_count": 50,
      "user_message_count": 24,
      "cost_per_ws": 1.1805,
      "cost_per_acp": 0.5059,
      "acp_per_ws": 2.3333,
      "message_per_ws": 16.6667,
      "message_per_acp": 7.1429,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "cost": 2.4586,
      "acp_interactions": 9,
      "workspace_count": 3,
      "active_users": 1,
      "message_count": 60,
      "user_message_count": 29,
      "cost_per_ws": 0.8195,
      "cost_per_acp": 0.2732,
      "acp_per_ws": 3.0,
      "message_per_ws": 20.0,
      "message_per_acp": 6.6667,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "cost": 1.8958,
      "acp_interactions": 4,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 36,
      "user_message_count": 12,
      "cost_per_ws": 0.9479,
      "cost_per_acp": 0.474,
      "acp_per_ws": 2.0,
      "message_per_ws": 18.0,
      "message_per_acp": 9.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "cost": 0.9924,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 10,
      "user_message_count": 4,
      "cost_per_ws": 0.9924,
      "cost_per_acp": 0.4962,
      "acp_per_ws": 2.0,
      "message_per_ws": 10.0,
      "message_per_acp": 5.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 0.9434,
      "acp_interactions": 1,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 0.4717,
      "cost_per_acp": 0.9434,
      "acp_per_ws": 0.5,
      "message_per_ws": 2.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
      "team": "Essential & Premium",
      "cost": 0.8098,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 8,
      "user_message_count": 4,
      "cost_per_ws": 0.8098,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 8.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / Core Components",
      "team": "Core Components",
      "cost": 0.4265,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 12,
      "user_message_count": 4,
      "cost_per_ws": 0.4265,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 12.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "cost": 0.4009,
      "acp_interactions": 2,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 6,
      "user_message_count": 2,
      "cost_per_ws": 0.2005,
      "cost_per_acp": 0.2005,
      "acp_per_ws": 1.0,
      "message_per_ws": 3.0,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 0.2694,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 8,
      "user_message_count": 4,
      "cost_per_ws": 0.2694,
      "cost_per_acp": 0.2694,
      "acp_per_ws": 1.0,
      "message_per_ws": 8.0,
      "message_per_acp": 8.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": 11.805,
      "acp_interactions": 45,
      "workspace_count": 89,
      "message_count": 178,
      "user_message_count": 89,
      "channel_breakdown": {
        "cli": 41
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5056
    },
    {
      "user_email": "bear.c@pingcap.com",
      "name": "Bear. C",
      "en_name": "Benjamin Xiong",
      "team_path": "Engineering Group / Database Service Engineering",
      "team": "Database Service Engineering",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 4.703,
      "acp_interactions": 0,
      "workspace_count": 2,
      "message_count": 50,
      "user_message_count": 25,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "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": 4.078,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 8,
      "user_message_count": 5,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.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": 3.7572,
      "acp_interactions": 17,
      "workspace_count": 6,
      "message_count": 60,
      "user_message_count": 20,
      "channel_breakdown": {
        "lark": 20
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.8333
    },
    {
      "user_email": "oliver.sheng@pingcap.com",
      "name": "吕夫洋",
      "en_name": "Oliver Sheng",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 2.4586,
      "acp_interactions": 9,
      "workspace_count": 3,
      "message_count": 31,
      "user_message_count": 15,
      "channel_breakdown": {
        "web": 9
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "shigeyuki.fujishima@pingcap.com",
      "name": "Shigeyuki Fujishima",
      "en_name": "Shigeyuki Fujishima",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 2.3971,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 17,
      "user_message_count": 8,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.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": 1.8958,
      "acp_interactions": 4,
      "workspace_count": 2,
      "message_count": 18,
      "user_message_count": 6,
      "channel_breakdown": {
        "lark": 4
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "weizhin.lim@pingcap.com",
      "name": "Lim Wei Zhin",
      "en_name": "Lim Wei Zhin",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.8782,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 7,
      "user_message_count": 3,
      "channel_breakdown": {
        "lark": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.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.1443,
      "acp_interactions": 3,
      "workspace_count": 2,
      "message_count": 8,
      "user_message_count": 4,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.5
    },
    {
      "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.9924,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {},
      "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": 0.8704,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "cli": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.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.8098,
      "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": "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.8068,
      "acp_interactions": 11,
      "workspace_count": 2,
      "message_count": 31,
      "user_message_count": 15,
      "channel_breakdown": {},
      "frequency_bucket": "高频",
      "depth_bucket": "高轮次",
      "behavior_mode": "高频高轮次",
      "avg_acp_per_ws": 5.5
    },
    {
      "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.7461,
      "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": "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.5348,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.0
    },
    {
      "user_email": "hao.chen@pingcap.com",
      "name": "陈浩",
      "en_name": "Howard Chen",
      "team_path": "Product / Core Components",
      "team": "Core Components",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.4265,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 6,
      "user_message_count": 2,
      "channel_breakdown": {
        "lark": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "xuchengxuan@pingcap.com",
      "name": "徐成选",
      "en_name": "Chris Xu",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.4009,
      "acp_interactions": 2,
      "workspace_count": 2,
      "message_count": 6,
      "user_message_count": 2,
      "channel_breakdown": {
        "lark": 2
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.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": 0.349,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.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.2694,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "xuhuaiyu@pingcap.com",
      "name": "徐怀宇",
      "en_name": "Huaiyu Xu",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.073,
      "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
    }
  ],
  "message_categories": [
    {
      "category": "查询纠偏",
      "user_message_count": 2,
      "share": 0.009615,
      "estimated_cost_by_turn": 0.3888,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 181.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 106,
      "share": 0.509615,
      "estimated_cost_by_turn": 20.6078,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 343.9,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 48,
      "share": 0.230769,
      "estimated_cost_by_turn": 9.3318,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 669.12,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 17,
      "share": 0.081731,
      "estimated_cost_by_turn": 3.305,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 139.35,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 10,
      "share": 0.048077,
      "estimated_cost_by_turn": 1.9441,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 19.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 7,
      "share": 0.033654,
      "estimated_cost_by_turn": 1.3609,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 407.29,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "方法论/能力咨询",
      "user_message_count": 1,
      "share": 0.004808,
      "estimated_cost_by_turn": 0.1944,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 165.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 7,
      "share": 0.033654,
      "estimated_cost_by_turn": 1.3609,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 630.14,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "未归类",
      "user_message_count": 10,
      "share": 0.048077,
      "estimated_cost_by_turn": 1.9441,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 22.8,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1784296725883-39dad0e00",
      "title": "enphase",
      "workspace_lifecycle": "new",
      "user_email": "bear.c@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 4.15,
      "message_count": 48,
      "user_message_count": 24
    },
    {
      "workspace_id": "ws-1782351660225-bb37d6c53",
      "title": "UE Cassandra Report 10658480506726873193",
      "workspace_lifecycle": "updated_existing",
      "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": 4.0008,
      "message_count": 8,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1784125550333-8ef7e60f5",
      "title": "TCID-12923",
      "workspace_lifecycle": "updated_existing",
      "user_email": "shigeyuki.fujishima@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "transaction_or_lock_contention",
      "cost": 2.3704,
      "message_count": 17,
      "user_message_count": 8
    },
    {
      "workspace_id": "lark-ws-d12f75d2-1084-4787-b0e3-b0f789868b84",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "weizhin.lim@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 1.8516,
      "message_count": 7,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1784104105228-8642c00e6",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "oliver.sheng@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 1.3817,
      "message_count": 16,
      "user_message_count": 8
    },
    {
      "workspace_id": "lark-ws-e952c136-f11d-490f-a4e9-81cd7bd2edca",
      "title": "Lark APID-29195",
      "workspace_lifecycle": "new",
      "user_email": "cherubin.j@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.2571,
      "message_count": 24,
      "user_message_count": 8
    },
    {
      "workspace_id": "lark-ws-fc9a54ef-6025-4765-b679-72b769f206d2",
      "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": "tikv_hotspot_or_coprocessor",
      "cost": 1.2169,
      "message_count": 12,
      "user_message_count": 4
    },
    {
      "workspace_id": "lark-ws-626a7f9c-8652-4110-adf8-f2bbdc401937",
      "title": "Lark ST-2821",
      "workspace_lifecycle": "new",
      "user_email": "cherubin.j@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 1.0627,
      "message_count": 9,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1784291728440-0c219b02f",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "yuping@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 0.957,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-7a3dcd3c-2aab-47cf-9043-98bf18fb948d",
      "title": "Lark APID-29159",
      "workspace_lifecycle": "new",
      "user_email": "cherubin.j@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.9421,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1783903153993-a177bfce9",
      "title": "TCID-12879 Mercari store.limit",
      "workspace_lifecycle": "updated_existing",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "pd_tso_or_scheduling",
      "cost": 0.9295,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "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.8704,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784256611027-9c2b9bcac",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "oliver.sheng@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "scenario_group": "diagnosis",
      "scenario_category": "data_import_or_load",
      "cost": 0.8635,
      "message_count": 13,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1784225536849-52f871521",
      "title": "O11Y-2617535 PerformanceDegradeRisk investigation",
      "workspace_lifecycle": "new",
      "user_email": "jianghuaxi@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.7964,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1784279656305-3723121e6",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "wen.hu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 0.7385,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-ece0ba7414d0ea8ddbe8adbbbf58814a",
      "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.7365,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-c7679dac-3523-42ef-954f-a4b29b04582f",
      "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": "pd_tso_or_scheduling",
      "cost": 0.5872,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1784199172811-0d3f39dc0",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "zhipeng.su@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.5426,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1784302370962-882d66e7a",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "wai.ho@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.5348,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "lark-ws-09145a1b-8cb2-4ca3-85ae-f1829cf77f62",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "hao.chen@pingcap.com",
      "team_path": "Product / Core Components",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.4232,
      "message_count": 6,
      "user_message_count": 2
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-07-17",
        "cost": 40.4379,
        "acp_interactions": 95,
        "workspace_count": 120,
        "active_users": 20
      }
    ],
    "team_cost_bar": [
      {
        "team": "Engineering Mission Pods",
        "team_path": "Engineering Group / Engineering Mission Pods",
        "cost": 11.805,
        "acp_interactions": 45,
        "workspace_count": 91,
        "active_users": 1
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 8.0721,
        "acp_interactions": 33,
        "workspace_count": 12,
        "active_users": 6
      },
      {
        "team": "Database Service Engineering",
        "team_path": "Engineering Group / Database Service Engineering",
        "cost": 4.703,
        "acp_interactions": 0,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "cost": 4.078,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 3.5414,
        "acp_interactions": 7,
        "workspace_count": 3,
        "active_users": 2
      },
      {
        "team": "Scalable SQL & Data Service",
        "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
        "cost": 2.4586,
        "acp_interactions": 9,
        "workspace_count": 3,
        "active_users": 1
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "cost": 1.8958,
        "acp_interactions": 4,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "cost": 0.9924,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 0.9434,
        "acp_interactions": 1,
        "workspace_count": 2,
        "active_users": 2
      },
      {
        "team": "Essential & Premium",
        "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
        "cost": 0.8098,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Core Components",
        "team_path": "Product / Core Components",
        "cost": 0.4265,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "cost": 0.4009,
        "acp_interactions": 2,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 0.2694,
        "acp_interactions": 1,
        "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.4945,
        "y": 0.2623,
        "size": 91,
        "cost": 11.805
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 2.75,
        "y": 0.2446,
        "size": 12,
        "cost": 8.0721
      },
      {
        "team": "Database Service Engineering",
        "team_path": "Engineering Group / Database Service Engineering",
        "x": 0.0,
        "y": null,
        "size": 2,
        "cost": 4.703
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 4.078
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 2.3333,
        "y": 0.5059,
        "size": 3,
        "cost": 3.5414
      },
      {
        "team": "Scalable SQL & Data Service",
        "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
        "x": 3.0,
        "y": 0.2732,
        "size": 3,
        "cost": 2.4586
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "x": 2.0,
        "y": 0.474,
        "size": 2,
        "cost": 1.8958
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "x": 2.0,
        "y": 0.4962,
        "size": 1,
        "cost": 0.9924
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 0.5,
        "y": 0.9434,
        "size": 2,
        "cost": 0.9434
      },
      {
        "team": "Essential & Premium",
        "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.8098
      },
      {
        "team": "Core Components",
        "team_path": "Product / Core Components",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.4265
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 1.0,
        "y": 0.2005,
        "size": 2,
        "cost": 0.4009
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 1.0,
        "y": 0.2694,
        "size": 1,
        "cost": 0.2694
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.0
      }
    ],
    "message_category_stack": [
      {
        "team": "Engineering Mission Pods",
        "category": "产出物迭代",
        "count": 98
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 18
      },
      {
        "team": "Intelligent Support",
        "category": "产出物迭代",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "未归类",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "流程控制/确认",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 7
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 14
      },
      {
        "team": "Database Service Engineering",
        "category": "Ad hoc 查询",
        "count": 25
      },
      {
        "team": "Database Service Engineering",
        "category": "产出物迭代",
        "count": 12
      },
      {
        "team": "Database Service Engineering",
        "category": "未归类",
        "count": 3
      },
      {
        "team": "Database Service Engineering",
        "category": "查询纠偏",
        "count": 6
      },
      {
        "team": "Database Service Engineering",
        "category": "流程控制/确认",
        "count": 9
      },
      {
        "team": "Database Service Engineering",
        "category": "背景补充",
        "count": 3
      },
      {
        "team": "Database Service Engineering",
        "category": "解释追问",
        "count": 6
      },
      {
        "team": "Database Service Engineering",
        "category": "诊断启动",
        "count": 9
      },
      {
        "team": "Professional Services",
        "category": "Ad hoc 查询",
        "count": 6
      },
      {
        "team": "Professional Services",
        "category": "背景补充",
        "count": 3
      },
      {
        "team": "Professional Services",
        "category": "诊断启动",
        "count": 6
      },
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 20
      },
      {
        "team": "Technical Service",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "方法论/能力咨询",
        "count": 2
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "产出物迭代",
        "count": 7
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "未归类",
        "count": 8
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "诊断启动",
        "count": 6
      },
      {
        "team": "Efficiency & Quality",
        "category": "Ad hoc 查询",
        "count": 10
      },
      {
        "team": "Efficiency & Quality",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "KV Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "KV Service",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "Ad hoc 查询",
        "count": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Essential & Premium",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Core Components",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "TiDB Scalability Service",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "未归类",
        "count": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "背景补充",
        "count": 2
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "bear.c@pingcap.com",
        "x": 2,
        "y": 0.0,
        "cost": 4.703,
        "mode": "高频低轮次"
      },
      {
        "user_email": "cherubin.j@pingcap.com",
        "x": 6,
        "y": 2.8333,
        "cost": 3.7572,
        "mode": "高频低轮次"
      },
      {
        "user_email": "hao.chen@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.4265,
        "mode": "低频低轮次"
      },
      {
        "user_email": "jianghuaxi@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.8098,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.8704,
        "mode": "低频低轮次"
      },
      {
        "user_email": "looperth.wong@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.349,
        "mode": "低频低轮次"
      },
      {
        "user_email": "nizheming@pingcap.com",
        "x": 89,
        "y": 0.5056,
        "cost": 11.805,
        "mode": "高频低轮次"
      },
      {
        "user_email": "oliver.sheng@pingcap.com",
        "x": 3,
        "y": 3.0,
        "cost": 2.4586,
        "mode": "高频低轮次"
      },
      {
        "user_email": "qizheng@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.2694,
        "mode": "低频低轮次"
      },
      {
        "user_email": "shaoxiqian@pingcap.com",
        "x": 2,
        "y": 2.0,
        "cost": 1.8958,
        "mode": "高频低轮次"
      },
      {
        "user_email": "shigeyuki.fujishima@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 2.3971,
        "mode": "低频高轮次"
      },
      {
        "user_email": "takahiko.miyasaka@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 1.1443,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 0.5348,
        "mode": "低频高轮次"
      },
      {
        "user_email": "weizhin.lim@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 1.8782,
        "mode": "低频低轮次"
      },
      {
        "user_email": "wen.hu@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.7461,
        "mode": "低频低轮次"
      },
      {
        "user_email": "xuchengxuan@pingcap.com",
        "x": 2,
        "y": 1.0,
        "cost": 0.4009,
        "mode": "高频低轮次"
      },
      {
        "user_email": "xuhuaiyu@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.073,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yuping@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.9924,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhi.xie@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 4.078,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhipeng.su@pingcap.com",
        "x": 2,
        "y": 5.5,
        "cost": 0.8068,
        "mode": "高频高轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
