Skip to content

Commit 3a3ca04

Browse files
authored
Merge pull request #42455 from github/repo-sync
Repo sync
2 parents 1db9c73 + a62ca9d commit 3a3ca04

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

content/copilot/concepts/copilot-metrics.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ This means the data **does not include** activity from other {% data variables.p
5454

5555
License and seat management data are not included in {% data variables.product.prodname_copilot_short %} usage metrics reports. To view or manage license assignments, use the {% data variables.product.prodname_copilot_short %} user management API, which is the source of truth for license and seat information. See [AUTOTITLE](/rest/copilot/copilot-user-management).
5656

57+
## Why {% data variables.product.prodname_copilot_short %} usage metrics may differ across API resources
58+
59+
The following API resources expose {% data variables.product.prodname_copilot_short %}-related data, but they are not interchangeable and should not be compared directly. Each API resource is designed for a specific use case and data model, and differences in totals or coverage are expected. Use this table to understand which API resource best fits your reporting needs.
60+
61+
> [!NOTE]
62+
> We strongly recommend using the {% data variables.product.prodname_copilot_short %} usage metrics API for new integrations and analyses, as it provides the most complete and future-facing view of {% data variables.product.prodname_copilot_short %} usage.
63+
64+
| API resource | Scope | Key capabilities |
65+
| --- | --- | --- |
66+
| [AUTOTITLE](/rest/copilot/copilot-usage-metrics) | Advanced enterprise- and user-level event telemetry | Provides unified telemetry across completions, chat, and agent modes. Includes usage and lines of code metrics across all IDE modes, languages, and models. Supports detailed breakdowns by feature, IDE, language, model, and user, and is the primary API resource being actively developed and maintained. |
67+
| [AUTOTITLE](/rest/copilot/copilot-user-management) | License and seat assignment | Lists assigned {% data variables.product.prodname_copilot_short %} seats for an organization or enterprise, including license state, user association, and `last_activity_at`. This API resource is the source of truth for license and seat information. |
68+
| [AUTOTITLE](/rest/copilot/copilot-metrics) | Enterprise-, organization-, and team-level usage metrics | Provides aggregated usage data for {% data variables.product.prodname_copilot_short %} features on {% data variables.product.prodname_dotcom_the_website %} (such as pull request summaries) and some IDE-based completions and chat. Does not include Agent or Edit mode telemetry. Offers enterprise-wide and per-feature breakdowns by IDE and language. Does not include individual-level data. |
69+
5770
## How are metrics attributed across organizations?
5871

5972
> [!NOTE]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
* {% data variables.product.prodname_actions %} are enabled.{% ifversion fpt or ghec %}
1+
* {% data variables.product.prodname_actions %} is enabled.{% ifversion fpt or ghec %}
22
* It is publicly visible, or {% data variables.product.prodname_GH_code_security %} is enabled.{%- elsif ghes %}
33
* {% data variables.product.prodname_GH_code_security %} is enabled.{% endif %}

0 commit comments

Comments
 (0)