Copilot data through REST API has stopped updating #139275
Replies: 7 comments 13 replies
-
Hope this help:
|
Beta Was this translation helpful? Give feedback.
-
I think that it would be an issue of your account, so if possible, please test the same API call with a different enterprise account to see if the issue is account-specific or more widespread. |
Beta Was this translation helpful? Give feedback.
-
Since there are now three different accounts that have this issue, it sure appears to be a GitHub issue that crosses accounts. jeff |
Beta Was this translation helpful? Give feedback.
-
Um, actually you've faced GitHub issue not your own. Thanks for your reply. |
Beta Was this translation helpful? Give feedback.
-
Seems like the data is now updating again. |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm getting the exact same problem today. I started working on the api on the 30th September and everything went fine until today where the data of yesterday doesn't show up when doing the 28-days basic GET. Doing a query and specifying the date to get only yesterday's data gives a 200 response with an empty body. |
Beta Was this translation helpful? Give feedback.
-
Yes, someone needs to dig into the ROOT CAUSE of this. It's not enough to just explain it away as 'oh well, it seems to be all fixed now ... carry on'. That's not the way you solve technical problems. There is some sort of glitch in how Copilot information is collected on the GitHub side that is impacting at least some accounts and customers. Our customers rely on these stats and we cannot afford to have them come and go arbitrarily. Please figure out what's up here. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I'm using this call to get copilot usage information for my account. I've redacted the authorization token in what I'm sharing here.
curl -H "authorization: Bearer XXXXXXXXXXXXXXXXXXXXX" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/enterprises/coveros-partner-demo/copilot/usage
I get json structured results when I run this curl command. When I first ran it on 9/16 I got copilot usage information for the past 4 weeks through 9/16. But every day since then when I've run it, I've gotten no copilot information for days beyond 9/16. The start date for the usage data that is returned increments by one day each day as you would expect as the 28 day window shifts.
I'm wondering if there is some sort of cache I need to clear. I thought perhaps the results were being paginated but there isn't a huge amount of data coming back from these calls and when I used the --include flag to see if pagination links are being returned in the response, they are not.
Any help would be appreciated.
jeff
Beta Was this translation helpful? Give feedback.
All reactions