正在把原文翻译成中文,长文需要一两分钟;先显示原文。

Improvement

December 2, 20261 minute read

Usage reports that include a username column now include a user_id column next to it. The column contains the ID of the account that generated the usage, including bot accounts, and it's empty for usage that isn't tied to an account. You can use it to:

  • Identify usage from deleted accounts, which have an empty username.
  • Follow a user's usage after they change their username.
  • Match report rows to events in your audit log.

This change applies to the detailed usage report, the AI usage report, and the premium request usage report, including exports you create with the GitHub REST API. The summarized usage report hasn't changed.

These changes apply to all GitHub Enterprise Cloud account types and standalone organizations on GitHub Team.

Every column after username has moved one position to the right. If your scripts or tools read these reports by column position, update them to read columns by header name.

Usage from different deleted accounts now appears on separate rows instead of combined in one row with an empty username. We calculate amounts the same way, but because we round each row separately, totals you add up from the report may differ slightly in the last decimal places.

To learn more, see Usage report fields.