Copilot metrics API return empty #181791
Unanswered
zhongyehong
asked this question in
API and Webhooks
Replies: 0 comments
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.
-
Select Topic Area
Question
Body
I try using below API per this doc https://docs.github.com/en/rest/copilot/copilot-metrics?apiVersion=2022-11-28
curl -L
-H "Accept: application/vnd.github+json"
-H "Authorization: Bearer "
-H "X-GitHub-Api-Version: 2022-11-28"
https://api.github.com/orgs/ORG/copilot/metrics
to get copilot usage for my org, I have the token with correct permission and this API just return empty array, how can I make it works?
Beta Was this translation helpful? Give feedback.
All reactions