Uh oh!
There was an error while loading. Please reload this page.
feat: Add support for Copilot usage metrics reports API - #3893
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## master #3893 +/- ##
==========================================
+ Coverage 92.39% 92.44% +0.04%
==========================================
Files 203 203 Lines 14833 14925 +92 ==========================================
+ Hits 13705 13797 +92
Misses 926 926 Partials 202 202 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
gmlewis
commented
Dec 29, 2025
Thank you, @henriklundstrom! I've updated the |
henriklundstrom
commented
Dec 29, 2025
Thanks, I've merged the latest master into this branch. |
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @henriklundstrom!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
cc: @stevehipwell - @alexandear - @zyfy29
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…eUsersMetricsReport
…ationUsersMetricsReport
…UsersDailyMetricsReport
…tionUsersDailyMetricsReport
Uh oh!
There was an error while loading. Please reload this page.
gmlewis
commented
Jan 2, 2026
Thank you, @henriklundstrom and @alexandear! |
Uh oh!
There was an error while loading. Please reload this page.
Implements the new endpoints for retrieving reports of copilot metrics for enterprises and organizations. See https://docs.github.com/en/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics?apiVersion=2022-11-28. The API does not return the reports directly, but rather returns signed download URLs with a limited expiration time. The proposed implementation simply returns the API response, leaving the actual downloading of the reports to the user.
Will require an update to the
openapi_operations.yaml-file.