{
  "date": "2026-07-20",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-07-20T00:00:00+08:00",
  "window_end": "2026-07-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": 28.6324,
    "total_acp_interactions": 75,
    "active_users": 12,
    "workspace_count": 60,
    "created_workspace_count": 58,
    "new_workspace_count": 68,
    "updated_existing_workspace_count": 11,
    "changed_workspace_count": 79,
    "message_count": 244,
    "user_message_count": 113,
    "assistant_message_count": 130,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "cost": 7.8446,
      "acp_interactions": 5,
      "workspace_count": 4,
      "active_users": 2,
      "message_count": 80,
      "user_message_count": 39,
      "cost_per_ws": 1.9612,
      "cost_per_acp": 1.5689,
      "acp_per_ws": 1.25,
      "message_per_ws": 20.0,
      "message_per_acp": 16.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "cost": 6.6337,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 50,
      "user_message_count": 26,
      "cost_per_ws": 6.6337,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 50.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Engineering Mission Pods",
      "team": "Engineering Mission Pods",
      "cost": 5.9984,
      "acp_interactions": 25,
      "workspace_count": 43,
      "active_users": 1,
      "message_count": 100,
      "user_message_count": 50,
      "cost_per_ws": 0.1395,
      "cost_per_acp": 0.2399,
      "acp_per_ws": 0.5814,
      "message_per_ws": 2.3256,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 4.584,
      "acp_interactions": 19,
      "workspace_count": 11,
      "active_users": 6,
      "message_count": 71,
      "user_message_count": 29,
      "cost_per_ws": 0.4167,
      "cost_per_acp": 0.2413,
      "acp_per_ws": 1.7273,
      "message_per_ws": 6.4545,
      "message_per_acp": 3.7368,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 2.504,
      "acp_interactions": 1,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 6,
      "user_message_count": 3,
      "cost_per_ws": 1.252,
      "cost_per_acp": 2.504,
      "acp_per_ws": 0.5,
      "message_per_ws": 3.0,
      "message_per_acp": 6.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "cost": 1.031,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 24,
      "user_message_count": 8,
      "cost_per_ws": 1.031,
      "cost_per_acp": 1.031,
      "acp_per_ws": 1.0,
      "message_per_ws": 24.0,
      "message_per_acp": 24.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "(unknown)",
      "team": "(unknown)",
      "cost": 0.0,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 0,
      "message_count": 0,
      "user_message_count": 0,
      "cost_per_ws": 0.0,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 0.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "cost": 0.0,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 0.0,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 2.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 0.0,
      "acp_interactions": 0,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 5,
      "user_message_count": 2,
      "cost_per_ws": 0.0,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 2.5,
      "message_per_acp": null,
      "correction_message_ratio": null
    }
  ],
  "users": [
    {
      "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": 7.3674,
      "acp_interactions": 4,
      "workspace_count": 3,
      "message_count": 42,
      "user_message_count": 21,
      "channel_breakdown": {
        "web": 4
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.3333
    },
    {
      "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": 6.6337,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 25,
      "user_message_count": 13,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "nizheming@pingcap.com",
      "name": "倪哲鸣",
      "en_name": "Zheming Ni",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "team": "Engineering Mission Pods",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 5.9984,
      "acp_interactions": 25,
      "workspace_count": 42,
      "message_count": 86,
      "user_message_count": 43,
      "channel_breakdown": {
        "cli": 23,
        "web": 2
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5952
    },
    {
      "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": 2.9912,
      "acp_interactions": 15,
      "workspace_count": 2,
      "message_count": 41,
      "user_message_count": 15,
      "channel_breakdown": {
        "lark": 11,
        "web": 4
      },
      "frequency_bucket": "高频",
      "depth_bucket": "高轮次",
      "behavior_mode": "高频高轮次",
      "avg_acp_per_ws": 7.5
    },
    {
      "user_email": "xuhuaiyu@pingcap.com",
      "name": "徐怀宇",
      "en_name": "Huaiyu Xu",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.3004,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "lingtao.li@pingcap.com",
      "name": "李凌涛",
      "en_name": "Lingtao Li",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.2036,
      "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": "shaoxiqian@pingcap.com",
      "name": "邵希茜",
      "en_name": "Anita Shao",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.031,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 12,
      "user_message_count": 4,
      "channel_breakdown": {
        "lark": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "zhipeng.su@pingcap.com",
      "name": "苏志鹏",
      "en_name": "Aric Su",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.9995,
      "acp_interactions": 3,
      "workspace_count": 4,
      "message_count": 12,
      "user_message_count": 6,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.75
    },
    {
      "user_email": "cong.cao@pingcap.com",
      "name": "曹聪",
      "en_name": "Cong Cao",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "team": "Technical Account Management",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.4772,
      "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": "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.2667,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.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.1744,
      "acp_interactions": 1,
      "workspace_count": 2,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {
        "lark": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5
    },
    {
      "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.1522,
      "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
    }
  ],
  "message_categories": [
    {
      "category": "查询纠偏",
      "user_message_count": 4,
      "share": 0.035398,
      "estimated_cost_by_turn": 1.0135,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 368.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 52,
      "share": 0.460177,
      "estimated_cost_by_turn": 13.176,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 411.85,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 24,
      "share": 0.212389,
      "estimated_cost_by_turn": 6.0812,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 702.83,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 5,
      "share": 0.044248,
      "estimated_cost_by_turn": 1.2669,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 957.4,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 3,
      "share": 0.026549,
      "estimated_cost_by_turn": 0.7602,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 41.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 11,
      "share": 0.097345,
      "estimated_cost_by_turn": 2.7872,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 729.18,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "方法论/能力咨询",
      "user_message_count": 7,
      "share": 0.061947,
      "estimated_cost_by_turn": 1.7737,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 23.57,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 1,
      "share": 0.00885,
      "estimated_cost_by_turn": 0.2534,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 2613.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "未归类",
      "user_message_count": 6,
      "share": 0.053097,
      "estimated_cost_by_turn": 1.5203,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 20.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1784553903524-a7ea42330",
      "title": "TiKV 2077631932836872192 scale-in risk 2026-07-18",
      "workspace_lifecycle": "new",
      "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": 6.5595,
      "message_count": 25,
      "user_message_count": 13
    },
    {
      "workspace_id": "ws-1784444014779-446f97cf1",
      "title": "给这几个集群做个巡检，https://clinic.pingcap.com/portal/#/clu",
      "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": 6.3404,
      "message_count": 32,
      "user_message_count": 16
    },
    {
      "workspace_id": "ws-1784512157236-bc87a46f4",
      "title": "try to see if you can access",
      "workspace_lifecycle": "new",
      "user_email": "weizhin.lim@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 2.1223,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1784558983433-5622f6110",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "xuhuaiyu@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 1.2949,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781598701127-da28e5bfa",
      "title": "tikv自动巡检",
      "workspace_lifecycle": "updated_existing",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "inspection_or_report_generation",
      "cost": 1.2036,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-4daef127-611b-470c-a8ec-aea415bde258",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "shaoxiqian@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.9938,
      "message_count": 12,
      "user_message_count": 4
    },
    {
      "workspace_id": "lark-ws-a208ba71-5c3f-4f79-a01d-eb2b7e505fdb",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "weizhin.lim@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.8689,
      "message_count": 33,
      "user_message_count": 11
    },
    {
      "workspace_id": "ws-1784516424203-65d56e00f",
      "title": "wetech saas01 iops  最近2周有什么变化么？",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.6213,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1784542267679-36a9046c9",
      "title": "Cluster 10304971779077259464",
      "workspace_lifecycle": "new",
      "user_email": "zhipeng.su@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.5334,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-8ad58c6a-a367-4ba3-a901-10ec10205304",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "cong.cao@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.4703,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784478445929-b33386140",
      "title": "按照下面的内容，生成 premium-inspection 的 skill",
      "workspace_lifecycle": "new",
      "user_email": "brian.w@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "scenario_group": "non_diagnosis",
      "scenario_category": "skill_or_workflow_setup",
      "cost": 0.4525,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784478883326-c2edb6be8",
      "title": "按下面的内容，生成 premium-inspection skill",
      "workspace_lifecycle": "new",
      "user_email": "brian.w@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.3354,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1784199172811-0d3f39dc0",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "zhipeng.su@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 0.2722,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784484909584-150cc1580",
      "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.2667,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-576893244218d81af9fdc4b72faa2a1c",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.2488,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-77f9cf62f53ea9521dd627e32b520306",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.2391,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1784444014779-446f97cf1",
      "title": "给这几个集群做个巡检，https://clinic.pingcap.com/portal/#/clu",
      "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": 0.239,
      "message_count": 32,
      "user_message_count": 16
    },
    {
      "workspace_id": "ws-28f02524c0cf7beecd28dbd9a0310160",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.2309,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-d47129b82c45f02a12d8079183c86626",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.228,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-d7edec3c84bac47aa2e99b41a91a3d5d",
      "title": "Performance diagnosis",
      "workspace_lifecycle": "new",
      "user_email": "nizheming@pingcap.com",
      "team_path": "Engineering Group / Engineering Mission Pods",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.2039,
      "message_count": 2,
      "user_message_count": 1
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-07-20",
        "cost": 28.6324,
        "acp_interactions": 75,
        "workspace_count": 60,
        "active_users": 12
      }
    ],
    "team_cost_bar": [
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "cost": 7.8446,
        "acp_interactions": 5,
        "workspace_count": 4,
        "active_users": 2
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "cost": 6.6337,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Engineering Mission Pods",
        "team_path": "Engineering Group / Engineering Mission Pods",
        "cost": 5.9984,
        "acp_interactions": 25,
        "workspace_count": 43,
        "active_users": 1
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 4.584,
        "acp_interactions": 19,
        "workspace_count": 11,
        "active_users": 6
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 2.504,
        "acp_interactions": 1,
        "workspace_count": 2,
        "active_users": 2
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "cost": 1.031,
        "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": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "cost": 0.0,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 0.0,
        "acp_interactions": 0,
        "workspace_count": 2,
        "active_users": 2
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Technical Account Management",
        "team_path": "APAC Business Group / Customer Success & Alliances / Technical Account Management",
        "x": 1.25,
        "y": 1.5689,
        "size": 4,
        "cost": 7.8446
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 6.6337
      },
      {
        "team": "Engineering Mission Pods",
        "team_path": "Engineering Group / Engineering Mission Pods",
        "x": 0.5814,
        "y": 0.2399,
        "size": 43,
        "cost": 5.9984
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 1.7273,
        "y": 0.2413,
        "size": 11,
        "cost": 4.584
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 0.5,
        "y": 2.504,
        "size": 2,
        "cost": 2.504
      },
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "x": 1.0,
        "y": 1.031,
        "size": 1,
        "cost": 1.031
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.0
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.0
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 0.0,
        "y": null,
        "size": 2,
        "cost": 0.0
      }
    ],
    "message_category_stack": [
      {
        "team": "Technical Account Management",
        "category": "Ad hoc 查询",
        "count": 7
      },
      {
        "team": "Technical Account Management",
        "category": "产出物迭代",
        "count": 13
      },
      {
        "team": "Technical Account Management",
        "category": "方法论/能力咨询",
        "count": 6
      },
      {
        "team": "Technical Account Management",
        "category": "未归类",
        "count": 3
      },
      {
        "team": "Technical Account Management",
        "category": "查询纠偏",
        "count": 2
      },
      {
        "team": "Technical Account Management",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Technical Account Management",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "Technical Account Management",
        "category": "诊断启动",
        "count": 4
      },
      {
        "team": "KV Service",
        "category": "Ad hoc 查询",
        "count": 12
      },
      {
        "team": "KV Service",
        "category": "产出物迭代",
        "count": 4
      },
      {
        "team": "KV Service",
        "category": "查询纠偏",
        "count": 4
      },
      {
        "team": "KV Service",
        "category": "流程控制/确认",
        "count": 4
      },
      {
        "team": "KV Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Engineering Mission Pods",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Engineering Mission Pods",
        "category": "产出物迭代",
        "count": 46
      },
      {
        "team": "Engineering Mission Pods",
        "category": "未归类",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 11
      },
      {
        "team": "Intelligent Support",
        "category": "方法论/能力咨询",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "未归类",
        "count": 4
      },
      {
        "team": "Intelligent Support",
        "category": "查询纠偏",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "流程控制/确认",
        "count": 5
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "Ad hoc 查询",
        "count": 6
      },
      {
        "team": "Efficiency & Quality",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "诊断启动",
        "count": 1
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "流程控制/确认",
        "count": 2
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "brian.w@pingcap.com",
        "x": 3,
        "y": 1.3333,
        "cost": 7.3674,
        "mode": "高频低轮次"
      },
      {
        "user_email": "cherubin.j@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.1522,
        "mode": "低频低轮次"
      },
      {
        "user_email": "cong.cao@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.4772,
        "mode": "低频低轮次"
      },
      {
        "user_email": "debin.jia@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 6.6337,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 1.2036,
        "mode": "低频低轮次"
      },
      {
        "user_email": "looperth.wong@pingcap.com",
        "x": 2,
        "y": 0.5,
        "cost": 0.1744,
        "mode": "高频低轮次"
      },
      {
        "user_email": "nizheming@pingcap.com",
        "x": 42,
        "y": 0.5952,
        "cost": 5.9984,
        "mode": "高频低轮次"
      },
      {
        "user_email": "shaoxiqian@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 1.031,
        "mode": "低频低轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.2667,
        "mode": "低频低轮次"
      },
      {
        "user_email": "weizhin.lim@pingcap.com",
        "x": 2,
        "y": 7.5,
        "cost": 2.9912,
        "mode": "高频高轮次"
      },
      {
        "user_email": "xuhuaiyu@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 1.3004,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhipeng.su@pingcap.com",
        "x": 4,
        "y": 0.75,
        "cost": 0.9995,
        "mode": "高频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
