GitHub added an optional totals_by_3rd_party_agent array to Copilot usage metrics reports (enterprise, organization, and per-user, 1-day and 28-day):
https://github.blog/changelog/2026-08-07-copilot-usage-metrics-api-adds-agent-app-activity/
Docs: https://docs.github.com/en/copilot/reference/copilot-usage-metrics/copilot-usage-metrics#agent-apps-metrics-fields
This field is not modeled in CopilotDailyMetrics, CopilotUserDailyMetrics, or CopilotUserPeriodicMetrics, so downloaded reports drop the agent-app breakdown.
I'd like to add a CopilotMetricsThirdPartyAgent type and wire it up on those structs, with tests. session_count would be a pointer so per-user reports can omit it.
Please assign this to me if that sounds good.
GitHub added an optional
totals_by_3rd_party_agentarray to Copilot usage metrics reports (enterprise, organization, and per-user, 1-day and 28-day):https://github.blog/changelog/2026-08-07-copilot-usage-metrics-api-adds-agent-app-activity/
Docs: https://docs.github.com/en/copilot/reference/copilot-usage-metrics/copilot-usage-metrics#agent-apps-metrics-fields
This field is not modeled in
CopilotDailyMetrics,CopilotUserDailyMetrics, orCopilotUserPeriodicMetrics, so downloaded reports drop the agent-app breakdown.I'd like to add a
CopilotMetricsThirdPartyAgenttype and wire it up on those structs, with tests.session_countwould be a pointer so per-user reports can omit it.Please assign this to me if that sounds good.