Copilot data through REST API has stopped updating #139275
Replies: 5 comments 11 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.
-
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