Skip to content

Commit 0760f9b

Browse files
authored
Merge pull request #44278 from github/repo-sync
Repo sync
2 parents 4eace54 + f33a508 commit 0760f9b

19 files changed

Lines changed: 570 additions & 165 deletions

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Docs changelog
22

3+
**12 May 2026**
4+
5+
We have now published the GitHub Enterprise Server (GHES) 3.21 release candidate notes. You can read the full notes here:
6+
7+
* [GitHub Enterprise Server 3.21.0-rc.1](https://docs.github.com/en/enterprise-server@3.21/admin/release-notes)
8+
9+
We also updated billing preview tool for customers to compare their current usage under PRUs against usage under usage-based billing (starting June 1). We updated the related documentation to reflect the changed scope of the tool:
10+
11+
* [Preparing for your move to usage-based billing](https://docs.github.com/en/copilot/how-tos/manage-and-track-spending/prepare-for-your-move-to-usage-based-billing)
12+
* [Preparing your organization for usage-based billing](https://docs.github.com/en/copilot/how-tos/manage-and-track-spending/prepare-for-usage-based-billing)
13+
* [Usage-based billing for individuals](https://docs.github.com/en/copilot/concepts/billing/usage-based-billing-for-individuals)
14+
* [Usage-based billing for organizations and enterprises](https://docs.github.com/en/copilot/concepts/billing/usage-based-billing-for-organizations-and-enterprises)
15+
16+
<hr>
17+
318
**7 May 2026**
419

520
Enterprise administrators can now centrally manage plugin standards for Copilot CLI. We added two new articles:

content/copilot/concepts/copilot-usage-metrics/copilot-metrics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,4 @@ Now that you understand what each {% data variables.product.prodname_copilot_sho
138138
* To view adoption and usage trends across your enterprise and organizations, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/view-usage-and-adoption).
139139
* To analyze how code is being generated by users and agents, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/view-code-generation).
140140
* To access {% data variables.product.prodname_copilot_short %} usage metrics programmatically, see [AUTOTITLE](/rest/copilot/copilot-usage-metrics).
141+
* To construct team-level metrics by aggregating per-user records, see [AUTOTITLE](/copilot/reference/copilot-usage-metrics/team-level-metrics).

content/copilot/concepts/fallback-and-lts-models.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ When a new model is designated a base model, the following timeline applies:
3737
3838
An LTS model is an AI model that {% data variables.product.github %} commits to supporting for an extended period of one year from its designation date. During that period, the model remains available, which allows users to build around the model without concern that it will be {% data variables.release-phases.closing_down %} unexpectedly.
3939

40-
## Continuous access when premium requests are unavailable
41-
42-
{% data variables.copilot.copilot_gpt_53_codex %} is available on paid plans with a 1x premium request multiplier, which means it consumes premium requests. To ensure continuous access to {% data variables.product.prodname_copilot_short %} when premium requests are unavailable:
43-
44-
* Premium request quota exhausted: If a user has used their monthly premium request allowance, {% data variables.product.prodname_copilot_short %} automatically falls back to {% data variables.copilot.copilot_gpt_41 %} (the former base model) at no additional cost to the user.
45-
* Overage controls disabled: If an organization or enterprise has disabled premium request overages and a user reaches their limit, {% data variables.product.prodname_copilot_short %} will fall back to {% data variables.copilot.copilot_gpt_41 %}.
46-
4740
## Further reading
4841

4942
* [AUTOTITLE](/copilot/reference/ai-models/supported-models)

content/copilot/concepts/preparing-for-new-features-and-models.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,14 @@ You can find information about the models available and upcoming models in the f
5454
* **Model comparison**: To compare model capabilities side by side, see [AUTOTITLE](/copilot/reference/ai-models/model-comparison).
5555
* **Changelog**: Model updates are announced in the [{% data variables.product.prodname_copilot_short %} changelog](https://github.blog/changelog/label/copilot/).
5656

57-
To plan for model transitions and set user expectations, track which models {% data variables.product.github %} designates as base or long-term support (LTS). {% data variables.product.prodname_copilot_short %} automatically falls back to a base model when premium requests run out:
57+
To plan for model transitions and set user expectations, track which models {% data variables.product.github %} designates as base or long-term support (LTS):
5858

5959
{% rowheaders %}
6060

6161
| Model type | Description | Why it matters |
6262
| --- | --- | --- |
6363
| Base model | The default model when no other models are enabled. | Automatically enabled within 60 days of designation. |
6464
| LTS model | A model supported for one year from designation. | Allows enterprises to build workflows around a stable model. |
65-
| Fallback | When premium requests are exhausted, {% data variables.product.prodname_copilot_short %} uses an earlier base model. | Ensures continuous access at no additional cost. |
6665

6766
{% endrowheaders %}
6867

content/copilot/reference/copilot-usage-metrics/copilot-usage-metrics.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The {% data variables.product.prodname_copilot_short %} usage metrics dashboard
1818

1919
* The {% data variables.product.prodname_copilot_short %} usage metrics dashboards are available at the **enterprise** and **organization** level.
2020
* The {% data variables.product.prodname_copilot_short %} usage metrics APIs support **enterprise-, organization-, and user-level** records.
21+
* Team-level metrics are not pre-aggregated; you construct them by joining the user-teams report with the per-user usage metrics report. See [AUTOTITLE](/copilot/reference/copilot-usage-metrics/team-level-metrics).
2122

2223
For guidance on how to read and interpret these metrics, see [AUTOTITLE](/copilot/concepts/copilot-metrics).
2324

@@ -143,3 +144,18 @@ These fields capture daily pull request creation, review, merge, and suggestion
143144
| `pull_requests.total_copilot_suggestions` | Number of pull request review suggestions generated by {% data variables.product.prodname_copilot_short %} on this specific day. |
144145
| `pull_requests.total_copilot_applied_suggestions` | Number of pull request review suggestions generated by {% data variables.product.prodname_copilot_short %} that were applied on this specific day. |
145146
| `pull_requests.copilot_suggestions_by_comment_type` | Aggregated counts of {% data variables.product.prodname_copilot_short %} code review suggestions, broken down by the comment type {% data variables.product.prodname_copilot_short %} assigned (for example, `security` or `bug_risk`). Each entry includes `comment_type`, `total_copilot_suggestions`, and `total_copilot_applied_suggestions`. Not available at the repository level. |
147+
148+
### User-teams fields (API only)
149+
150+
These fields appear in the daily user-teams report (available via REST API at the organization and enterprise scopes) and are used to construct team-level metrics by joining with the per-user usage metrics report. For the full join recipe and the endpoint URLs, see [AUTOTITLE](/copilot/reference/copilot-usage-metrics/team-level-metrics).
151+
152+
Teams with fewer than 5 seated {% data variables.product.prodname_copilot_short %} users on a given day are excluded from the user-teams report.
153+
154+
| Field | Description |
155+
|:--|:--|
156+
| `user_id` / `user_login` | Unique identifier and {% data variables.product.github %} username for the user. |
157+
| `day` | Calendar day this record represents. |
158+
| `organization_id` (organization scope) | Unique ID of the organization the team belongs to. |
159+
| `enterprise_id` (enterprise scope) | Unique ID of the enterprise the team belongs to. The enterprise-scoped report includes both enterprise teams and business teams. |
160+
| `team_id` | Unique ID of the team the user belongs to. |
161+
| `slug` | URL-friendly identifier for the team. |

content/copilot/reference/copilot-usage-metrics/example-schema.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,3 +249,70 @@ The following are example schemas for the user-level and enterprise-level data r
249249
"entity_id_partition" : 2
250250
} ]
251251
```
252+
253+
The following user-teams report examples are returned by the `user-teams-1-day` endpoints and are intended to be joined with the per-user usage report on `user_id`, `day`, and the relevant entity id (`organization_id` for the organization scope, `enterprise_id` for the enterprise scope) to derive team-level metrics. For more guidance, see [AUTOTITLE](/copilot/reference/copilot-usage-metrics/team-level-metrics).
254+
255+
> [!NOTE]
256+
> Teams with fewer than 5 seated {% data variables.product.prodname_copilot_short %} users are omitted from user-teams reports.
257+
258+
## Organization user-teams schema example
259+
260+
```json copy
261+
[
262+
{
263+
"user_id": 1001,
264+
"user_login": "octocat",
265+
"day": "2026-05-14",
266+
"organization_id": "999",
267+
"team_id": 42,
268+
"slug": "frontend"
269+
},
270+
{
271+
"user_id": 1001,
272+
"user_login": "octocat",
273+
"day": "2026-05-14",
274+
"organization_id": "999",
275+
"team_id": 43,
276+
"slug": "backend"
277+
},
278+
{
279+
"user_id": 1002,
280+
"user_login": "hubot",
281+
"day": "2026-05-14",
282+
"organization_id": "999",
283+
"team_id": 42,
284+
"slug": "frontend"
285+
}
286+
]
287+
```
288+
289+
## Enterprise user-teams schema example
290+
291+
```json copy
292+
[
293+
{
294+
"user_id": 1001,
295+
"user_login": "octocat",
296+
"day": "2026-05-14",
297+
"enterprise_id": "1",
298+
"team_id": 9001,
299+
"slug": "eng-platform"
300+
},
301+
{
302+
"user_id": 1001,
303+
"user_login": "octocat",
304+
"day": "2026-05-14",
305+
"enterprise_id": "1",
306+
"team_id": 7001,
307+
"slug": "business-analytics"
308+
},
309+
{
310+
"user_id": 1002,
311+
"user_login": "hubot",
312+
"day": "2026-05-14",
313+
"enterprise_id": "1",
314+
"team_id": 9001,
315+
"slug": "eng-platform"
316+
}
317+
]
318+
```

content/copilot/reference/copilot-usage-metrics/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ children:
99
- /interpret-copilot-metrics
1010
- /reconciling-usage-metrics
1111
- /lines-of-code-metrics
12+
- /team-level-metrics
1213
- /example-schema
1314
contentType: reference
1415
---

content/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@ Use trends in usage, feature adoption, and language activity to guide enablement
7474
## Next steps
7575

7676
* To access metrics programmatically, including enterprise, organization, and user-level records, see [AUTOTITLE](/rest/copilot/copilot-usage-metrics).
77+
* To construct team-level metrics from the per-user usage metrics report, see [AUTOTITLE](/copilot/reference/copilot-usage-metrics/team-level-metrics).

content/copilot/reference/copilot-usage-metrics/reconciling-usage-metrics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The {% data variables.product.prodname_copilot_short %} usage metrics dashboard,
2020

2121
* The {% data variables.product.prodname_copilot_short %} usage metrics dashboards are available at the **enterprise** and **organization** level.
2222
* The {% data variables.product.prodname_copilot_short %} usage metrics APIs support **enterprise-, organization-, and user-level** records.
23+
* Team-level totals are not pre-aggregated. They are constructed by joining the user-teams report with the per-user usage metrics report. See [AUTOTITLE](/copilot/reference/copilot-usage-metrics/team-level-metrics).
2324

2425
## Prerequisite
2526

0 commit comments

Comments
 (0)