
利用状況レポートに12月1日から user_id 列が追加へUsage reports will include a user ID column starting December 1
GitHubの詳細・AI・プレミアムリクエストの各利用状況レポートで、2026年12月1日からusername列の隣にuser_id列が加わり、以降の列は1つ右へずれます。列位置でCSVを読むスクリプトを使う管理者は、事前にヘッダー名参照へ修正する必要があります。
Starting December 1, 2026, GitHub's detailed, AI, and premium request usage reports gain a user_id column beside username, shifting later columns right. Teams parsing by position should switch to header names.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (github.blog) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (github.blog).
GitHubは2026年12月1日から、username列を含む利用状況レポートにuser_id列を追加する。username列の隣に挿入されるため、それ以降の列はすべて1つ右へずれ、列の位置でファイルを読む処理には修正が必要になる。
列が1つ右へずれる
変更後は、username列の直後にuser_id列が入る。usernameより後ろにあった列は、それぞれ位置が1つ後ろに移る。列位置が固定されていることを前提にしたスクリプトやツールは、変更前と同じ番号の列を読むと、想定とは別の列を参照することになる。
対象となるレポート
対象は、詳細利用状況レポート、AI利用状況レポート、プレミアムリクエスト利用状況レポートの3種類である。GitHub REST APIで作成するエクスポートも含まれる。一方、集計版の利用状況レポートは変更されない。
適用範囲は、GitHub Enterprise Cloudのすべてのアカウントタイプと、GitHub Teamを利用するスタンドアロンの組織とされている。
ヘッダー名での参照へ
列位置でレポートを読み取っているスクリプトやツールについては、12月1日より前に、ヘッダー名で列を読む方式へ更新するよう案内されている。
user_idに入る値
user_id列には、その利用を発生させたアカウントのIDが入る。ボットアカウントも含まれる。特定のアカウントに紐づかない利用では、この列は空になる。
この列によって、現在はusernameが空になっている削除済みアカウントの利用を識別できるようになると説明されている。
Usage reports gain user_id
Starting December 1, 2026, GitHub usage reports that include a username column will also include a user_id column next to it. Because every column after username moves one position to the right, any workflow that reads these reports by position could break.
Which reports and accounts change
According to the changelog, the change applies to the detailed usage report, the AI usage report, and the premium request usage report. It also covers exports created with the GitHub REST API. The summarized usage report will not change.
The change applies to all GitHub Enterprise Cloud account types and to standalone organizations on GitHub Team.
Update scripts to use header names
The source warns that scripts or tools which read these reports by column position need attention. It advises updating them to read columns by header name before December 1. Reading by header name means the added column should not disturb how other fields are located, since the shift affects only position.
What the user_id column holds
The user_id column contains the ID of the account that generated the usage, and this includes bot accounts. For usage that is not tied to an account, the field is empty.
The announcement says the new column makes it possible to identify usage from deleted accounts. Those accounts currently show an empty username, so the username column alone does not say who generated the usage. The source text breaks off after that first example, so the full list of what the column enables is not available here.
For administrators, the practical takeaway is short. Check any automation that parses the detailed, AI, or premium request usage reports, including REST API exports, and make sure it identifies columns by header before the December 1, 2026 change takes effect.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko列が1つ右にずれるって書いてあったけど、これって具体的に何が困るの?It says columns shift one to the right. What exactly goes wrong because of that?
- TECHガイドTECH Guide2026年12月1日から username の隣に user_id 列が入るので、その後ろの列がすべて1つずれます。列の位置でCSVを読むスクリプトは、違う列を読んでしまうかもね。From December 1, 2026, user_id sits next to username, so every later column moves over by one. Scripts that read the CSV by column position could end up reading the wrong column.
- ポコPokoじゃあ、ヘッダー名で読むようにしておけば安心なのかな?新しい列は誰の役に立つの?So reading by header name keeps things safe? And who does the new column help?
- TECHガイドTECH Guide記事ではそう案内しています。user_id は利用を生んだアカウントのIDで、いまは username が空になる削除済みアカウントの利用も識別できるようになります。That's the advice in the post. user_id is the ID of the account behind the usage, so you can now identify usage from deleted accounts, whose username is currently empty.
- ポコPokoつまり詳細・AI・プレミアムリクエストのレポートが変わるから、12月1日までにスクリプトを直しておくってことだね。So the detailed, AI, and premium request reports change, and scripts should be fixed before December 1. Got it.
- TECHガイドTECH Guideそうだね。ただ、まとめ版の利用状況レポートは変わらないよ。user_id はアカウントに紐づかない利用では空になる、という点も覚えておこう。Right. The summarized usage report doesn't change, though. Also, user_id is empty for usage that isn't tied to an account, so keep that in mind.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy



