{
  "date": "2026-07-11",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-07-11T00:00:00+08:00",
  "window_end": "2026-07-12T00:00:00+08:00",
  "granularity": "daily_workspace_changes",
  "summary": {
    "new_workspace_count": 6,
    "updated_existing_workspace_count": 3,
    "changed_workspace_count": 9
  },
  "new_workspaces": [
    {
      "workspace_id": "ws-1783703639574-b90fc8668",
      "title": "未命名工作空间",
      "url": "https://investibook.com/workspace/ws-1783703639574-b90fc8668",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-10T17:13:59.574860+00:00",
      "updated_at": "2026-07-10T17:13:59.574860+00:00",
      "user_email": "oliver.sheng@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "channel": "web",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "scenario_category_counts": {
        "sql_plan_or_query": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "region",
            "tenant"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "index",
          "query"
        ],
        "message_count_used": 8,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 2.6386,
        "message_count": 15,
        "user_message_count": 7,
        "assistant_message_count": 7,
        "token_usage": {
          "interaction_records": 16,
          "input_tokens": 19436,
          "output_tokens": 3348,
          "reasoning_tokens": 0,
          "cache_read_tokens": 50918,
          "cache_write_tokens": 184,
          "cost_amount": 2.7291687
        },
        "message_categories": {
          "查询纠偏": 1,
          "产出物迭代": 1,
          "Ad hoc 查询": 5
        }
      }
    },
    {
      "workspace_id": "ws-1783740113204-3455ac111",
      "title": "[2026/07/10 18:58:38.937 +00:00] [ERROR]",
      "url": "https://investibook.com/workspace/ws-1783740113204-3455ac111",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-11T03:21:53.204723+00:00",
      "updated_at": "2026-07-11T03:28:22.660439+00:00",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "channel": "web",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "scenario_category_counts": {
        "tikv_hotspot_or_coprocessor": 1,
        "transaction_or_lock_contention": 1,
        "storage_or_io_bottleneck": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "diagnosis",
          "scenario_category": "tikv_hotspot_or_coprocessor",
          "score": 4,
          "matched_terms": [
            "coprocess",
            "coprocessor",
            "region",
            "tikv"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "transaction_or_lock_contention",
          "score": 3,
          "matched_terms": [
            "pessimistic",
            "transaction",
            "txn"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "storage_or_io_bottleneck",
          "score": 2,
          "matched_terms": [
            "io",
            "rocksdb"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "coprocess",
          "coprocessor",
          "io",
          "pessimistic",
          "region",
          "rocksdb",
          "tikv",
          "transaction",
          "txn"
        ],
        "message_count_used": 6,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.5466,
        "message_count": 12,
        "user_message_count": 6,
        "assistant_message_count": 6,
        "token_usage": {
          "interaction_records": 5,
          "input_tokens": 10,
          "output_tokens": 697,
          "reasoning_tokens": 0,
          "cache_read_tokens": 34490,
          "cache_write_tokens": 3339,
          "cost_amount": 0.5466214500000001
        },
        "message_categories": {
          "查询纠偏": 2,
          "Ad hoc 查询": 1,
          "流程控制/确认": 3
        }
      }
    },
    {
      "workspace_id": "ws-1783763980486-f47bd45b3",
      "title": "慢查询原因",
      "url": "https://investibook.com/workspace/ws-1783763980486-f47bd45b3",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-11T09:59:40.486626+00:00",
      "updated_at": "2026-07-11T10:05:29.144101+00:00",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "channel": "web",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "scenario_category_counts": {
        "sql_plan_or_query": 1
      },
      "scenario_confidence": 0.9,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "diagnosis",
          "scenario_category": "transaction_or_lock_contention",
          "score": 4,
          "matched_terms": [
            "lock",
            "mvcc",
            "冲突",
            "锁"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "query",
          "sql",
          "优化器",
          "慢查询",
          "执行计划",
          "索引"
        ],
        "message_count_used": 4,
        "review_required": false
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.265,
        "message_count": 8,
        "user_message_count": 4,
        "assistant_message_count": 4,
        "token_usage": {
          "interaction_records": 4,
          "input_tokens": 10,
          "output_tokens": 2110,
          "reasoning_tokens": 0,
          "cache_read_tokens": 26015,
          "cache_write_tokens": 1547,
          "cost_amount": 0.26497020000000004
        },
        "message_categories": {
          "Ad hoc 查询": 1,
          "诊断启动": 1,
          "解释追问": 2
        }
      }
    },
    {
      "workspace_id": "ws-1783759501457-b49a4cbcf",
      "title": "new_collations_enabled_on_first_bootstrap",
      "url": "https://investibook.com/workspace/ws-1783759501457-b49a4cbcf",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-11T08:45:01.457810+00:00",
      "updated_at": "2026-07-11T08:45:42.811773+00:00",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "channel": "web",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "scenario_category_counts": {
        "storage_or_io_bottleneck": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [],
      "scenario_evidence": {
        "matched_terms": [
          "io"
        ],
        "message_count_used": 4,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.1963,
        "message_count": 8,
        "user_message_count": 4,
        "assistant_message_count": 4,
        "token_usage": {
          "interaction_records": 4,
          "input_tokens": 10,
          "output_tokens": 562,
          "reasoning_tokens": 0,
          "cache_read_tokens": 19213,
          "cache_write_tokens": 738,
          "cost_amount": 0.196314
        },
        "message_categories": {
          "Ad hoc 查询": 3,
          "解释追问": 1
        }
      }
    },
    {
      "workspace_id": "ws-1783703639574-b90fc8668",
      "title": "未命名工作空间",
      "url": "https://investibook.com/workspace/ws-1783703639574-b90fc8668",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-10T17:13:59.574860+00:00",
      "updated_at": "2026-07-10T17:13:59.574860+00:00",
      "user_email": "oliver.sheng@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "channel": "evidence-postpass",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "scenario_category_counts": {
        "sql_plan_or_query": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "region",
            "tenant"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "index",
          "query"
        ],
        "message_count_used": 8,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.0599,
        "message_count": 15,
        "user_message_count": 7,
        "assistant_message_count": 7,
        "token_usage": {
          "interaction_records": 16,
          "input_tokens": 19436,
          "output_tokens": 3348,
          "reasoning_tokens": 0,
          "cache_read_tokens": 50918,
          "cache_write_tokens": 184,
          "cost_amount": 2.7291687
        },
        "message_categories": {
          "查询纠偏": 1,
          "产出物迭代": 1,
          "Ad hoc 查询": 5
        }
      }
    },
    {
      "workspace_id": "ws-1783703639574-b90fc8668",
      "title": "未命名工作空间",
      "url": "https://investibook.com/workspace/ws-1783703639574-b90fc8668",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-10T17:13:59.574860+00:00",
      "updated_at": "2026-07-10T17:13:59.574860+00:00",
      "user_email": "oliver.sheng@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "channel": "image-send",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "scenario_category_counts": {
        "sql_plan_or_query": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "region",
            "tenant"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "index",
          "query"
        ],
        "message_count_used": 8,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.0306,
        "message_count": 15,
        "user_message_count": 7,
        "assistant_message_count": 7,
        "token_usage": {
          "interaction_records": 16,
          "input_tokens": 19436,
          "output_tokens": 3348,
          "reasoning_tokens": 0,
          "cache_read_tokens": 50918,
          "cache_write_tokens": 184,
          "cost_amount": 2.7291687
        },
        "message_categories": {
          "查询纠偏": 1,
          "产出物迭代": 1,
          "Ad hoc 查询": 5
        }
      }
    }
  ],
  "updated_existing_workspaces": [
    {
      "workspace_id": "ws-1781598701127-da28e5bfa",
      "title": "tikv自动巡检",
      "url": "https://investibook.com/workspace/ws-1781598701127-da28e5bfa",
      "workspace_lifecycle": "updated_existing",
      "created_at": "2026-06-16T08:31:41.127057+00:00",
      "updated_at": "2026-06-16T08:31:54.328108+00:00",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "channel": "cli",
      "scenario_group": "non_diagnosis",
      "scenario_category": "inspection_or_report_generation",
      "scenario_category_counts": {
        "inspection_or_report_generation": 1
      },
      "scenario_confidence": 0.78,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "diagnosis",
          "scenario_category": "tikv_hotspot_or_coprocessor",
          "score": 3,
          "matched_terms": [
            "tikv"
          ]
        },
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "指标",
            "每日"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "daily inspection",
          "inspection",
          "report",
          "巡检",
          "报告"
        ],
        "message_count_used": 53,
        "review_required": false
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.5295,
        "message_count": 2,
        "user_message_count": 1,
        "assistant_message_count": 1,
        "token_usage": {
          "interaction_records": 1,
          "input_tokens": 0,
          "output_tokens": 0,
          "reasoning_tokens": 0,
          "cache_read_tokens": 7700,
          "cache_write_tokens": 0,
          "cost_amount": 0.5294820000000016
        },
        "message_categories": {
          "产出物迭代": 1
        }
      }
    },
    {
      "workspace_id": "ws-1783703039429-df00c760b",
      "title": "",
      "url": "https://investibook.com/workspace/ws-1783703039429-df00c760b",
      "workspace_lifecycle": "updated_existing",
      "created_at": "",
      "updated_at": "",
      "user_email": "wai.ho@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "channel": "web",
      "scenario_group": "unknown",
      "scenario_category": null,
      "scenario_category_counts": {},
      "scenario_confidence": 0.2,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [],
      "scenario_evidence": {
        "matched_terms": [],
        "message_count_used": 0,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.2004,
        "message_count": 0,
        "user_message_count": 0,
        "assistant_message_count": 0,
        "token_usage": {
          "interaction_records": 2,
          "input_tokens": 10,
          "output_tokens": 647,
          "reasoning_tokens": 0,
          "cache_read_tokens": 0,
          "cache_write_tokens": 20736,
          "cost_amount": 0.200415
        },
        "message_categories": {}
      }
    },
    {
      "workspace_id": "ws-1783664279267-477336e19",
      "title": "TCOC-5576",
      "url": "https://investibook.com/workspace/ws-1783664279267-477336e19",
      "workspace_lifecycle": "updated_existing",
      "created_at": "2026-07-10T06:17:59.267522+00:00",
      "updated_at": "2026-07-10T06:18:08.404154+00:00",
      "user_email": "chenqingjing@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "channel": "evidence-postpass",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "scenario_category_counts": {
        "cdc_or_replication_lag": 1
      },
      "scenario_confidence": 0.78,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "diagnosis",
          "scenario_category": "transaction_or_lock_contention",
          "score": 2,
          "matched_terms": [
            "lock",
            "transaction"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "tikv_hotspot_or_coprocessor",
          "score": 2,
          "matched_terms": [
            "region",
            "tikv"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "resource_control_or_capacity",
          "score": 2,
          "matched_terms": [
            "capacity",
            "ru"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "cluster_topology_or_scaling",
          "score": 2,
          "matched_terms": [
            "scale",
            "scaling"
          ]
        },
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "region",
            "tenant"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "cdc",
          "changefeed",
          "lag",
          "replication"
        ],
        "message_count_used": 17,
        "review_required": false
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.0196,
        "message_count": 4,
        "user_message_count": 2,
        "assistant_message_count": 1,
        "token_usage": {
          "interaction_records": 1,
          "input_tokens": 5171,
          "output_tokens": 271,
          "reasoning_tokens": 0,
          "cache_read_tokens": 0,
          "cache_write_tokens": 0,
          "cost_amount": 0.019578
        },
        "message_categories": {
          "流程控制/确认": 2
        }
      }
    }
  ],
  "all_changed_workspaces": [
    {
      "workspace_id": "ws-1783703639574-b90fc8668",
      "title": "未命名工作空间",
      "url": "https://investibook.com/workspace/ws-1783703639574-b90fc8668",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-10T17:13:59.574860+00:00",
      "updated_at": "2026-07-10T17:13:59.574860+00:00",
      "user_email": "oliver.sheng@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "channel": "web",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "scenario_category_counts": {
        "sql_plan_or_query": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "region",
            "tenant"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "index",
          "query"
        ],
        "message_count_used": 8,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 2.6386,
        "message_count": 15,
        "user_message_count": 7,
        "assistant_message_count": 7,
        "token_usage": {
          "interaction_records": 16,
          "input_tokens": 19436,
          "output_tokens": 3348,
          "reasoning_tokens": 0,
          "cache_read_tokens": 50918,
          "cache_write_tokens": 184,
          "cost_amount": 2.7291687
        },
        "message_categories": {
          "查询纠偏": 1,
          "产出物迭代": 1,
          "Ad hoc 查询": 5
        }
      }
    },
    {
      "workspace_id": "ws-1783740113204-3455ac111",
      "title": "[2026/07/10 18:58:38.937 +00:00] [ERROR]",
      "url": "https://investibook.com/workspace/ws-1783740113204-3455ac111",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-11T03:21:53.204723+00:00",
      "updated_at": "2026-07-11T03:28:22.660439+00:00",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "channel": "web",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "scenario_category_counts": {
        "tikv_hotspot_or_coprocessor": 1,
        "transaction_or_lock_contention": 1,
        "storage_or_io_bottleneck": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "diagnosis",
          "scenario_category": "tikv_hotspot_or_coprocessor",
          "score": 4,
          "matched_terms": [
            "coprocess",
            "coprocessor",
            "region",
            "tikv"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "transaction_or_lock_contention",
          "score": 3,
          "matched_terms": [
            "pessimistic",
            "transaction",
            "txn"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "storage_or_io_bottleneck",
          "score": 2,
          "matched_terms": [
            "io",
            "rocksdb"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "coprocess",
          "coprocessor",
          "io",
          "pessimistic",
          "region",
          "rocksdb",
          "tikv",
          "transaction",
          "txn"
        ],
        "message_count_used": 6,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.5466,
        "message_count": 12,
        "user_message_count": 6,
        "assistant_message_count": 6,
        "token_usage": {
          "interaction_records": 5,
          "input_tokens": 10,
          "output_tokens": 697,
          "reasoning_tokens": 0,
          "cache_read_tokens": 34490,
          "cache_write_tokens": 3339,
          "cost_amount": 0.5466214500000001
        },
        "message_categories": {
          "查询纠偏": 2,
          "Ad hoc 查询": 1,
          "流程控制/确认": 3
        }
      }
    },
    {
      "workspace_id": "ws-1781598701127-da28e5bfa",
      "title": "tikv自动巡检",
      "url": "https://investibook.com/workspace/ws-1781598701127-da28e5bfa",
      "workspace_lifecycle": "updated_existing",
      "created_at": "2026-06-16T08:31:41.127057+00:00",
      "updated_at": "2026-06-16T08:31:54.328108+00:00",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "channel": "cli",
      "scenario_group": "non_diagnosis",
      "scenario_category": "inspection_or_report_generation",
      "scenario_category_counts": {
        "inspection_or_report_generation": 1
      },
      "scenario_confidence": 0.78,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "diagnosis",
          "scenario_category": "tikv_hotspot_or_coprocessor",
          "score": 3,
          "matched_terms": [
            "tikv"
          ]
        },
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "指标",
            "每日"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "daily inspection",
          "inspection",
          "report",
          "巡检",
          "报告"
        ],
        "message_count_used": 53,
        "review_required": false
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.5295,
        "message_count": 2,
        "user_message_count": 1,
        "assistant_message_count": 1,
        "token_usage": {
          "interaction_records": 1,
          "input_tokens": 0,
          "output_tokens": 0,
          "reasoning_tokens": 0,
          "cache_read_tokens": 7700,
          "cache_write_tokens": 0,
          "cost_amount": 0.5294820000000016
        },
        "message_categories": {
          "产出物迭代": 1
        }
      }
    },
    {
      "workspace_id": "ws-1783763980486-f47bd45b3",
      "title": "慢查询原因",
      "url": "https://investibook.com/workspace/ws-1783763980486-f47bd45b3",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-11T09:59:40.486626+00:00",
      "updated_at": "2026-07-11T10:05:29.144101+00:00",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "channel": "web",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "scenario_category_counts": {
        "sql_plan_or_query": 1
      },
      "scenario_confidence": 0.9,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "diagnosis",
          "scenario_category": "transaction_or_lock_contention",
          "score": 4,
          "matched_terms": [
            "lock",
            "mvcc",
            "冲突",
            "锁"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "query",
          "sql",
          "优化器",
          "慢查询",
          "执行计划",
          "索引"
        ],
        "message_count_used": 4,
        "review_required": false
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.265,
        "message_count": 8,
        "user_message_count": 4,
        "assistant_message_count": 4,
        "token_usage": {
          "interaction_records": 4,
          "input_tokens": 10,
          "output_tokens": 2110,
          "reasoning_tokens": 0,
          "cache_read_tokens": 26015,
          "cache_write_tokens": 1547,
          "cost_amount": 0.26497020000000004
        },
        "message_categories": {
          "Ad hoc 查询": 1,
          "诊断启动": 1,
          "解释追问": 2
        }
      }
    },
    {
      "workspace_id": "ws-1783703039429-df00c760b",
      "title": "",
      "url": "https://investibook.com/workspace/ws-1783703039429-df00c760b",
      "workspace_lifecycle": "updated_existing",
      "created_at": "",
      "updated_at": "",
      "user_email": "wai.ho@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "channel": "web",
      "scenario_group": "unknown",
      "scenario_category": null,
      "scenario_category_counts": {},
      "scenario_confidence": 0.2,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [],
      "scenario_evidence": {
        "matched_terms": [],
        "message_count_used": 0,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.2004,
        "message_count": 0,
        "user_message_count": 0,
        "assistant_message_count": 0,
        "token_usage": {
          "interaction_records": 2,
          "input_tokens": 10,
          "output_tokens": 647,
          "reasoning_tokens": 0,
          "cache_read_tokens": 0,
          "cache_write_tokens": 20736,
          "cost_amount": 0.200415
        },
        "message_categories": {}
      }
    },
    {
      "workspace_id": "ws-1783759501457-b49a4cbcf",
      "title": "new_collations_enabled_on_first_bootstrap",
      "url": "https://investibook.com/workspace/ws-1783759501457-b49a4cbcf",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-11T08:45:01.457810+00:00",
      "updated_at": "2026-07-11T08:45:42.811773+00:00",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "channel": "web",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "scenario_category_counts": {
        "storage_or_io_bottleneck": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [],
      "scenario_evidence": {
        "matched_terms": [
          "io"
        ],
        "message_count_used": 4,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.1963,
        "message_count": 8,
        "user_message_count": 4,
        "assistant_message_count": 4,
        "token_usage": {
          "interaction_records": 4,
          "input_tokens": 10,
          "output_tokens": 562,
          "reasoning_tokens": 0,
          "cache_read_tokens": 19213,
          "cache_write_tokens": 738,
          "cost_amount": 0.196314
        },
        "message_categories": {
          "Ad hoc 查询": 3,
          "解释追问": 1
        }
      }
    },
    {
      "workspace_id": "ws-1783703639574-b90fc8668",
      "title": "未命名工作空间",
      "url": "https://investibook.com/workspace/ws-1783703639574-b90fc8668",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-10T17:13:59.574860+00:00",
      "updated_at": "2026-07-10T17:13:59.574860+00:00",
      "user_email": "oliver.sheng@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "channel": "evidence-postpass",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "scenario_category_counts": {
        "sql_plan_or_query": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "region",
            "tenant"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "index",
          "query"
        ],
        "message_count_used": 8,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.0599,
        "message_count": 15,
        "user_message_count": 7,
        "assistant_message_count": 7,
        "token_usage": {
          "interaction_records": 16,
          "input_tokens": 19436,
          "output_tokens": 3348,
          "reasoning_tokens": 0,
          "cache_read_tokens": 50918,
          "cache_write_tokens": 184,
          "cost_amount": 2.7291687
        },
        "message_categories": {
          "查询纠偏": 1,
          "产出物迭代": 1,
          "Ad hoc 查询": 5
        }
      }
    },
    {
      "workspace_id": "ws-1783703639574-b90fc8668",
      "title": "未命名工作空间",
      "url": "https://investibook.com/workspace/ws-1783703639574-b90fc8668",
      "workspace_lifecycle": "new",
      "created_at": "2026-07-10T17:13:59.574860+00:00",
      "updated_at": "2026-07-10T17:13:59.574860+00:00",
      "user_email": "oliver.sheng@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Scalable SQL & Data Service",
      "team": "Scalable SQL & Data Service",
      "channel": "image-send",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "scenario_category_counts": {
        "sql_plan_or_query": 1
      },
      "scenario_confidence": 0.62,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "region",
            "tenant"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "index",
          "query"
        ],
        "message_count_used": 8,
        "review_required": true
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.0306,
        "message_count": 15,
        "user_message_count": 7,
        "assistant_message_count": 7,
        "token_usage": {
          "interaction_records": 16,
          "input_tokens": 19436,
          "output_tokens": 3348,
          "reasoning_tokens": 0,
          "cache_read_tokens": 50918,
          "cache_write_tokens": 184,
          "cost_amount": 2.7291687
        },
        "message_categories": {
          "查询纠偏": 1,
          "产出物迭代": 1,
          "Ad hoc 查询": 5
        }
      }
    },
    {
      "workspace_id": "ws-1783664279267-477336e19",
      "title": "TCOC-5576",
      "url": "https://investibook.com/workspace/ws-1783664279267-477336e19",
      "workspace_lifecycle": "updated_existing",
      "created_at": "2026-07-10T06:17:59.267522+00:00",
      "updated_at": "2026-07-10T06:18:08.404154+00:00",
      "user_email": "chenqingjing@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "channel": "evidence-postpass",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "scenario_category_counts": {
        "cdc_or_replication_lag": 1
      },
      "scenario_confidence": 0.78,
      "scenario_classification_method": "score_based_title_and_user_messages_v2",
      "scenario_secondary_categories": [
        {
          "scenario_group": "diagnosis",
          "scenario_category": "transaction_or_lock_contention",
          "score": 2,
          "matched_terms": [
            "lock",
            "transaction"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "tikv_hotspot_or_coprocessor",
          "score": 2,
          "matched_terms": [
            "region",
            "tikv"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "resource_control_or_capacity",
          "score": 2,
          "matched_terms": [
            "capacity",
            "ru"
          ]
        },
        {
          "scenario_group": "diagnosis",
          "scenario_category": "cluster_topology_or_scaling",
          "score": 2,
          "matched_terms": [
            "scale",
            "scaling"
          ]
        },
        {
          "scenario_group": "non_diagnosis",
          "scenario_category": "fleet_inventory_or_capacity_analysis",
          "score": 2,
          "matched_terms": [
            "region",
            "tenant"
          ]
        }
      ],
      "scenario_evidence": {
        "matched_terms": [
          "cdc",
          "changefeed",
          "lag",
          "replication"
        ],
        "message_count_used": 17,
        "review_required": false
      },
      "is_inspection": null,
      "quality_notes": "",
      "daily_delta": {
        "cost": 0.0196,
        "message_count": 4,
        "user_message_count": 2,
        "assistant_message_count": 1,
        "token_usage": {
          "interaction_records": 1,
          "input_tokens": 5171,
          "output_tokens": 271,
          "reasoning_tokens": 0,
          "cache_read_tokens": 0,
          "cache_write_tokens": 0,
          "cost_amount": 0.019578
        },
        "message_categories": {
          "流程控制/确认": 2
        }
      }
    }
  ]
}
