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

To see Copilot adoption metrics, you must grant Swarmia read access to GitHub Copilot Business. You’ll get access to adoption and license data from this point onward (no backfill of historical data). View instructions

2. Enable Copilot Metrics APIs

To see Copilot activity metrics, you must enable the "Copilot Metrics API" and "Copilot usage metrics" features in Organization settings > Copilot > Policies setting.

Copilot metrics API is the current GitHub Copilot metrics API, which will be active until April 2nd. You'll get historical activity data starting from 100 days prior to making the connection.

Copilot usage metrics is for the new GitHub Copilot metrics API, which will be the only available API starting from April 2nd. You'll get historical activity data starting from December 12th, 2025.

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?