Copilot 用量 API 按客户端统计第三方工具用量
企业与组织及用户级 1 天和 28 天报告新增 totals_by_client 数组,统计 OpenCode 等此前未计入的工具用量。每个客户端条目包含请求数、会话数、token 用量,以及按模型拆分并带 model_selection_mode 的明细;未识别客户端归入 other。已知客户端包括 opencode、claude_code、codex、zed、copilot_cli、github_app、cloud_agent、code_review、vscode、jetbrains。
- totals_by_client 进入企业、组织、企业用户与组织用户的 1 天 / 28 天报告。
- 每客户端含请求数、会话数、token 用量及按模型拆分与 model_selection_mode。
- 未识别客户端归入 other。
API新功能
原始依据 · 2026-10-24 07时
GitHub Copilot 产品更新 ↗依据原始文字内容入选理由
让企业首次在报表中看到第三方 Agent 工具的实际用量。