{
  "date": "2026-07-09",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-07-09T00:00:00+08:00",
  "window_end": "2026-07-10T00: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": 19.6662,
    "total_acp_interactions": 47,
    "active_users": 15,
    "workspace_count": 26,
    "created_workspace_count": 20,
    "new_workspace_count": 26,
    "updated_existing_workspace_count": 14,
    "changed_workspace_count": 40,
    "message_count": 111,
    "user_message_count": 48,
    "assistant_message_count": 58,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 6.7557,
      "acp_interactions": 5,
      "workspace_count": 5,
      "active_users": 3,
      "message_count": 32,
      "user_message_count": 14,
      "cost_per_ws": 1.3511,
      "cost_per_acp": 1.3511,
      "acp_per_ws": 1.0,
      "message_per_ws": 6.4,
      "message_per_acp": 6.4,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 3.3364,
      "acp_interactions": 12,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 78,
      "user_message_count": 39,
      "cost_per_ws": 3.3364,
      "cost_per_acp": 0.278,
      "acp_per_ws": 12.0,
      "message_per_ws": 78.0,
      "message_per_acp": 6.5,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 3.0047,
      "acp_interactions": 10,
      "workspace_count": 8,
      "active_users": 3,
      "message_count": 29,
      "user_message_count": 12,
      "cost_per_ws": 0.3756,
      "cost_per_acp": 0.3005,
      "acp_per_ws": 1.25,
      "message_per_ws": 3.625,
      "message_per_acp": 2.9,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "team": "Professional Services",
      "cost": 1.6841,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 1.6841,
      "cost_per_acp": 1.6841,
      "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 / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "cost": 1.6357,
      "acp_interactions": 7,
      "workspace_count": 3,
      "active_users": 1,
      "message_count": 29,
      "user_message_count": 13,
      "cost_per_ws": 0.5452,
      "cost_per_acp": 0.2337,
      "acp_per_ws": 2.3333,
      "message_per_ws": 9.6667,
      "message_per_acp": 4.1429,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 1.3955,
      "acp_interactions": 3,
      "workspace_count": 3,
      "active_users": 1,
      "message_count": 14,
      "user_message_count": 6,
      "cost_per_ws": 0.4652,
      "cost_per_acp": 0.4652,
      "acp_per_ws": 1.0,
      "message_per_ws": 4.6667,
      "message_per_acp": 4.6667,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "cost": 0.9848,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 0.9848,
      "cost_per_acp": 0.9848,
      "acp_per_ws": 1.0,
      "message_per_ws": 4.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
      "team": "Essential & Premium",
      "cost": 0.4176,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 6,
      "user_message_count": 2,
      "cost_per_ws": 0.4176,
      "cost_per_acp": 0.4176,
      "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": 0.2006,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 3,
      "user_message_count": 1,
      "cost_per_ws": 0.2006,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 3.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "cost": 0.1784,
      "acp_interactions": 3,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 9,
      "user_message_count": 3,
      "cost_per_ws": 0.0892,
      "cost_per_acp": 0.0595,
      "acp_per_ws": 1.5,
      "message_per_ws": 4.5,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "cost": 0.0728,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 3,
      "user_message_count": 1,
      "cost_per_ws": 0.0728,
      "cost_per_acp": 0.0728,
      "acp_per_ws": 1.0,
      "message_per_ws": 3.0,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    }
  ],
  "users": [
    {
      "user_email": "qizheng@pingcap.com",
      "name": "戚铮",
      "en_name": "Zheng Qi",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 5.0732,
      "acp_interactions": 2,
      "workspace_count": 3,
      "message_count": 10,
      "user_message_count": 5,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.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.3364,
      "acp_interactions": 12,
      "workspace_count": 1,
      "message_count": 26,
      "user_message_count": 13,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 12.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.8346,
      "acp_interactions": 4,
      "workspace_count": 1,
      "message_count": 9,
      "user_message_count": 4,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "低频",
      "depth_bucket": "高轮次",
      "behavior_mode": "低频高轮次",
      "avg_acp_per_ws": 4.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": 1.6841,
      "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": "ruihao.chen@pingcap.com",
      "name": "陈睿皓",
      "en_name": "Joe Chen",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.6357,
      "acp_interactions": 7,
      "workspace_count": 3,
      "message_count": 16,
      "user_message_count": 7,
      "channel_breakdown": {
        "web": 7
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 2.3333
    },
    {
      "user_email": "wuxuelian@pingcap.com",
      "name": "吴雪莲",
      "en_name": "Shirly Wu",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.4855,
      "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": "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.3955,
      "acp_interactions": 3,
      "workspace_count": 2,
      "message_count": 7,
      "user_message_count": 3,
      "channel_breakdown": {
        "cli": 1,
        "web": 2
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.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": 0.9848,
      "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": "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.7954,
      "acp_interactions": 2,
      "workspace_count": 3,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.6667
    },
    {
      "user_email": "zhangxuecheng@pingcap.com",
      "name": "张学程",
      "en_name": "Cody Zhang",
      "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
      "team": "Essential & Premium",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.4176,
      "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": "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.3747,
      "acp_interactions": 4,
      "workspace_count": 4,
      "message_count": 11,
      "user_message_count": 4,
      "channel_breakdown": {
        "lark": 3,
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "xuchengxuan@pingcap.com",
      "name": "徐成选",
      "en_name": "Chris Xu",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.2006,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "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": 0.197,
      "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
    },
    {
      "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.1784,
      "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": "peiliang.liu@pingcap.com",
      "name": "刘培梁",
      "en_name": "Jasper Liu",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.0728,
      "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
    }
  ],
  "message_categories": [
    {
      "category": "查询纠偏",
      "user_message_count": 3,
      "share": 0.0625,
      "estimated_cost_by_turn": 1.2291,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 179.33,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 7,
      "share": 0.145833,
      "estimated_cost_by_turn": 2.868,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 235.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 19,
      "share": 0.395833,
      "estimated_cost_by_turn": 7.7846,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 229.16,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 8,
      "share": 0.166667,
      "estimated_cost_by_turn": 3.2777,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 151.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 4,
      "share": 0.083333,
      "estimated_cost_by_turn": 1.6389,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 20.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 4,
      "share": 0.083333,
      "estimated_cost_by_turn": 1.6389,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 867.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 2,
      "share": 0.041667,
      "estimated_cost_by_turn": 0.8194,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 1524.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "未归类",
      "user_message_count": 1,
      "share": 0.020833,
      "estimated_cost_by_turn": 0.4097,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 21.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1783571496707-2e4010e22",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "qizheng@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 3.5483,
      "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": 3.0895,
      "message_count": 26,
      "user_message_count": 13
    },
    {
      "workspace_id": "ws-1783559758615-c4c210a84",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "wen.hu@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 1.8098,
      "message_count": 9,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1782351660225-bb37d6c53",
      "title": "UE Cassandra Report 10658480506726873193",
      "workspace_lifecycle": "updated_existing",
      "user_email": "zhi.xie@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 1.6657,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-2d25230d-39a1-49cd-8b5b-30fe6daccd55",
      "title": "Lark O11Y-2612161",
      "workspace_lifecycle": "new",
      "user_email": "wuxuelian@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 1.4538,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1783570261628-076498588",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "qizheng@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 1.316,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1783409044527-41ba6661f",
      "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": "resource_control_or_capacity",
      "cost": 0.9671,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1783499319873-6fc225d47",
      "title": "O11Y-2611684",
      "workspace_lifecycle": "updated_existing",
      "user_email": "ruihao.chen@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.8577,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1783590895198-027443c8e",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.8574,
      "message_count": 5,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1783596907286-d11754595",
      "title": "O11Y-2612619",
      "workspace_lifecycle": "new",
      "user_email": "ruihao.chen@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.6366,
      "message_count": 7,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1783456000921-21875ddb2",
      "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.5913,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1781598701127-da28e5bfa",
      "title": "tikv自动巡检",
      "workspace_lifecycle": "updated_existing",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "inspection_or_report_generation",
      "cost": 0.4963,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-c6bf929d-a77e-4f9b-a165-97b0a2b0a48b",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "zhangxuecheng@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
      "scenario_group": "diagnosis",
      "scenario_category": "gc_or_allocator_pressure",
      "cost": 0.4059,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-178fc76e-0e07-4b76-867f-d745a7669b4a",
      "title": "Lark O11Y-2612259",
      "workspace_lifecycle": "new",
      "user_email": "xuchengxuan@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.2006,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1783586057300-494a34ffd",
      "title": "TCID-12901",
      "workspace_lifecycle": "new",
      "user_email": "chenqingjing@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.196,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "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": 0.1847,
      "message_count": 26,
      "user_message_count": 13
    },
    {
      "workspace_id": "ws-1783581710375-de7a66e93",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "qizheng@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.1656,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-9c76e5b1-ba98-4575-8071-d99569a285c7",
      "title": "Lark chat",
      "workspace_lifecycle": "updated_existing",
      "user_email": "looperth.wong@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.1563,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1783564298276-686704da9",
      "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.1122,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "lark-ws-4668b817-9711-4ecc-980c-ab068866e282",
      "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": "storage_or_io_bottleneck",
      "cost": 0.1036,
      "message_count": 6,
      "user_message_count": 2
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-07-09",
        "cost": 19.6662,
        "acp_interactions": 47,
        "workspace_count": 26,
        "active_users": 15
      }
    ],
    "team_cost_bar": [
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 6.7557,
        "acp_interactions": 5,
        "workspace_count": 5,
        "active_users": 3
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 3.3364,
        "acp_interactions": 12,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 3.0047,
        "acp_interactions": 10,
        "workspace_count": 8,
        "active_users": 3
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "cost": 1.6841,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Scalable SQL & Data Service",
        "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
        "cost": 1.6357,
        "acp_interactions": 7,
        "workspace_count": 3,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 1.3955,
        "acp_interactions": 3,
        "workspace_count": 3,
        "active_users": 1
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "cost": 0.9848,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Essential & Premium",
        "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
        "cost": 0.4176,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "cost": 0.2006,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "cost": 0.1784,
        "acp_interactions": 3,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "cost": 0.0728,
        "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": 1.0,
        "y": 1.3511,
        "size": 5,
        "cost": 6.7557
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 12.0,
        "y": 0.278,
        "size": 1,
        "cost": 3.3364
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 1.25,
        "y": 0.3005,
        "size": 8,
        "cost": 3.0047
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "x": 1.0,
        "y": 1.6841,
        "size": 1,
        "cost": 1.6841
      },
      {
        "team": "Scalable SQL & Data Service",
        "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
        "x": 2.3333,
        "y": 0.2337,
        "size": 3,
        "cost": 1.6357
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 1.0,
        "y": 0.4652,
        "size": 3,
        "cost": 1.3955
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "x": 1.0,
        "y": 0.9848,
        "size": 1,
        "cost": 0.9848
      },
      {
        "team": "Essential & Premium",
        "team_path": "Engineering Group / Service Orchestration Engineering / Essential & Premium",
        "x": 1.0,
        "y": 0.4176,
        "size": 1,
        "cost": 0.4176
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.2006
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "x": 1.5,
        "y": 0.0595,
        "size": 2,
        "cost": 0.1784
      },
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "x": 1.0,
        "y": 0.0728,
        "size": 1,
        "cost": 0.0728
      }
    ],
    "message_category_stack": [
      {
        "team": "Advanced Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 12
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 18
      },
      {
        "team": "Technical Service",
        "category": "产出物迭代",
        "count": 6
      },
      {
        "team": "Technical Service",
        "category": "查询纠偏",
        "count": 3
      },
      {
        "team": "Technical Service",
        "category": "流程控制/确认",
        "count": 3
      },
      {
        "team": "Technical Service",
        "category": "诊断启动",
        "count": 9
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "产出物迭代",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Professional Services",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "查询纠偏",
        "count": 2
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "流程控制/确认",
        "count": 4
      },
      {
        "team": "Scalable SQL & Data Service",
        "category": "解释追问",
        "count": 5
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "查询纠偏",
        "count": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "KV Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Essential & Premium",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "Ad hoc 查询",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "未归类",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "流程控制/确认",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Technical Account Management",
        "category": "Ad hoc 查询",
        "count": 1
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "chenqingjing@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.197,
        "mode": "低频低轮次"
      },
      {
        "user_email": "debin.jia@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.9848,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 1.3955,
        "mode": "高频低轮次"
      },
      {
        "user_email": "looperth.wong@pingcap.com",
        "x": 4,
        "y": 1.0,
        "cost": 0.3747,
        "mode": "高频低轮次"
      },
      {
        "user_email": "peiliang.liu@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.0728,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qizheng@pingcap.com",
        "x": 3,
        "y": 0.6667,
        "cost": 5.0732,
        "mode": "高频低轮次"
      },
      {
        "user_email": "ruihao.chen@pingcap.com",
        "x": 3,
        "y": 2.3333,
        "cost": 1.6357,
        "mode": "高频低轮次"
      },
      {
        "user_email": "shaoxiqian@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 0.1784,
        "mode": "高频低轮次"
      },
      {
        "user_email": "takahiko.miyasaka@pingcap.com",
        "x": 1,
        "y": 12.0,
        "cost": 3.3364,
        "mode": "低频高轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 3,
        "y": 0.6667,
        "cost": 0.7954,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wen.hu@pingcap.com",
        "x": 1,
        "y": 4.0,
        "cost": 1.8346,
        "mode": "低频高轮次"
      },
      {
        "user_email": "wuxuelian@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 1.4855,
        "mode": "低频低轮次"
      },
      {
        "user_email": "xuchengxuan@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.2006,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhangxuecheng@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.4176,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhi.xie@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 1.6841,
        "mode": "低频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
