Show detailed usage logs for Copilot Pro premium requests #193233
Replies: 1 comment
-
|
There's more available than the UI surfaces, but it's partial. Individual API endpoint that returns your own premium request usage: Auth needs a GitHub App user access token (OAuth flow) with the One big caveat: if your Copilot license is actually managed and billed by an org or enterprise (even if you think of it as your "Pro" plan), your usage won't show up on the user endpoint. It only returns data for self-paid individual plans. UI you might have missed: go to https://github.com/settings/billing and click "Premium request analytics" in the left sidebar. Shows per-model usage and a rolling chart. Not exportable from there on the individual plan. CSV export: enterprise-only today. Lives under Billing and Licenses, Usage, Export dropdown. Individual Pro and Pro+ don't get that, and afaik there's nothing on the public roadmap about exposing export for individuals. If you want hourly granularity now, the least-bad workaround is cron-polling that endpoint and diffing the counts yourself. Not pretty, but it gets you hour-level buckets: # in a cron job, every hour
curl -s -H "Authorization: Bearer $GH_USER_TOKEN" \
"https://api.github.com/users/$USERNAME/settings/billing/premium_request/usage" \
| jq '.usage_items[] | {date, product, sku, model, quantity}' \
> "usage-$(date +%Y%m%dT%H).json"Then diff consecutive snapshots to recover per-hour usage. It's duct tape but it works until there's a proper request-level endpoint. For the actual feature you want (request-level log with timestamps, filter by workflow/prompt, export), worth opening a focused feature request under the Copilot area. The billing-dashboard threads tend to get buried since they mix with refund and rate-limit complaints. A narrow "expose request-level Copilot usage for individuals via API + CSV export" post has a better chance of getting tracked on the roadmap. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Copilot in GitHub
Body
Hi Copilot team 👋
I'm a Copilot Pro subscriber and have been reviewing my billing dashboard. While I appreciate the current overview of premium request usage, I'd love to see more detailed usage data to better understand my consumption patterns.
Specifically, could we get access to:
This would help me:
✅ Track usage against my subscription limits more proactively
✅ Identify which workflows or prompts trigger premium requests
✅ Self-audit billing without needing to contact support
Is this something on the roadmap? Or is there an existing API/export feature I might have missed?
Thanks for building such a great tool — and for considering this! 🙏
FWIW, I actually reported a similar question via support ticket (#4282938) about a week ago, but haven't received a response yet. Hoping this public thread might help surface the request! 😊
Beta Was this translation helpful? Give feedback.
All reactions