{
  "date": "2026-07-10",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-07-10T00:00:00+08:00",
  "window_end": "2026-07-11T00: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": 58.1458,
    "total_acp_interactions": 65,
    "active_users": 15,
    "workspace_count": 20,
    "created_workspace_count": 20,
    "new_workspace_count": 29,
    "updated_existing_workspace_count": 6,
    "changed_workspace_count": 35,
    "message_count": 146,
    "user_message_count": 67,
    "assistant_message_count": 73,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 26.0195,
      "acp_interactions": 0,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 50,
      "user_message_count": 25,
      "cost_per_ws": 13.0098,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 25.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 9.6025,
      "acp_interactions": 35,
      "workspace_count": 3,
      "active_users": 2,
      "message_count": 16,
      "user_message_count": 8,
      "cost_per_ws": 3.2008,
      "cost_per_acp": 0.2744,
      "acp_per_ws": 11.6667,
      "message_per_ws": 5.3333,
      "message_per_acp": 0.4571,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 8.9434,
      "acp_interactions": 8,
      "workspace_count": 4,
      "active_users": 2,
      "message_count": 58,
      "user_message_count": 27,
      "cost_per_ws": 2.2359,
      "cost_per_acp": 1.1179,
      "acp_per_ws": 2.0,
      "message_per_ws": 14.5,
      "message_per_acp": 7.25,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "team": "Professional Services",
      "cost": 4.744,
      "acp_interactions": 2,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 12,
      "user_message_count": 6,
      "cost_per_ws": 2.372,
      "cost_per_acp": 2.372,
      "acp_per_ws": 1.0,
      "message_per_ws": 6.0,
      "message_per_acp": 6.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "cost": 2.4514,
      "acp_interactions": 3,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 12,
      "user_message_count": 6,
      "cost_per_ws": 2.4514,
      "cost_per_acp": 0.8171,
      "acp_per_ws": 3.0,
      "message_per_ws": 12.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Enterprise Customer Engineering",
      "team": "Enterprise Customer Engineering",
      "cost": 1.8529,
      "acp_interactions": 4,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 34,
      "user_message_count": 16,
      "cost_per_ws": 0.9265,
      "cost_per_acp": 0.4632,
      "acp_per_ws": 2.0,
      "message_per_ws": 17.0,
      "message_per_acp": 8.5,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 1.5721,
      "acp_interactions": 2,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 6,
      "user_message_count": 3,
      "cost_per_ws": 0.7861,
      "cost_per_acp": 0.7861,
      "acp_per_ws": 1.0,
      "message_per_ws": 3.0,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "team": "SQL Optimization & Execution",
      "cost": 1.5564,
      "acp_interactions": 4,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 20,
      "user_message_count": 8,
      "cost_per_ws": 0.7782,
      "cost_per_acp": 0.3891,
      "acp_per_ws": 2.0,
      "message_per_ws": 10.0,
      "message_per_acp": 5.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "team": "Global Control",
      "cost": 0.4369,
      "acp_interactions": 5,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 15,
      "user_message_count": 5,
      "cost_per_ws": 0.2185,
      "cost_per_acp": 0.0874,
      "acp_per_ws": 2.5,
      "message_per_ws": 7.5,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "cost": 0.3994,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 0.3994,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 4.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "team": "Starter",
      "cost": 0.3353,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 3,
      "user_message_count": 1,
      "cost_per_ws": 0.3353,
      "cost_per_acp": 0.3353,
      "acp_per_ws": 1.0,
      "message_per_ws": 3.0,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / Core Components",
      "team": "Core Components",
      "cost": 0.1624,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 3,
      "user_message_count": 1,
      "cost_per_ws": 0.1624,
      "cost_per_acp": 0.1624,
      "acp_per_ws": 1.0,
      "message_per_ws": 3.0,
      "message_per_acp": 3.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": "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": 26.0114,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 24,
      "user_message_count": 12,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "yikai.puah@pingcap.com",
      "name": "Puah Yi Kai",
      "en_name": "",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 7.6002,
      "acp_interactions": 7,
      "workspace_count": 2,
      "message_count": 27,
      "user_message_count": 13,
      "channel_breakdown": {
        "web": 7
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 3.5
    },
    {
      "user_email": "yahonda@pingcap.com",
      "name": "Yasuo Honda",
      "en_name": "",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 6.0392,
      "acp_interactions": 34,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 34.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.744,
      "acp_interactions": 2,
      "workspace_count": 2,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.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": 3.5633,
      "acp_interactions": 1,
      "workspace_count": 2,
      "message_count": 10,
      "user_message_count": 5,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5
    },
    {
      "user_email": "wenxuan.zhang@pingcap.com",
      "name": "张文轩",
      "en_name": "Wenxuan",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 2.4514,
      "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": "yangkexin.liang@pingcap.com",
      "name": "梁杨可欣",
      "en_name": "Lucas Liang",
      "team_path": "Engineering Group / Enterprise Customer Engineering",
      "team": "Enterprise Customer Engineering",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.8529,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 13,
      "user_message_count": 6,
      "channel_breakdown": {
        "lark": 1,
        "web": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.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.5721,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "zhangyuanjia@pingcap.com",
      "name": "张原嘉",
      "en_name": "Ryan Zhang",
      "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": 1.5564,
      "acp_interactions": 4,
      "workspace_count": 2,
      "message_count": 10,
      "user_message_count": 4,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "wen.hu@pingcap.com",
      "name": "胡雯",
      "en_name": "Wen Hu",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.3432,
      "acp_interactions": 1,
      "workspace_count": 2,
      "message_count": 13,
      "user_message_count": 6,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5
    },
    {
      "user_email": "zhitao.chen@pingcap.com",
      "name": "陈志涛",
      "en_name": "Theo Chen",
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "team": "Global Control",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.4369,
      "acp_interactions": 5,
      "workspace_count": 2,
      "message_count": 15,
      "user_message_count": 5,
      "channel_breakdown": {
        "lark": 5
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.5
    },
    {
      "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.3994,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "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.3353,
      "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": "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.1624,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.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.0081,
      "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": 1,
      "share": 0.014925,
      "estimated_cost_by_turn": 0.8678,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 274.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断纠偏",
      "user_message_count": 1,
      "share": 0.014925,
      "estimated_cost_by_turn": 0.8678,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 119.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 7,
      "share": 0.104478,
      "estimated_cost_by_turn": 6.0749,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 126.57,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 26,
      "share": 0.38806,
      "estimated_cost_by_turn": 22.5641,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 1311.35,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 16,
      "share": 0.238806,
      "estimated_cost_by_turn": 13.8856,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 223.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 6,
      "share": 0.089552,
      "estimated_cost_by_turn": 5.2071,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 30.83,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 8,
      "share": 0.119403,
      "estimated_cost_by_turn": 6.9428,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 387.38,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 2,
      "share": 0.029851,
      "estimated_cost_by_turn": 1.7357,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 58.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1783664279267-477336e19",
      "title": "TCOC-5576",
      "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": 25.8505,
      "message_count": 24,
      "user_message_count": 12
    },
    {
      "workspace_id": "ws-1783661373519-a4dbe7cf8",
      "title": "TCID-12906",
      "workspace_lifecycle": "new",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 6.6812,
      "message_count": 15,
      "user_message_count": 7
    },
    {
      "workspace_id": "ws-1783657253497-ba81ec161",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yahonda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 6.0392,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1783650515485-9b980173c",
      "title": "Bitunix 10560778748362855111",
      "workspace_lifecycle": "new",
      "user_email": "zhi.xie@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 4.6165,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1783318142336-22c3ad604",
      "title": "TCID-12879 Mercari　TiKV CPU load balancing",
      "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": 2.9486,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1783665442111-81630d590",
      "title": "2603 升级 post check",
      "workspace_lifecycle": "new",
      "user_email": "wenxuan.zhang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "memory_or_oom_pressure",
      "cost": 2.3943,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "lark-ws-2679568e-5abb-4630-9685-e6b7919db611",
      "title": "Lark TCOC-5574",
      "workspace_lifecycle": "new",
      "user_email": "yangkexin.liang@pingcap.com",
      "team_path": "Engineering Group / Enterprise Customer Engineering",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 1.8415,
      "message_count": 13,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1783657459347-8a9d5671a",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 1.5721,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1783685747819-ab513806a",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "zhangyuanjia@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 1.0221,
      "message_count": 7,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1783663707446-4d361fb24",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "wen.hu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.9138,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1783671938891-24b4eb17e",
      "title": "CREATE TABLE session_event_frustration_tagging_res",
      "workspace_lifecycle": "new",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "ddl_or_schema_change",
      "cost": 0.8203,
      "message_count": 12,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1783646192602-dac25bd46",
      "title": "https://tidb.atlassian.net/browse/TCID-12903",
      "workspace_lifecycle": "new",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.5674,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1783672117423-13992e090",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "zhangyuanjia@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 0.5213,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1783501782931-9d6dc5218",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "wen.hu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.4193,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1783680314809-48dd20b49",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "qiaodan@pingcap.com",
      "team_path": "Product / TiDB X Core Product",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.396,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-497cb50c-8893-4403-afcd-6bea82daeb10",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "jingyi.yao@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
      "scenario_group": "diagnosis",
      "scenario_category": "pd_tso_or_scheduling",
      "cost": 0.3353,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-79297991-c444-4b31-a91d-5dbc25c27a56",
      "title": "Lark O11Y-2613358",
      "workspace_lifecycle": "new",
      "user_email": "zhitao.chen@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.2636,
      "message_count": 9,
      "user_message_count": 3
    },
    {
      "workspace_id": "lark-ws-dffbc811-c5a7-4912-a3a9-65e7aa8c4b8d",
      "title": "Lark O11Y-2613131",
      "workspace_lifecycle": "new",
      "user_email": "zhitao.chen@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.1732,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-1a8da1d5-64bf-44ee-9186-633829f30846",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "hao.chen@pingcap.com",
      "team_path": "Product / Core Components",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.1624,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1783664279267-477336e19",
      "title": "TCOC-5576",
      "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": 0.1609,
      "message_count": 24,
      "user_message_count": 12
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-07-10",
        "cost": 58.1458,
        "acp_interactions": 65,
        "workspace_count": 20,
        "active_users": 15
      }
    ],
    "team_cost_bar": [
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 26.0195,
        "acp_interactions": 0,
        "workspace_count": 2,
        "active_users": 2
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 9.6025,
        "acp_interactions": 35,
        "workspace_count": 3,
        "active_users": 2
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 8.9434,
        "acp_interactions": 8,
        "workspace_count": 4,
        "active_users": 2
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "cost": 4.744,
        "acp_interactions": 2,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "cost": 2.4514,
        "acp_interactions": 3,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Enterprise Customer Engineering",
        "team_path": "Engineering Group / Enterprise Customer Engineering",
        "cost": 1.8529,
        "acp_interactions": 4,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 1.5721,
        "acp_interactions": 2,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "cost": 1.5564,
        "acp_interactions": 4,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Global Control",
        "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
        "cost": 0.4369,
        "acp_interactions": 5,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "cost": 0.3994,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Starter",
        "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
        "cost": 0.3353,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Core Components",
        "team_path": "Product / Core Components",
        "cost": 0.1624,
        "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": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 0.0,
        "y": null,
        "size": 2,
        "cost": 26.0195
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 11.6667,
        "y": 0.2744,
        "size": 3,
        "cost": 9.6025
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 2.0,
        "y": 1.1179,
        "size": 4,
        "cost": 8.9434
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "x": 1.0,
        "y": 2.372,
        "size": 2,
        "cost": 4.744
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 3.0,
        "y": 0.8171,
        "size": 1,
        "cost": 2.4514
      },
      {
        "team": "Enterprise Customer Engineering",
        "team_path": "Engineering Group / Enterprise Customer Engineering",
        "x": 2.0,
        "y": 0.4632,
        "size": 2,
        "cost": 1.8529
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 1.0,
        "y": 0.7861,
        "size": 2,
        "cost": 1.5721
      },
      {
        "team": "SQL Optimization & Execution",
        "team_path": "Engineering Group / Database Service Engineering / Intelligent Query Processing Service / SQL Optimization & Execution",
        "x": 2.0,
        "y": 0.3891,
        "size": 2,
        "cost": 1.5564
      },
      {
        "team": "Global Control",
        "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
        "x": 2.5,
        "y": 0.0874,
        "size": 2,
        "cost": 0.4369
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.3994
      },
      {
        "team": "Starter",
        "team_path": "Engineering Group / Service Orchestration Engineering / Starter",
        "x": 1.0,
        "y": 0.3353,
        "size": 1,
        "cost": 0.3353
      },
      {
        "team": "Core Components",
        "team_path": "Product / Core Components",
        "x": 1.0,
        "y": 0.1624,
        "size": 1,
        "cost": 0.1624
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.0
      }
    ],
    "message_category_stack": [
      {
        "team": "Advanced Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 8
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "流程控制/确认",
        "count": 14
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "诊断启动",
        "count": 1
      },
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 7
      },
      {
        "team": "Technical Service",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 12
      },
      {
        "team": "Intelligent Support",
        "category": "产出物迭代",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "查询纠偏",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 5
      },
      {
        "team": "Professional Services",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Professional Services",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Professional Services",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Enterprise Customer Engineering",
        "category": "Ad hoc 查询",
        "count": 3
      },
      {
        "team": "Enterprise Customer Engineering",
        "category": "产出物迭代",
        "count": 4
      },
      {
        "team": "Enterprise Customer Engineering",
        "category": "诊断启动",
        "count": 7
      },
      {
        "team": "Enterprise Customer Engineering",
        "category": "诊断纠偏",
        "count": 2
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "诊断启动",
        "count": 3
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "解释追问",
        "count": 6
      },
      {
        "team": "SQL Optimization & Execution",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Global Control",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Global Control",
        "category": "流程控制/确认",
        "count": 1
      },
      {
        "team": "TiDB X Core Product",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Starter",
        "category": "诊断启动",
        "count": 1
      },
      {
        "team": "Core Components",
        "category": "Ad hoc 查询",
        "count": 1
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "chenqingjing@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 26.0114,
        "mode": "低频低轮次"
      },
      {
        "user_email": "hao.chen@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.1624,
        "mode": "低频低轮次"
      },
      {
        "user_email": "jianghongmei@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.0081,
        "mode": "低频低轮次"
      },
      {
        "user_email": "jingyi.yao@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.3353,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 1.5721,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qiaodan@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.3994,
        "mode": "低频低轮次"
      },
      {
        "user_email": "takahiko.miyasaka@pingcap.com",
        "x": 2,
        "y": 0.5,
        "cost": 3.5633,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wen.hu@pingcap.com",
        "x": 2,
        "y": 0.5,
        "cost": 1.3432,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wenxuan.zhang@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 2.4514,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yahonda@pingcap.com",
        "x": 1,
        "y": 34.0,
        "cost": 6.0392,
        "mode": "低频高轮次"
      },
      {
        "user_email": "yangkexin.liang@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 1.8529,
        "mode": "低频高轮次"
      },
      {
        "user_email": "yikai.puah@pingcap.com",
        "x": 2,
        "y": 3.5,
        "cost": 7.6002,
        "mode": "高频低轮次"
      },
      {
        "user_email": "zhangyuanjia@pingcap.com",
        "x": 2,
        "y": 2.0,
        "cost": 1.5564,
        "mode": "高频低轮次"
      },
      {
        "user_email": "zhi.xie@pingcap.com",
        "x": 2,
        "y": 1.0,
        "cost": 4.744,
        "mode": "高频低轮次"
      },
      {
        "user_email": "zhitao.chen@pingcap.com",
        "x": 2,
        "y": 2.5,
        "cost": 0.4369,
        "mode": "高频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
