Skip to content

Get Copilot enterprise user-teams report for a specific day

GET
/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day

Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.

The report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. 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.

API method documentation

enterprise
required
string

The slug version of the enterprise name.

day
required
string format: date
Example
2025-10-13

The day to request data for, in YYYY-MM-DD format.

Response

Media type application/json
Copilot Metrics 1 Day Report

Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.

object
download_links
required

The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day.

Array<string>
report_day
required

The day of the report in YYYY-MM-DD format.

string format: date
Examples
Example default
{
"download_links": [
"https://example.com/copilot-usage-report-1.ndjson",
"https://example.com/copilot-usage-report-2.ndjson"
],
"report_day": "2025-07-01"
}

Forbidden

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}

Resource not found

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}

Internal Error

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}