Github Copilot Usage & Acceptance Analytics
Paste your GitHub metrics JSON below to see a breakdown of IDE usage and acceptance rates.
Paste your GitHub metrics JSON below to see a breakdown of IDE usage and acceptance rates.
Metrics API (or any name you prefer)read:enterpriseread:orgcopilot (with manage_billing:copilot, manage_billing:enterprise)ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) and store it securely.curl:
<YOUR-TOKEN>, <ORG-NAME> as needed:curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/<ORG-NAME>/copilot/metrics \
-o metrics.json
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/coaxsoft/copilot/metrics \
-o metrics.json
metrics.json in a text editor to confirm the data was downloaded successfully.