Skip to main content

Viewing usage for your GitHub Enterprise plan

Learn how to display the number of users in your enterprise. For GitHub Enterprise Cloud full billing information is also available.

谁可以使用此功能?

Enterprise owners and billing managers (cloud only)

GitHub Enterprise

Viewing subscription and usage for your enterprise

You can view the subscription and usage for your enterprise and download a file with license details.

  1. 在页面顶部,单击“ Billing and licensing”(使用新的计费平台时可见)****。 或者,单击“ 设置”。
  2. 单击“许可”以显示有关许可证使用的详细信息****。

The information displayed varies according to your enterprise set up.

  • GitHub Enterprise Cloud, potentially with licenses synchronized from GitHub Enterprise Server
  • GitHub Enterprise Server

To learn more about the license data associated with your enterprise account and how the number of consumed user licenses is calculated, see Troubleshooting license usage for GitHub Enterprise.

Finding information on GitHub Enterprise Cloud

  • Under "User licenses", view your total licenses, number of consumed licenses, and your subscription expiration date.
  • To view details for license usage or download a CSV file with license details, to the right of "User Licenses", click View details or CSV report.
  • To view usage details for other features, in the left sidebar, click Billing.

Synchronization of GitHub Enterprise Server use

The date of the last license sync occurred is shown under "Enterprise Server instances". Look for timestamps next to usage uploaded or synced events.

  • "Server usage uploaded" indicates license usage between environments was manually updated when a GitHub Enterprise Server license file was uploaded.
  • "GitHub Connect server usage synced" indicates license usage between environments was automatically updated.
  • "GitHub Connect server usage never synced" indicates that GitHub Connect is configured, but license usage between environments has never updated successfully.

For more information, see Syncing license usage from GitHub Enterprise Server to Cloud.

Synchronization of 包含 GitHub Enterprise 的 Visual Studio 订阅 subscriptions

If your GitHub license includes 包含 GitHub Enterprise 的 Visual Studio 订阅, you can identify whether a user account on GitHub Enterprise Cloud has successfully matched with a Visual Studio subscriber by downloading the CSV file that contains additional license details. The license status will be one of the following:

  • "Matched": The user account on GitHub.com is linked with a Visual Studio subscriber.
  • "Pending Invitation": An invitation was sent to a Visual Studio subscriber, but the subscriber has not accepted the invitation.
  • Blank: There is no Visual Studio association to consider for the user account on GitHub.com.

Finding information on GitHub Enterprise Server

  • Under "User licenses", view your total licenses, number of consumed licenses, and your subscription expiration date.
  • To view details for license usage or download a JSON file with license details, click View users or Export license usage.
  • Review your current GitHub Enterprise license, as well as consumed and available user licenses.
  • If you have purchased Advanced Security, you can review your total licenses used as well as a per-organization breakdown of active committers. See 为 GitHub Advanced Security 功能配置基础结构.

Reporting license information using the REST API

You can also use the REST API to return consumed licenses data and the status of the license sync job. See 适用于企业许可证的 REST API 终结点.