{
  "date": "2026-08-20",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-08-20T00:00:00+08:00",
  "window_end": "2026-08-21T00: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": 31.1621,
    "total_acp_interactions": 62,
    "active_users": 17,
    "workspace_count": 25,
    "created_workspace_count": 19,
    "new_workspace_count": 16,
    "updated_existing_workspace_count": 10,
    "changed_workspace_count": 26,
    "message_count": 144,
    "user_message_count": 64,
    "assistant_message_count": 74,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 11.5755,
      "acp_interactions": 8,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 19,
      "user_message_count": 9,
      "cost_per_ws": 11.5755,
      "cost_per_acp": 1.4469,
      "acp_per_ws": 8.0,
      "message_per_ws": 19.0,
      "message_per_acp": 2.375,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 5.0712,
      "acp_interactions": 12,
      "workspace_count": 7,
      "active_users": 5,
      "message_count": 38,
      "user_message_count": 18,
      "cost_per_ws": 0.7245,
      "cost_per_acp": 0.4226,
      "acp_per_ws": 1.7143,
      "message_per_ws": 5.4286,
      "message_per_acp": 3.1667,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 3.5677,
      "acp_interactions": 18,
      "workspace_count": 5,
      "active_users": 3,
      "message_count": 36,
      "user_message_count": 18,
      "cost_per_ws": 0.7135,
      "cost_per_acp": 0.1982,
      "acp_per_ws": 3.6,
      "message_per_ws": 7.2,
      "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": 2.8768,
      "acp_interactions": 3,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 6,
      "user_message_count": 3,
      "cost_per_ws": 2.8768,
      "cost_per_acp": 0.9589,
      "acp_per_ws": 3.0,
      "message_per_ws": 6.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "team": "Intelligent Support Enablement",
      "cost": 2.48,
      "acp_interactions": 5,
      "workspace_count": 3,
      "active_users": 1,
      "message_count": 13,
      "user_message_count": 5,
      "cost_per_ws": 0.8267,
      "cost_per_acp": 0.496,
      "acp_per_ws": 1.6667,
      "message_per_ws": 4.3333,
      "message_per_acp": 2.6,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Data Integration",
      "team": "Data Integration",
      "cost": 1.757,
      "acp_interactions": 3,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 9,
      "user_message_count": 3,
      "cost_per_ws": 0.8785,
      "cost_per_acp": 0.5857,
      "acp_per_ws": 1.5,
      "message_per_ws": 4.5,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "cost": 0.9981,
      "acp_interactions": 6,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 18,
      "user_message_count": 6,
      "cost_per_ws": 0.4991,
      "cost_per_acp": 0.1664,
      "acp_per_ws": 3.0,
      "message_per_ws": 9.0,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "cost": 0.9582,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 0.9582,
      "cost_per_acp": 0.4791,
      "acp_per_ws": 2.0,
      "message_per_ws": 4.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "cost": 0.8824,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 0.8824,
      "cost_per_acp": 0.4412,
      "acp_per_ws": 2.0,
      "message_per_ws": 4.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "cost": 0.6362,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 7,
      "user_message_count": 3,
      "cost_per_ws": 0.6362,
      "cost_per_acp": 0.3181,
      "acp_per_ws": 2.0,
      "message_per_ws": 7.0,
      "message_per_acp": 3.5,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / APAC Presales",
      "team": "APAC Presales",
      "cost": 0.359,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 0.359,
      "cost_per_acp": 0.359,
      "acp_per_ws": 1.0,
      "message_per_ws": 2.0,
      "message_per_acp": 2.0,
      "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": 11.5755,
      "acp_interactions": 8,
      "workspace_count": 1,
      "message_count": 19,
      "user_message_count": 9,
      "channel_breakdown": {
        "web": 8
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 8.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": 3.9231,
      "acp_interactions": 8,
      "workspace_count": 3,
      "message_count": 17,
      "user_message_count": 8,
      "channel_breakdown": {
        "lark": 1,
        "web": 7
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.6667
    },
    {
      "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": 3.1304,
      "acp_interactions": 12,
      "workspace_count": 3,
      "message_count": 24,
      "user_message_count": 12,
      "channel_breakdown": {
        "web": 12
      },
      "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": 2.8768,
      "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": "chensiyu@pingcap.com",
      "name": "陈思雨",
      "en_name": "Siyu Chen",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "team": "Intelligent Support Enablement",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 2.48,
      "acp_interactions": 5,
      "workspace_count": 3,
      "message_count": 13,
      "user_message_count": 5,
      "channel_breakdown": {
        "web": 5
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.6667
    },
    {
      "user_email": "jiangjianyuan@pingcap.com",
      "name": "蒋建元",
      "en_name": "",
      "team_path": "Engineering Group / Service Orchestration Engineering / Data Integration",
      "team": "Data Integration",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.757,
      "acp_interactions": 3,
      "workspace_count": 2,
      "message_count": 9,
      "user_message_count": 3,
      "channel_breakdown": {
        "lark": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.5
    },
    {
      "user_email": "shaoxiqian@pingcap.com",
      "name": "邵希茜",
      "en_name": "Anita Shao",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.9981,
      "acp_interactions": 6,
      "workspace_count": 2,
      "message_count": 18,
      "user_message_count": 6,
      "channel_breakdown": {
        "lark": 6
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "debin.jia@pingcap.com",
      "name": "贾德宾",
      "en_name": "Derek Jia",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.9582,
      "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": "qiaodan@pingcap.com",
      "name": "乔丹",
      "en_name": "Dan Qiao",
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.8824,
      "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": "liangyutong@pingcap.com",
      "name": "梁宇彤",
      "en_name": "Ryan Liang",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.6362,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 7,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "wai.ho@pingcap.com",
      "name": "Chun Wai Ho",
      "en_name": "Wai Ho",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.496,
      "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": "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.3621,
      "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": "lanyuan@pingcap.com",
      "name": "兰元",
      "en_name": "Bruce Lan",
      "team_path": "APAC Business Group / APAC Presales",
      "team": "APAC Presales",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.359,
      "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": "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.2836,
      "acp_interactions": 5,
      "workspace_count": 1,
      "message_count": 10,
      "user_message_count": 5,
      "channel_breakdown": {
        "web": 5
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 5.0
    },
    {
      "user_email": "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.1787,
      "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": "qiaoxinke@pingcap.com",
      "name": "乔心轲",
      "en_name": "Xinke Qiao",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.1537,
      "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": "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.1113,
      "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
    }
  ],
  "message_categories": [
    {
      "category": "查询纠偏",
      "user_message_count": 2,
      "share": 0.03125,
      "estimated_cost_by_turn": 0.9738,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 259.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 6,
      "share": 0.09375,
      "estimated_cost_by_turn": 2.9215,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 149.67,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 28,
      "share": 0.4375,
      "estimated_cost_by_turn": 13.6334,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 430.57,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 13,
      "share": 0.203125,
      "estimated_cost_by_turn": 6.3298,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 78.38,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 4,
      "share": 0.0625,
      "estimated_cost_by_turn": 1.9476,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 21.75,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 6,
      "share": 0.09375,
      "estimated_cost_by_turn": 2.9215,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 151.33,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 4,
      "share": 0.0625,
      "estimated_cost_by_turn": 1.9476,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 109.25,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "未归类",
      "user_message_count": 1,
      "share": 0.015625,
      "estimated_cost_by_turn": 0.4869,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 19972.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1787208497175-c5f39ceb9",
      "title": "TCOC-5836",
      "workspace_lifecycle": "new",
      "user_email": "chenqingjing@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 11.5755,
      "message_count": 19,
      "user_message_count": 9
    },
    {
      "workspace_id": "ws-1787131165037-660ced5eb",
      "title": "https://tidb.atlassian.net/browse/APID-29374",
      "workspace_lifecycle": "updated_existing",
      "user_email": "weizhin.lim@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 3.2475,
      "message_count": 12,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1786942201656-f90e25e8a",
      "title": "帮我分析下 https://clinic.pingcap.com/portal/#/clusters",
      "workspace_lifecycle": "updated_existing",
      "user_email": "brian.w@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 2.8768,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1787107186277-9f7c51b27",
      "title": "Cygames TCID-13055 and TCOC-5826",
      "workspace_lifecycle": "updated_existing",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "ticket_summary_or_customer_response",
      "cost": 1.4191,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1786528246140-ccd48b0d0",
      "title": "Mercari TCID-13028",
      "workspace_lifecycle": "updated_existing",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 1.1023,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1787211701887-351089c52",
      "title": "O11Y-2642889",
      "workspace_lifecycle": "new",
      "user_email": "chensiyu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 1.0931,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1787191152206-167da6742",
      "title": "分析根因及当前状态 https://tidb.atlassian.net/browse/O11Y-2",
      "workspace_lifecycle": "new",
      "user_email": "debin.jia@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.9582,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-a8e4f415-54fe-450d-97a6-2b558fcbe19e",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "shaoxiqian@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.9433,
      "message_count": 15,
      "user_message_count": 5
    },
    {
      "workspace_id": "lark-ws-209761f1-3fcc-47a3-8646-83566a76beb5",
      "title": "Lark O11Y-2642270",
      "workspace_lifecycle": "new",
      "user_email": "jiangjianyuan@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Data Integration",
      "scenario_group": "non_diagnosis",
      "scenario_category": "support_case_triage_or_customer_response",
      "cost": 0.9292,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784708852477-cbe95df91",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "qiaodan@pingcap.com",
      "team_path": "Product / TiDB X Core Product",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.8824,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-bd6b2aa6-a7ec-49b0-aafc-482e17bcaf02",
      "title": "Lark O11Y-2642172",
      "workspace_lifecycle": "new",
      "user_email": "jiangjianyuan@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Data Integration",
      "scenario_group": "non_diagnosis",
      "scenario_category": "support_case_triage_or_customer_response",
      "cost": 0.8279,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1787233019218-766791138",
      "title": "O11Y-2643116",
      "workspace_lifecycle": "new",
      "user_email": "chensiyu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.7905,
      "message_count": 7,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1787192758081-8fcecbd20",
      "title": "Cluster 10513111823761877393",
      "workspace_lifecycle": "new",
      "user_email": "liangyutong@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "pd_tso_or_scheduling",
      "cost": 0.6362,
      "message_count": 7,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1787185279628-e5ec5cc85",
      "title": "TCID-13060 Fujitsu アップグレード切り戻し相談",
      "workspace_lifecycle": "new",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.609,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1787113000126-a8c9fd15d",
      "title": "https://tidb.atlassian.net/browse/APID-29372",
      "workspace_lifecycle": "updated_existing",
      "user_email": "weizhin.lim@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.5999,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1787207634414-ec8c92522",
      "title": "O11Y-2642750",
      "workspace_lifecycle": "new",
      "user_email": "chensiyu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.5964,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1787151564766-fc175398a",
      "title": "Cluster 10047362503295994511",
      "workspace_lifecycle": "updated_existing",
      "user_email": "wai.ho@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.496,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-8adf31b9-cd82-4d54-992a-db4be4b709ab",
      "title": "Lark APID-29371",
      "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": 0.3621,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1787215229776-abc67a3ba",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "lanyuan@pingcap.com",
      "team_path": "APAC Business Group / APAC Presales",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.359,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1787197372953-1dfb55362",
      "title": "無題のワークスペース",
      "workspace_lifecycle": "new",
      "user_email": "shigeyuki.fujishima@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.2836,
      "message_count": 10,
      "user_message_count": 5
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-08-20",
        "cost": 31.1621,
        "acp_interactions": 62,
        "workspace_count": 25,
        "active_users": 17
      }
    ],
    "team_cost_bar": [
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 11.5755,
        "acp_interactions": 8,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 5.0712,
        "acp_interactions": 12,
        "workspace_count": 7,
        "active_users": 5
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 3.5677,
        "acp_interactions": 18,
        "workspace_count": 5,
        "active_users": 3
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "cost": 2.8768,
        "acp_interactions": 3,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
        "cost": 2.48,
        "acp_interactions": 5,
        "workspace_count": 3,
        "active_users": 1
      },
      {
        "team": "Data Integration",
        "team_path": "Engineering Group / Service Orchestration Engineering / Data Integration",
        "cost": 1.757,
        "acp_interactions": 3,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "cost": 0.9981,
        "acp_interactions": 6,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "cost": 0.9582,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "cost": 0.8824,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "cost": 0.6362,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "APAC Presales",
        "team_path": "APAC Business Group / APAC Presales",
        "cost": 0.359,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 8.0,
        "y": 1.4469,
        "size": 1,
        "cost": 11.5755
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 1.7143,
        "y": 0.4226,
        "size": 7,
        "cost": 5.0712
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 3.6,
        "y": 0.1982,
        "size": 5,
        "cost": 3.5677
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "x": 3.0,
        "y": 0.9589,
        "size": 1,
        "cost": 2.8768
      },
      {
        "team": "Intelligent Support Enablement",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support Enablement",
        "x": 1.6667,
        "y": 0.496,
        "size": 3,
        "cost": 2.48
      },
      {
        "team": "Data Integration",
        "team_path": "Engineering Group / Service Orchestration Engineering / Data Integration",
        "x": 1.5,
        "y": 0.5857,
        "size": 2,
        "cost": 1.757
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "x": 3.0,
        "y": 0.1664,
        "size": 2,
        "cost": 0.9981
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "x": 2.0,
        "y": 0.4791,
        "size": 1,
        "cost": 0.9582
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "x": 2.0,
        "y": 0.4412,
        "size": 1,
        "cost": 0.8824
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 2.0,
        "y": 0.3181,
        "size": 1,
        "cost": 0.6362
      },
      {
        "team": "APAC Presales",
        "team_path": "APAC Business Group / APAC Presales",
        "x": 1.0,
        "y": 0.359,
        "size": 1,
        "cost": 0.359
      }
    ],
    "message_category_stack": [
      {
        "team": "Advanced Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "流程控制/确认",
        "count": 5
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "诊断启动",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 10
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 7
      },
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 5
      },
      {
        "team": "Technical Service",
        "category": "产出物迭代",
        "count": 6
      },
      {
        "team": "Technical Service",
        "category": "查询纠偏",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Technical Service",
        "category": "解释追问",
        "count": 1
      },
      {
        "team": "Technical Service",
        "category": "诊断启动",
        "count": 3
      },
      {
        "team": "Technical Account Management",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Technical Account Management",
        "category": "解释追问",
        "count": 1
      },
      {
        "team": "Intelligent Support Enablement",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Intelligent Support Enablement",
        "category": "诊断启动",
        "count": 3
      },
      {
        "team": "Data Integration",
        "category": "Ad hoc 查询",
        "count": 3
      },
      {
        "team": "Efficiency & Quality",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Efficiency & Quality",
        "category": "未归类",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "KV Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "TiDB X Core Product",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "流程控制/确认",
        "count": 1
      },
      {
        "team": "TiDB Scalability Service",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "APAC Presales",
        "category": "Ad hoc 查询",
        "count": 1
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "brian.w@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 2.8768,
        "mode": "低频低轮次"
      },
      {
        "user_email": "chenqingjing@pingcap.com",
        "x": 1,
        "y": 8.0,
        "cost": 11.5755,
        "mode": "低频高轮次"
      },
      {
        "user_email": "chensiyu@pingcap.com",
        "x": 3,
        "y": 1.6667,
        "cost": 2.48,
        "mode": "高频低轮次"
      },
      {
        "user_email": "cherubin.j@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.3621,
        "mode": "低频低轮次"
      },
      {
        "user_email": "debin.jia@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.9582,
        "mode": "低频低轮次"
      },
      {
        "user_email": "jiangjianyuan@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 1.757,
        "mode": "高频低轮次"
      },
      {
        "user_email": "lanyuan@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.359,
        "mode": "低频低轮次"
      },
      {
        "user_email": "liangyutong@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.6362,
        "mode": "低频低轮次"
      },
      {
        "user_email": "looperth.wong@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.1113,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qiaodan@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.8824,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qiaoxinke@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.1537,
        "mode": "低频低轮次"
      },
      {
        "user_email": "shaoxiqian@pingcap.com",
        "x": 2,
        "y": 3.0,
        "cost": 0.9981,
        "mode": "高频低轮次"
      },
      {
        "user_email": "shigeyuki.fujishima@pingcap.com",
        "x": 1,
        "y": 5.0,
        "cost": 0.2836,
        "mode": "低频高轮次"
      },
      {
        "user_email": "takahiko.miyasaka@pingcap.com",
        "x": 3,
        "y": 4.0,
        "cost": 3.1304,
        "mode": "高频高轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.496,
        "mode": "低频低轮次"
      },
      {
        "user_email": "weizhin.lim@pingcap.com",
        "x": 3,
        "y": 2.6667,
        "cost": 3.9231,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wen.hu@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.1787,
        "mode": "低频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
