GitHub Copilot アプリ利用計測 API 追加
GitHub がエンタープライズ・組織向けに、Copilot アプリのアクティブユーザー数を報告する新フィールドを API に追加した。これにより管理者は IDE やチャット以外のアプリ利用状況も把握可能になった。
GitHub Copilot アプリの利用状況が、エンタープライズおよび組織向けの 1 日・28 日間レポートに追加されました。これにより、管理者は IDE やチャット、コードレビュー、コーディングエージェントの既存メトリクスに加え、アプリ側の活動状況も一目で把握できるようになります。
新機能
エンタープライズおよび組織向けレポートには、以下の 2 つの新フィールドが追加されました。
daily_active_copilot_app_users:指定された日に Copilot アプリを利用したユニークユーザー数です。
totals_by_copilot_app:GitHub Copilot アプリ専用のセクションで、セッション数、リクエスト数、プロンプト数、そしてトークン使用量(出力トークンの合計、プロンプトトークンの合計、1 リクエストあたりの平均トークン数)の内訳を報告します。
なぜ重要なのか
これまで、Copilot アプリの活動状況は利用レポートに含まれていませんでした。今回の追加により、管理者は既存の API をそのまま使いながら、アプリの導入範囲(ユニークユーザー数やセッション・リクエストのボリューム、トークン消費量など)を包括的に確認できるようになります。
重要な注意点
これらのフィールドは、エンタープライズおよび組織向けの 1 日・28 日間レポートに表示されます。
GitHub Copilot アプリの利用状況は、totals_by_copilot_app セクションで個別に報告され、一般的な機能やモデル、言語別の集計値、およびコード行数のメトリクスとは区別して扱われます。
GitHub Copilot アプリのアクティビティレポートが存在しない企業や組織の場合、daily_active_copilot_app_users および totals_by_copilot_app の両方で null が返されます。そのため、既存の統合機能への影響はありません。
利用を開始するには、Copilot 使用量メトリクス API のドキュメントをご覧ください。
本記事は、The GitHub Blog に掲載された「GitHub Copilot アプリが使用量メトリクス API で利用可能になりました」の続きです。
原文を表示
The Copilot usage metrics API now reports the GitHub Copilot app usage in the enterprise and organization 1-day and 28-day reports. This gives enterprise and organization admins visibility into the app’s activity alongside the IDE, chat, code review, and coding agent metrics they already retrieve.
What’s new
The enterprise and organization reports now include two new fields:
daily_active_copilot_app_users: The number of distinct users active in the Copilot app on a given day.
totals_by_copilot_app: A dedicated GitHub Copilot app section reporting session_count, request_count, prompt_count, and a token_usage breakdown (i.e., output_tokens_sum, prompt_tokens_sum, and avg_tokens_per_request).
Why this matters
The GitHub Copilot app activity was not previously represented in usage reporting. With these fields, enterprise and organization admins can see how broadly the app is being adopted (e.g., distinct active users, session and request volume, and token consumption) in the same API they already use for the rest of their Copilot usage metrics.
Important notes
These fields appear in the enterprise and organization 1-day and 28-day reports.
The GitHub Copilot app usage is reported in its own totals_by_copilot_app section and is kept separate from the generic feature, model, and language totals, as well as from lines-of-code metrics.
Enterprises or organizations with no GitHub Copilot app activity report null for both daily_active_copilot_app_users and totals_by_copilot_app, so existing integrations are unaffected.
Visit the Copilot usage metrics API documentation to get started.
The post GitHub Copilot app now available in the usage metrics API appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み