Get Copilot organization repository report for a specific day
Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository.
The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.
The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.
Organization owners and authorized users with fine-grained “View Organization Copilot Metrics” permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.
For more information about organization metrics attribution, see How are metrics attributed across organizations.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The organization name. The name is not case sensitive.
Query Parameters
Section titled “ Query Parameters ”Example
2025-10-13The day to request data for, in YYYY-MM-DD format.
Responses
Section titled “ Responses ”Response
Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.
object
The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day.
The day of the report in YYYY-MM-DD format.
Examples
{ "download_links": [ "https://example.com/copilot-usage-report-1.ndjson", "https://example.com/copilot-usage-report-2.ndjson" ], "report_day": "2025-07-01"}A header with no content is returned.
Forbidden
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Resource not found
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Internal Error
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}