cd /news/developer-tools/copilot-usage-metrics-api-adds-agent… · home topics developer-tools article
[ARTICLE · art-88292] src=github.blog ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Copilot usage metrics API adds agent app activity

GitHub's Copilot usage metrics API now reports agent app activity, broken out by individual agent, with a new optional `totals_by_3rd_party_agent` array in enterprise, organization, enterprise-user, and organization-user 1-day and 28-day reports. The array includes each agent's display name, stable `agent_id`, `user_initiated_interaction_count` (agent app job starts), and `session_count` (in aggregated reports only), enabling teams to track adoption of agents like Claude and Codex separately. The change is backward compatible and available to users with the View Copilot Metrics permission.

read2 min views1 publishedAug 7, 2026
Copilot usage metrics API adds agent app activity
Image: GitHub Changelog

Since agent apps arrived on GitHub, teams have been able to run agents from partners like Claude and Codex directly in their GitHub workflows. The Copilot usage metrics API now reports that activity, broken out by individual agent. The usage metrics API does this in the enterprise, organization, enterprise-user, and organization-user 1-day and 28-day reports.

What’s new A new optional totals_by_3rd_party_agent

array contains one entry per recognized agent app. Each entry includes:

: The agent’s display name. Display names can change, so group onagent_name

agent_id

rather than this field.: The agent’s stable identifier, and the right key for joining across reporting periods.agent_id

: The number of user-initiated agent app job starts.user_initiated_interaction_count

: The number of agent app sessions. Included in the aggregated enterprise and organization reports only. Per-user entries omit this field.session_count

Why this matters Until now, agent activity in your usage metrics was effectively a single bucket, so there was no way to tell Copilot coding agent work apart from work done through other agents. As teams adopt more than one agent, that made it hard to answer basic questions: which agents are actually being used, by how many people, and how does adoption of a newly rolled-out agent compare to the one it was meant to supplement.

Breaking activity out per agent lets you distinctly track each agent app, compare adoption across them, and ground rollout and licensing decisions in real usage rather than assumption.

Important notes

  • The nested user_initiated_interaction_count

counts agent app job starts. It isdistinct from the top-level field of the same name, which counts explicit prompts from other supported telemetry. Do not sum the two or treat them as interchangeable. - Activity is aggregated by agent, so multiple apps belonging to the same agent are collapsed into one entry. Activity from agents that cannot be identified is omitted.

  • These metrics are available to enterprise owners and billing managers, organization owners, and anyone with a custom organization or enterprise role that grants the View Copilot Metrics

permission. The Copilot usage metrics policy must be enabled. - The change is backward compatible. Existing fields keep their current shape, and reports omit totals_by_3rd_party_agent

entirely when there is no recognized agent app activity for the reporting period.

Visit the Copilot usage metrics API documentation to get started, or see Agent apps metrics fields for the full field definitions.

── more in #developer-tools 4 stories · sorted by recency
── more on @github 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/copilot-usage-metric…] indexed:0 read:2min 2026-08-07 ·