GitHub Copilot integration

Enabling GitHub Copilot metrics

Read more about Swarmia's other AI coding tool integrations and measuring the productivity impact of AI tools.

Enabling GitHub Copilot metrics

1. Grant Swarmia read access to Copilot Business

Grant Swarmia read access to these permissions:

  • Organization Copilot seat management: Used for Copilot adoption metrics and PR attribution in Swarmia. You’ll get access to data from this point onward (no backfill of historical data).

  • Organization Copilot metrics: Used for Copilot activity breakdown in Swarmia. Requires enabling also the corresponding policy — see below.

2. Enable Copilot metrics in your organization's policies

To see Copilot activity metrics, enable the "Copilot usage metrics" policy in GitHub → Organization settings → Copilot → Policies. You'll get historical activity data starting from December 12th, 2025.

circle-info

Copilot metrics API stopped working on April 2nd, 2026. It was used in Swarmia's old Copilot activity breakdown.

Frequently asked questions

What if my Copilot licenses are in a different GitHub organization than my repositories?

You can connect both GitHub organizations to Swarmia, and we can track the users' licenses across organizations.

Why can't I see the feature toggles for enabling Copilot Metrics APIs even though I am an organization admin?

If the organization is part of a GitHub enterprise, the features are managed through enterprise policies. To enable these features for a GitHub organization within a GitHub enterprise the feature policies must be set to "Enabled everywhere" for the enterprise.

Last updated

Was this helpful?