{
  "date": "2026-07-24",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-07-24T00:00:00+08:00",
  "window_end": "2026-07-25T00: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": 45.5709,
    "total_acp_interactions": 111,
    "active_users": 20,
    "workspace_count": 26,
    "created_workspace_count": 21,
    "new_workspace_count": 34,
    "updated_existing_workspace_count": 12,
    "changed_workspace_count": 46,
    "message_count": 244,
    "user_message_count": 123,
    "assistant_message_count": 115,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 11.9464,
      "acp_interactions": 41,
      "workspace_count": 3,
      "active_users": 3,
      "message_count": 166,
      "user_message_count": 81,
      "cost_per_ws": 3.9821,
      "cost_per_acp": 0.2914,
      "acp_per_ws": 13.6667,
      "message_per_ws": 55.3333,
      "message_per_acp": 4.0488,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 11.9171,
      "acp_interactions": 13,
      "workspace_count": 5,
      "active_users": 3,
      "message_count": 92,
      "user_message_count": 59,
      "cost_per_ws": 2.3834,
      "cost_per_acp": 0.9167,
      "acp_per_ws": 2.6,
      "message_per_ws": 18.4,
      "message_per_acp": 7.0769,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 5.9386,
      "acp_interactions": 18,
      "workspace_count": 8,
      "active_users": 4,
      "message_count": 39,
      "user_message_count": 18,
      "cost_per_ws": 0.7423,
      "cost_per_acp": 0.3299,
      "acp_per_ws": 2.25,
      "message_per_ws": 4.875,
      "message_per_acp": 2.1667,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "cost": 5.8433,
      "acp_interactions": 20,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 104,
      "user_message_count": 52,
      "cost_per_ws": 2.9217,
      "cost_per_acp": 0.2922,
      "acp_per_ws": 10.0,
      "message_per_ws": 52.0,
      "message_per_acp": 5.2,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "cost": 1.9145,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 1.9145,
      "cost_per_acp": 1.9145,
      "acp_per_ws": 1.0,
      "message_per_ws": 4.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 1.8064,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 1.8064,
      "cost_per_acp": 1.8064,
      "acp_per_ws": 1.0,
      "message_per_ws": 2.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "cost": 1.7901,
      "acp_interactions": 3,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 14,
      "user_message_count": 6,
      "cost_per_ws": 0.8951,
      "cost_per_acp": 0.5967,
      "acp_per_ws": 1.5,
      "message_per_ws": 7.0,
      "message_per_acp": 4.6667,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / Enterprise & Partner Product",
      "team": "Enterprise & Partner Product",
      "cost": 1.6185,
      "acp_interactions": 4,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 16,
      "user_message_count": 8,
      "cost_per_ws": 1.6185,
      "cost_per_acp": 0.4046,
      "acp_per_ws": 4.0,
      "message_per_ws": 16.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Central Enabling Group / Solution Architects",
      "team": "Solution Architects",
      "cost": 1.0652,
      "acp_interactions": 3,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 12,
      "user_message_count": 6,
      "cost_per_ws": 1.0652,
      "cost_per_acp": 0.3551,
      "acp_per_ws": 3.0,
      "message_per_ws": 12.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "team": "Intelligent Support Enablement",
      "cost": 0.786,
      "acp_interactions": 3,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 12,
      "user_message_count": 4,
      "cost_per_ws": 0.393,
      "cost_per_acp": 0.262,
      "acp_per_ws": 1.5,
      "message_per_ws": 6.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality / Test Platform Service",
      "team": "Test Platform Service",
      "cost": 0.6446,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 0.6446,
      "cost_per_acp": 0.3223,
      "acp_per_ws": 2.0,
      "message_per_ws": 4.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "team": "Starter",
      "cost": 0.2341,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 10,
      "user_message_count": 4,
      "cost_per_ws": 0.2341,
      "cost_per_acp": 0.1171,
      "acp_per_ws": 2.0,
      "message_per_ws": 10.0,
      "message_per_acp": 5.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
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "cost": 0.0,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 1,
      "user_message_count": 0,
      "cost_per_ws": 0.0,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 1.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    }
  ],
  "users": [
    {
      "user_email": "chenqingjing@pingcap.com",
      "name": "Kenny Chan",
      "en_name": "",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 10.7078,
      "acp_interactions": 9,
      "workspace_count": 2,
      "message_count": 19,
      "user_message_count": 9,
      "channel_breakdown": {
        "web": 9
      },
      "frequency_bucket": "高频",
      "depth_bucket": "高轮次",
      "behavior_mode": "高频高轮次",
      "avg_acp_per_ws": 4.5
    },
    {
      "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": 8.7788,
      "acp_interactions": 35,
      "workspace_count": 1,
      "message_count": 72,
      "user_message_count": 36,
      "channel_breakdown": {
        "web": 35
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 35.0
    },
    {
      "user_email": "tailingxiang@pingcap.com",
      "name": "邰凌翔",
      "en_name": "Lingxiang Tai",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 5.8433,
      "acp_interactions": 20,
      "workspace_count": 2,
      "message_count": 40,
      "user_message_count": 20,
      "channel_breakdown": {
        "web": 20
      },
      "frequency_bucket": "高频",
      "depth_bucket": "高轮次",
      "behavior_mode": "高频高轮次",
      "avg_acp_per_ws": 10.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": 3.059,
      "acp_interactions": 6,
      "workspace_count": 2,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 6
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 3.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": 3.0315,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 8,
      "user_message_count": 3,
      "channel_breakdown": {
        "lark": 2,
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.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": 2.3358,
      "acp_interactions": 7,
      "workspace_count": 2,
      "message_count": 15,
      "user_message_count": 7,
      "channel_breakdown": {
        "web": 7
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 3.5
    },
    {
      "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": 1.9145,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.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.8064,
      "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": "yu.zheng@pingcap.com",
      "name": "郑宇",
      "en_name": "",
      "team_path": "Product / Enterprise & Partner Product",
      "team": "Enterprise & Partner Product",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.6185,
      "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": "brian.w@pingcap.com",
      "name": "张建伟",
      "en_name": "Brian.Zhang",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.4277,
      "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": "stanley.huang@pingcap.com",
      "name": "Weiming Huang",
      "en_name": "Stanley Huang",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.106,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 25,
      "user_message_count": 20,
      "channel_breakdown": {
        "cli": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.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": 1.0652,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "xieyujie@pingcap.com",
      "name": "谢玉洁",
      "en_name": "Yujie Xie",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "team": "Intelligent Support Enablement",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.786,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {
        "lark": 2,
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "yuchao.li@pingcap.com",
      "name": "李煜超",
      "en_name": "Yuchao Li",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality / Test Platform Service",
      "team": "Test Platform Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.6446,
      "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": "cong.cao@pingcap.com",
      "name": "曹聪",
      "en_name": "Cong Cao",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.3624,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {
        "lark": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.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.343,
      "acp_interactions": 2,
      "workspace_count": 2,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {
        "lark": 1,
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "jingyi.yao@pingcap.com",
      "name": "姚靖怡",
      "en_name": "Jingyi Yao",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "team": "Starter",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.2341,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 5,
      "user_message_count": 2,
      "channel_breakdown": {
        "lark": 1,
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.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.2008,
      "acp_interactions": 3,
      "workspace_count": 2,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.5
    },
    {
      "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": 0.1361,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "jianghongmei@pingcap.com",
      "name": "江红梅",
      "en_name": "Hongmei Jiang",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.1033,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    }
  ],
  "message_categories": [
    {
      "category": "查询纠偏",
      "user_message_count": 5,
      "share": 0.04065,
      "estimated_cost_by_turn": 1.8525,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 437.8,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 18,
      "share": 0.146341,
      "estimated_cost_by_turn": 6.6689,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 555.94,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 45,
      "share": 0.365854,
      "estimated_cost_by_turn": 16.6723,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 296.96,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 28,
      "share": 0.227642,
      "estimated_cost_by_turn": 10.3739,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 1396.86,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 13,
      "share": 0.105691,
      "estimated_cost_by_turn": 4.8164,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 59.92,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 5,
      "share": 0.04065,
      "estimated_cost_by_turn": 1.8525,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 244.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 6,
      "share": 0.04878,
      "estimated_cost_by_turn": 2.223,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 115.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "未归类",
      "user_message_count": 3,
      "share": 0.02439,
      "estimated_cost_by_turn": 1.1115,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 56.33,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1784851288773-b08320fe0",
      "title": "TCID-12956 Mercari scaling CPU balance",
      "workspace_lifecycle": "new",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "pd_tso_or_scheduling",
      "cost": 8.6361,
      "message_count": 72,
      "user_message_count": 36
    },
    {
      "workspace_id": "ws-1784886980360-15ea7201a",
      "title": "TCOC-5643",
      "workspace_lifecycle": "new",
      "user_email": "chenqingjing@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 6.3879,
      "message_count": 15,
      "user_message_count": 7
    },
    {
      "workspace_id": "ws-1784788204840-d7bc07de9",
      "title": "Consider the dedicated cluster",
      "workspace_lifecycle": "updated_existing",
      "user_email": "chenqingjing@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 4.1794,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1784885034549-6582fe4d2",
      "title": "https://tidb.atlassian.net/browse/O11Y-2622763",
      "workspace_lifecycle": "new",
      "user_email": "tailingxiang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 4.0251,
      "message_count": 24,
      "user_message_count": 12
    },
    {
      "workspace_id": "lark-ws-4eb83e9d-e0ce-4f24-8d49-ac7f163111ad",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "zhigang.du@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 3.0268,
      "message_count": 8,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1784818240695-03ad27582",
      "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": 2.7691,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1784889979953-8f3e6a222",
      "title": "TCID-12965",
      "workspace_lifecycle": "new",
      "user_email": "zhipeng.su@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 2.1445,
      "message_count": 13,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1784734314767-0105390ff",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "debin.jia@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 1.8953,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "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.8064,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784878218901-7be45f4e6",
      "title": "帮我看下 https://tidb.atlassian.net/browse/O11Y-262267",
      "workspace_lifecycle": "new",
      "user_email": "tailingxiang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 1.5893,
      "message_count": 16,
      "user_message_count": 8
    },
    {
      "workspace_id": "ws-1784859422061-4ebf9e386",
      "title": "Cluster 10083921845422295624",
      "workspace_lifecycle": "new",
      "user_email": "yu.zheng@pingcap.com",
      "team_path": "Product / Enterprise & Partner Product",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.587,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1784872643206-a85efa344",
      "title": "客户反馈24日10点49到11点之间，集群",
      "workspace_lifecycle": "new",
      "user_email": "brian.w@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 1.4048,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1784836722800-f144819d8",
      "title": "TCOC-5654_SpikeInConnections_tenant1372813089209262891",
      "workspace_lifecycle": "new",
      "user_email": "stanley.huang@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 1.0594,
      "message_count": 25,
      "user_message_count": 20
    },
    {
      "workspace_id": "ws-1784882729203-01a169a76",
      "title": "Cluster 10450079408690218979",
      "workspace_lifecycle": "new",
      "user_email": "huyule@pingcap.com",
      "team_path": "Central Enabling Group / Solution Architects",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 1.0283,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1784900766798-ac8c23087",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "xieyujie@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.7557,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784879810082-c773ed763",
      "title": "tidbcloud staging 环境 为什么 2026/07/24 00:06:39",
      "workspace_lifecycle": "new",
      "user_email": "yuchao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality / Test Platform Service",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.6446,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-b5ae2115-3777-4386-bed2-bac59e5222df",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "cong.cao@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 0.3577,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784896252915-052102911",
      "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.2899,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "lark-ws-5b0aca0e-274c-4e37-b864-99da7abc1e0a",
      "title": "Lark APID-29179",
      "workspace_lifecycle": "updated_existing",
      "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.2814,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-8bf5cb14-6552-4f16-ae6c-38ba1f6ac43a",
      "title": "Lark O11Y-2622411",
      "workspace_lifecycle": "new",
      "user_email": "jingyi.yao@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.2215,
      "message_count": 5,
      "user_message_count": 2
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-07-24",
        "cost": 45.5709,
        "acp_interactions": 111,
        "workspace_count": 26,
        "active_users": 20
      }
    ],
    "team_cost_bar": [
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 11.9464,
        "acp_interactions": 41,
        "workspace_count": 3,
        "active_users": 3
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 11.9171,
        "acp_interactions": 13,
        "workspace_count": 5,
        "active_users": 3
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 5.9386,
        "acp_interactions": 18,
        "workspace_count": 8,
        "active_users": 4
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "cost": 5.8433,
        "acp_interactions": 20,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "cost": 1.9145,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 1.8064,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "cost": 1.7901,
        "acp_interactions": 3,
        "workspace_count": 2,
        "active_users": 2
      },
      {
        "team": "Enterprise & Partner Product",
        "team_path": "Product / Enterprise & Partner Product",
        "cost": 1.6185,
        "acp_interactions": 4,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Solution Architects",
        "team_path": "Central Enabling Group / Solution Architects",
        "cost": 1.0652,
        "acp_interactions": 3,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
        "cost": 0.786,
        "acp_interactions": 3,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Test Platform Service",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality / Test Platform Service",
        "cost": 0.6446,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Starter",
        "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
        "cost": 0.2341,
        "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": "Scalable SQL & Data Service",
        "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
        "cost": 0.0,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 13.6667,
        "y": 0.2914,
        "size": 3,
        "cost": 11.9464
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 2.6,
        "y": 0.9167,
        "size": 5,
        "cost": 11.9171
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 2.25,
        "y": 0.3299,
        "size": 8,
        "cost": 5.9386
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "x": 10.0,
        "y": 0.2922,
        "size": 2,
        "cost": 5.8433
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "x": 1.0,
        "y": 1.9145,
        "size": 1,
        "cost": 1.9145
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 1.0,
        "y": 1.8064,
        "size": 1,
        "cost": 1.8064
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "x": 1.5,
        "y": 0.5967,
        "size": 2,
        "cost": 1.7901
      },
      {
        "team": "Enterprise & Partner Product",
        "team_path": "Product / Enterprise & Partner Product",
        "x": 4.0,
        "y": 0.4046,
        "size": 1,
        "cost": 1.6185
      },
      {
        "team": "Solution Architects",
        "team_path": "Central Enabling Group / Solution Architects",
        "x": 3.0,
        "y": 0.3551,
        "size": 1,
        "cost": 1.0652
      },
      {
        "team": "Intelligent Support Enablement",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
        "x": 1.5,
        "y": 0.262,
        "size": 2,
        "cost": 0.786
      },
      {
        "team": "Test Platform Service",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality / Test Platform Service",
        "x": 2.0,
        "y": 0.3223,
        "size": 1,
        "cost": 0.6446
      },
      {
        "team": "Starter",
        "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
        "x": 2.0,
        "y": 0.1171,
        "size": 1,
        "cost": 0.2341
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.0
      },
      {
        "team": "Scalable SQL & Data Service",
        "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.0
      }
    ],
    "message_category_stack": [
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 25
      },
      {
        "team": "Technical Service",
        "category": "产出物迭代",
        "count": 30
      },
      {
        "team": "Technical Service",
        "category": "未归类",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "查询纠偏",
        "count": 4
      },
      {
        "team": "Technical Service",
        "category": "背景补充",
        "count": 4
      },
      {
        "team": "Technical Service",
        "category": "解释追问",
        "count": 10
      },
      {
        "team": "Technical Service",
        "category": "诊断启动",
        "count": 6
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 10
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "未归类",
        "count": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "流程控制/确认",
        "count": 6
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "诊断启动",
        "count": 36
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "流程控制/确认",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 6
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 3
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "Ad hoc 查询",
        "count": 35
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "产出物迭代",
        "count": 3
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "查询纠偏",
        "count": 3
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "流程控制/确认",
        "count": 3
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "解释追问",
        "count": 5
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "诊断启动",
        "count": 3
      },
      {
        "team": "KV Service",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Technical Account Management",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Technical Account Management",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Enterprise & Partner Product",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Enterprise & Partner Product",
        "category": "未归类",
        "count": 2
      },
      {
        "team": "Enterprise & Partner Product",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Solution Architects",
        "category": "查询纠偏",
        "count": 4
      },
      {
        "team": "Solution Architects",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Intelligent Support Enablement",
        "category": "Ad hoc 查询",
        "count": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "category": "解释追问",
        "count": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Test Platform Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Starter",
        "category": "Ad hoc 查询",
        "count": 4
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "brian.w@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 1.4277,
        "mode": "低频低轮次"
      },
      {
        "user_email": "chenqingjing@pingcap.com",
        "x": 2,
        "y": 4.5,
        "cost": 10.7078,
        "mode": "高频高轮次"
      },
      {
        "user_email": "cherubin.j@pingcap.com",
        "x": 2,
        "y": 1.0,
        "cost": 0.343,
        "mode": "高频低轮次"
      },
      {
        "user_email": "cong.cao@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.3624,
        "mode": "低频低轮次"
      },
      {
        "user_email": "debin.jia@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 1.9145,
        "mode": "低频低轮次"
      },
      {
        "user_email": "huyule@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 1.0652,
        "mode": "低频低轮次"
      },
      {
        "user_email": "jianghongmei@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.1033,
        "mode": "低频低轮次"
      },
      {
        "user_email": "jingyi.yao@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.2341,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 1.8064,
        "mode": "低频低轮次"
      },
      {
        "user_email": "shigeyuki.fujishima@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 0.1361,
        "mode": "低频低轮次"
      },
      {
        "user_email": "stanley.huang@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 1.106,
        "mode": "低频低轮次"
      },
      {
        "user_email": "tailingxiang@pingcap.com",
        "x": 2,
        "y": 10.0,
        "cost": 5.8433,
        "mode": "高频高轮次"
      },
      {
        "user_email": "takahiko.miyasaka@pingcap.com",
        "x": 1,
        "y": 35.0,
        "cost": 8.7788,
        "mode": "低频高轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 2,
        "y": 3.0,
        "cost": 3.059,
        "mode": "高频低轮次"
      },
      {
        "user_email": "xieyujie@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 0.786,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yikai.puah@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 0.2008,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yu.zheng@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 1.6185,
        "mode": "低频高轮次"
      },
      {
        "user_email": "yuchao.li@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.6446,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhigang.du@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 3.0315,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhipeng.su@pingcap.com",
        "x": 2,
        "y": 3.5,
        "cost": 2.3358,
        "mode": "高频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
