---
title: "Get Copilot enterprise repository report for a specific day"
method: GET
path: "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day"
tags: ["copilot"]
---

# Get Copilot enterprise repository report for a specific day

`GET /enterprises/{enterprise}/copilot/metrics/reports/repos-1-day`

Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, 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.

Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.

## Path parameters

- `enterprise` string, required

## Query parameters

- `day` string, date, required

## Response `200`

Response

- CopilotUsageMetrics1DayReport — Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.
  - `download_links` string[], required — The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day.
  - `report_day` string, date, required — The day of the report in `YYYY-MM-DD` format.

## Other responses

- `204` — A header with no content is returned.
- `403` — Forbidden
- `404` — Resource not found
- `500` — Internal Error

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
