GitHub Enterprise Cloud: Copilot AI credit usage reports created via REST API remain stuck in "processing" #210244
Unanswered
DavidTirea
asked this question in
Apps, API and Webhooks
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
Summary
Copilot
ai_creditusage reports created programmatically through the REST API remain indefinitely in theprocessingstatus. Equivalent reports requested manually from the GitHub web interface complete successfully and can be downloaded.I opened GitHub Support ticket #4826809 on October 8, 2026, but it is still pending. I am posting here to determine whether anyone has encountered the same behavior or can confirm the expected API requirements.
Environment
ai_creditEndpoint
Reports are created using:
Their status is subsequently checked using:
The request is sent to our GitHub Enterprise Cloud data-residency endpoint. The hostname and enterprise-specific details have been omitted for privacy.
Request
Headers:
Example payload:
{ "report_type": "ai_credit", "start_date": "2026-09-01", "end_date": "2026-09-30", "send_email": false }Actual behavior
The
POSTrequest is accepted and returns a report ID with the statusprocessing. This indicates that authentication and authorization appear to succeed.However:
completedorfailed.download_urlsfield remains empty.Example sanitized response:
{ "id": "<redacted-report-id>", "report_type": "ai_credit", "status": "processing", "download_urls": [] }Expected behavior
The report should eventually transition to either:
completed, with one or more values indownload_urls; orfailed, with information indicating why it could not be generated.Important comparison
Reports with the same
ai_credittype and equivalent date ranges complete successfully when requested manually through the GitHub web interface using the Get usage report button.The equivalent web-generated reports become
completed, and their CSV files can be downloaded successfully.The issue therefore appears to affect only reports created through the REST API.
Questions
ai_creditfully supported by the usage-report REST API for GitHub Enterprise Cloud?X-GitHub-Api-Version: 2026-03-10valid for this endpoint?processing?We have stopped creating additional API reports while this is being investigated to avoid adding more reports to the processing queue.
Any guidance or confirmation would be appreciated.
All reactions