Skip to main content

Reviewing usage data for GitHub Copilot in your organization

Review GitHub Copilot usage in your organization to make informed decisions about seat assignment.

Qui peut utiliser cette fonctionnalité ?

Organization owners for organizations with a subscription to Copilot Business.

Reviewing usage data for GitHub Copilot in your organization

  1. Dans le coin supérieur droit de GitHub, sélectionnez votre photo de profil, puis cliquez sur Vos organisations.

  2. En regard de l’organisation, cliquez sur Paramètres.

  3. Dans la section « Code, planification et automatisation » de la barre latérale, cliquez sur Copilot, puis cliquez sur Accès.

  4. At the top of the page, under "GitHub Copilot," you can see an overview of your organization's GitHub Copilot usage. You can see the number seats assigned through your Copilot Business subscription, and the estimated monthly cost.

    Screenshot of the GitHub Copilot usage overview.

  5. For more detailed information, next to "Access management," click Get report.

    GitHub generates a report for you, which you can download as a CSV file.

  6. Alternatively, under "Access management," you can use the Sort options to sort the list of users by when they last used GitHub Copilot.

Using the API to retrieve assignment information

You can use GitHub's REST API to get details about the assignment of GitHub Copilot seats in your organization. See "Get Copilot seat information and settings for an organization," "List all Copilot seat assignments for an organization," and "Get Copilot seat assignment details for a user."

Understanding the last_activity_at calculation

Note

This data is in public beta and subject to change.

To align the last_activity_at data point with actual usage, the system returns the timestamp of a user's most recent interaction with Copilot functionality. These interactions are:

  • Receiving a code suggestion in an IDE
  • Chatting with Copilot Chat in an IDE
  • Interacting with Copilot on a mobile device
  • Interacting with Copilot Chat for CLI

The last_activity_at date is consistent across the CSV generated via Get Report in Copilot Access settings as well as through GitHub's REST API. The events which are tracked come from both client, and server-side telemetry. This allows the timestamp to be durable in the event that network conditions would impact client-telemetry.

Processing new telemetry events and updating a user's last_activity_at date can take up to 24 hours. If you believe a user's last_activity_at date should be more recent than shown in the CSV or API report, please wait 24 hours and check again.

Further reading