GitHub Copilot

To zoom into the AI Adoption in your organization, integrate with GitHub Copilot.

📘

The API is limited to organization, enterprise, or team contexts. It does not provide per-user data for usage.

For team-level data: the team must have at least five members with active Copilot licenses on that day — otherwise, no metrics for that day are returned.

The metrics only cover usage via supported IDEs (with telemetry enabled). Other surfaces like Copilot Chat, Copilot CLI, mobile, etc., are not necessarily included in these usage metrics.

For more details, you can check the REST API endpoints for Copilot metrics documentation.


To integrate with GitHub Copilot and track AI adoption in your organization, follow these steps:

  1. Generate a GitHub Token First, generate a personal access token from your GitHub account with the read:org scope.
📘

Requirements:

  • You must be an organization owner/admin.
  • Your organization must have at least 5 active GitHub Copilot licenses.
  • The Copilot API Metrics policy must be enabled. Learn how to enable it here.

  1. Navigate to AI Adoption Integration
  • Go to the Setup section.
  • Select Integrations.
  • Click on AI Adoption.


  1. Select GitHub Copilot
  • Choose GitHub Copilot.


  1. Insert and Validate the Token
  • Paste the GitHub token you generated earlier.
  • Click Test Connection to verify the integration.

Once the connection is successfully established, you’ll be able to access GitHub Copilot metrics within the AI Adoption dashboard.