{
  "date": "2026-06-22",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-06-22T00:00:00+08:00",
  "window_end": "2026-06-23T00: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": 14.8266,
    "total_acp_interactions": 26,
    "active_users": 14,
    "workspace_count": 30,
    "created_workspace_count": 19,
    "new_workspace_count": 28,
    "updated_existing_workspace_count": 16,
    "changed_workspace_count": 44,
    "message_count": 118,
    "user_message_count": 46,
    "assistant_message_count": 72,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "team": "Efficiency & Quality",
      "cost": 4.9184,
      "acp_interactions": 6,
      "workspace_count": 8,
      "active_users": 1,
      "message_count": 60,
      "user_message_count": 20,
      "cost_per_ws": 0.6148,
      "cost_per_acp": 0.8197,
      "acp_per_ws": 0.75,
      "message_per_ws": 7.5,
      "message_per_acp": 10.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 3.2218,
      "acp_interactions": 8,
      "workspace_count": 8,
      "active_users": 3,
      "message_count": 24,
      "user_message_count": 8,
      "cost_per_ws": 0.4027,
      "cost_per_acp": 0.4027,
      "acp_per_ws": 1.0,
      "message_per_ws": 3.0,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 2.7554,
      "acp_interactions": 4,
      "workspace_count": 5,
      "active_users": 3,
      "message_count": 26,
      "user_message_count": 13,
      "cost_per_ws": 0.5511,
      "cost_per_acp": 0.6889,
      "acp_per_ws": 0.8,
      "message_per_ws": 5.2,
      "message_per_acp": 6.5,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 0.819,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 20,
      "user_message_count": 10,
      "cost_per_ws": 0.819,
      "cost_per_acp": 0.819,
      "acp_per_ws": 1.0,
      "message_per_ws": 20.0,
      "message_per_acp": 20.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances",
      "team": "Customer Success & Alliances",
      "cost": 0.7906,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 0,
      "user_message_count": 0,
      "cost_per_ws": 0.7906,
      "cost_per_acp": 0.3953,
      "acp_per_ws": 2.0,
      "message_per_ws": 0.0,
      "message_per_acp": 0.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 0.784,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 0.784,
      "cost_per_acp": 0.784,
      "acp_per_ws": 1.0,
      "message_per_ws": 2.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "cost": 0.7551,
      "acp_interactions": 5,
      "workspace_count": 3,
      "active_users": 1,
      "message_count": 20,
      "user_message_count": 9,
      "cost_per_ws": 0.2517,
      "cost_per_acp": 0.151,
      "acp_per_ws": 1.6667,
      "message_per_ws": 6.6667,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "team": "Professional Services",
      "cost": 0.4221,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 0.4221,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 4.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "cost": 0.1868,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 4,
      "user_message_count": 2,
      "cost_per_ws": 0.1868,
      "cost_per_acp": 0.1868,
      "acp_per_ws": 1.0,
      "message_per_ws": 4.0,
      "message_per_acp": 4.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Enterprise Customer Engineering",
      "team": "Enterprise Customer Engineering",
      "cost": 0.0892,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 3,
      "user_message_count": 1,
      "cost_per_ws": 0.0892,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 3.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "(unknown)",
      "team": "(unknown)",
      "cost": 0.0,
      "acp_interactions": 0,
      "workspace_count": 3,
      "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": "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": 4.9184,
      "acp_interactions": 6,
      "workspace_count": 8,
      "message_count": 51,
      "user_message_count": 17,
      "channel_breakdown": {
        "lark": 6
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.75
    },
    {
      "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": 1.9089,
      "acp_interactions": 0,
      "workspace_count": 2,
      "message_count": 9,
      "user_message_count": 3,
      "channel_breakdown": {},
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "mizuki.masuda@pingcap.com",
      "name": "Masuda Mizuki",
      "en_name": "Mizuki Masuda",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 1.3028,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.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.819,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 10,
      "user_message_count": 5,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "mohangjie@pingcap.com",
      "name": "莫航杰",
      "en_name": "Jason Mo",
      "team_path": "APAC Business Group / Customer Success & Alliances",
      "team": "Customer Success & Alliances",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.7906,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 2
      },
      "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": 0.784,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "cli": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "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": 0.7551,
      "acp_interactions": 5,
      "workspace_count": 3,
      "message_count": 16,
      "user_message_count": 7,
      "channel_breakdown": {
        "lark": 2,
        "web": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.6667
    },
    {
      "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.7423,
      "acp_interactions": 5,
      "workspace_count": 4,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 5
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.25
    },
    {
      "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": 0.7298,
      "acp_interactions": 1,
      "workspace_count": 2,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5
    },
    {
      "user_email": "takahiko.miyasaka@pingcap.com",
      "name": "Miyasaka Takahiko",
      "en_name": "Takahiko Miyasaka",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.7228,
      "acp_interactions": 3,
      "workspace_count": 2,
      "message_count": 8,
      "user_message_count": 4,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.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.5706,
      "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": "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": 0.4221,
      "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": "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.1868,
      "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": "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": 0.0892,
      "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": 5,
      "share": 0.108696,
      "estimated_cost_by_turn": 1.6116,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 189.4,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 6,
      "share": 0.130435,
      "estimated_cost_by_turn": 1.9339,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 195.17,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 24,
      "share": 0.521739,
      "estimated_cost_by_turn": 7.7356,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 2146.46,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 5,
      "share": 0.108696,
      "estimated_cost_by_turn": 1.6116,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 63.2,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 2,
      "share": 0.043478,
      "estimated_cost_by_turn": 0.6446,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 9.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 2,
      "share": 0.043478,
      "estimated_cost_by_turn": 0.6446,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 56.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 2,
      "share": 0.043478,
      "estimated_cost_by_turn": 0.6446,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 63.0,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "lark-ws-d7dcd6c9-4c7b-4ce8-8a07-99aa57e31c70",
      "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": "resource_control_or_capacity",
      "cost": 2.9266,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-3211ee5f-cfe3-4a1c-ba87-4a1e29c284f1",
      "title": "Lark ST-2768",
      "workspace_lifecycle": "new",
      "user_email": "weizhin.lim@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "ddl_or_schema_change",
      "cost": 1.4474,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781861778609-6f2945511",
      "title": "その他　調査用",
      "workspace_lifecycle": "updated_existing",
      "user_email": "mizuki.masuda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 1.2566,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1782125627460-9d56c3907",
      "title": "查询集群 10754652599988043412 在今天北京时间 16:00 到 16:30 的",
      "workspace_lifecycle": "new",
      "user_email": "jianghongmei@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "ddl_or_schema_change",
      "cost": 0.8071,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1782092074039-eccf50400",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "mohangjie@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.7906,
      "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.784,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-0b520538-5b42-4a81-8344-f07ba4afc233",
      "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": "resource_control_or_capacity",
      "cost": 0.7355,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-64e0784e-9dbb-43fd-8b0a-944f28773d20",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "shaoxiqian@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.5954,
      "message_count": 27,
      "user_message_count": 9
    },
    {
      "workspace_id": "ws-1778561397864-af8e050e7",
      "title": "TCID-12638 Mercari Timeout issue",
      "workspace_lifecycle": "updated_existing",
      "user_email": "takahiko.miyasaka@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.5698,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1782092043591-ad6ce1c39",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yahonda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.4996,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "lark-ws-19d1ea86-29a6-4f0e-a463-c5f7d4df8b43",
      "title": "Lark O11Y-2592424",
      "workspace_lifecycle": "new",
      "user_email": "weizhin.lim@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "gc_or_allocator_pressure",
      "cost": 0.4513,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1782113088252-780c86f61",
      "title": "未命名工作空间",
      "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": 0.4206,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1782119820325-e5f50ab8c",
      "title": "O11Y-2595837",
      "workspace_lifecycle": "new",
      "user_email": "wenxuan.zhang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.3653,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-94f5b19d-15a0-4f4f-ab3d-646a599219d0",
      "title": "Lark TCID-12817",
      "workspace_lifecycle": "updated_existing",
      "user_email": "cherubin.j@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "transaction_or_lock_contention",
      "cost": 0.2883,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781711255472-f0b61961f",
      "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.2795,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1782120060189-ec45bb89d",
      "title": "汇总一下集群 10339163136354140213 当前的状态，包括 qps，资源占用率等",
      "workspace_lifecycle": "new",
      "user_email": "wenxuan.zhang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.2708,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "lark-ws-52d74fb0-97b6-425d-ad18-0e41eeea6ef4",
      "title": "Lark APID-29095",
      "workspace_lifecycle": "new",
      "user_email": "cherubin.j@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 0.2583,
      "message_count": 6,
      "user_message_count": 2
    },
    {
      "workspace_id": "lark-ws-d06dc760-ab9e-426b-9b56-a8e02226839a",
      "title": "Lark chat",
      "workspace_lifecycle": "new",
      "user_email": "shaoxiqian@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.233,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781684915888-af6dd78ac",
      "title": "",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yahonda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "unknown",
      "scenario_category": null,
      "cost": 0.2302,
      "message_count": 0,
      "user_message_count": 0
    },
    {
      "workspace_id": "ws-1782093604300-9cae58dee",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "qiaodan@pingcap.com",
      "team_path": "Product / TiDB X Core Product",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.1855,
      "message_count": 2,
      "user_message_count": 1
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-06-22",
        "cost": 14.8266,
        "acp_interactions": 26,
        "workspace_count": 30,
        "active_users": 14
      }
    ],
    "team_cost_bar": [
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "cost": 4.9184,
        "acp_interactions": 6,
        "workspace_count": 8,
        "active_users": 1
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 3.2218,
        "acp_interactions": 8,
        "workspace_count": 8,
        "active_users": 3
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 2.7554,
        "acp_interactions": 4,
        "workspace_count": 5,
        "active_users": 3
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 0.819,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Customer Success & Alliances",
        "team_path": "APAC Business Group / Customer Success & Alliances",
        "cost": 0.7906,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 0.784,
        "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.7551,
        "acp_interactions": 5,
        "workspace_count": 3,
        "active_users": 1
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "cost": 0.4221,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "cost": 0.1868,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Enterprise Customer Engineering",
        "team_path": "Engineering Group / Enterprise Customer Engineering",
        "cost": 0.0892,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "cost": 0.0,
        "acp_interactions": 0,
        "workspace_count": 3,
        "active_users": 0
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Efficiency & Quality",
        "team_path": "Engineering Group / Database Service Engineering / Efficiency & Quality",
        "x": 0.75,
        "y": 0.8197,
        "size": 8,
        "cost": 4.9184
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 1.0,
        "y": 0.4027,
        "size": 8,
        "cost": 3.2218
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 0.8,
        "y": 0.6889,
        "size": 5,
        "cost": 2.7554
      },
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 1.0,
        "y": 0.819,
        "size": 1,
        "cost": 0.819
      },
      {
        "team": "Customer Success & Alliances",
        "team_path": "APAC Business Group / Customer Success & Alliances",
        "x": 2.0,
        "y": 0.3953,
        "size": 1,
        "cost": 0.7906
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 1.0,
        "y": 0.784,
        "size": 1,
        "cost": 0.784
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 1.6667,
        "y": 0.151,
        "size": 3,
        "cost": 0.7551
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.4221
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "x": 1.0,
        "y": 0.1868,
        "size": 1,
        "cost": 0.1868
      },
      {
        "team": "Enterprise Customer Engineering",
        "team_path": "Engineering Group / Enterprise Customer Engineering",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 0.0892
      },
      {
        "team": "(unknown)",
        "team_path": "(unknown)",
        "x": 0.0,
        "y": null,
        "size": 3,
        "cost": 0.0
      }
    ],
    "message_category_stack": [
      {
        "team": "Efficiency & Quality",
        "category": "Ad hoc 查询",
        "count": 14
      },
      {
        "team": "Efficiency & Quality",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "查询纠偏",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "解释追问",
        "count": 1
      },
      {
        "team": "Efficiency & Quality",
        "category": "诊断启动",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 4
      },
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 6
      },
      {
        "team": "Technical Service",
        "category": "产出物迭代",
        "count": 3
      },
      {
        "team": "Technical Service",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "解释追问",
        "count": 2
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 6
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "查询纠偏",
        "count": 4
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "TiDB Scalability Service",
        "category": "Ad hoc 查询",
        "count": 3
      },
      {
        "team": "TiDB Scalability Service",
        "category": "产出物迭代",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "查询纠偏",
        "count": 1
      },
      {
        "team": "TiDB Scalability Service",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "背景补充",
        "count": 1
      },
      {
        "team": "Professional Services",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "TiDB X Core Product",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "Enterprise Customer Engineering",
        "category": "查询纠偏",
        "count": 1
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "cherubin.j@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 0.5706,
        "mode": "高频低轮次"
      },
      {
        "user_email": "jianghongmei@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.819,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.784,
        "mode": "低频低轮次"
      },
      {
        "user_email": "mizuki.masuda@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 1.3028,
        "mode": "低频低轮次"
      },
      {
        "user_email": "mohangjie@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.7906,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qiaodan@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.1868,
        "mode": "低频低轮次"
      },
      {
        "user_email": "shaoxiqian@pingcap.com",
        "x": 8,
        "y": 0.75,
        "cost": 4.9184,
        "mode": "高频低轮次"
      },
      {
        "user_email": "takahiko.miyasaka@pingcap.com",
        "x": 2,
        "y": 1.5,
        "cost": 0.7228,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 4,
        "y": 1.25,
        "cost": 0.7423,
        "mode": "高频低轮次"
      },
      {
        "user_email": "weizhin.lim@pingcap.com",
        "x": 2,
        "y": 0.0,
        "cost": 1.9089,
        "mode": "高频低轮次"
      },
      {
        "user_email": "wenxuan.zhang@pingcap.com",
        "x": 3,
        "y": 1.6667,
        "cost": 0.7551,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yahonda@pingcap.com",
        "x": 2,
        "y": 0.5,
        "cost": 0.7298,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yangkexin.liang@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.0892,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhi.xie@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.4221,
        "mode": "低频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
