Skip to main content

Сведения об отчетах об использовании

Узнайте, как запросить и понять отчет, показывающий подробные данные GitHub и сведения о выставлении счетов для вашей учетной записи.

Кто может использовать эту функцию?

Корпоративные владельцы, владелец организации и менеджер по выставлению счетов

Новая платформа выставления счетов теперь полностью развернута для всех предприятий и их организаций. Дополнительные сведения см. в блоге GitHub.

The usage report shows detailed information about your account’s GitHub usage, including how much of each SKU was used and the resulting billable amount.

To generate a usage report, see Gathering insights on your spending.

Usage report fields

The usage report contains the following fields.

FieldDescription
dateThe day that the usage occurred. All usage is logged in UTC.
productThe GitHub product that was used.
skuThe specific GitHub product SKU that was used.
quantityThe amount of the SKU that was used.
unit_typeThe unit of measurement for the product SKU.
applied_cost_per_quantityThe unit cost of the product SKU.
gross_amountThe amount of the product SKU that was used.
discount_amountThe amount of usage that was discounted. Usage that is discounted as part of your account’s included usage is reflected in this field. Also includes discounts for GitHub Actions usage for standard GitHub-hosted runners in public repositories and for self-hosted runners.
net_amountThe billable amount of usage after applying the discount_amount. This is the amount that your account will be billed. gross_amount - discount_amount = net_amount.
usernameThe user associated with the usage, if applicable.
organizationThe organization associated with the usage, if applicable.
repositoryThe repository associated with the usage, if applicable.
workflow_pathThe path of the GitHub Actions workflow that generated the usage, if applicable.
cost_center_nameThe cost center associated with the usage, if applicable.

Deprecated report fields

GitHub aims to minimize changes to the usage report structure, however at times the report structure or fields may change.

Deprecated fieldReplacement
usage_atRefer to date instead.
workflow_nameRefer to workflow_path instead.

How usage is summarized

To reduce the size of the report, similar usage entries are grouped and totaled. The report summarizes the quantity, gross_amount, discount_amount, and net_amount fields based on the combination of the following values: date, sku, username, workflow_path, repository, cost_center_name.

Receiving the report

Usage reports are sent via email to the default email address associated with your GitHub account.