How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Copilot Copilot Metrics API

Aggregated Copilot usage metrics by organization and team

GitHub Copilot Copilot Metrics API is one of 12 APIs that GitHub Copilot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Copilot Metrics. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, a getting-started guide, a JSON-LD context, pricing, and 2 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 15 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.github.com.

2 operations 2 paths 15 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.github.com
Authentication
HTTP Bearer, OAuth 2.0
License
Resource Areas
1

Authentication & Security 2

GitHub Copilot Copilot Metrics API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (BearerToken). It supports OAuth 2.0 (OAuthToken) using the authorizationCode flow, exposing 4 scopes. By default, every request must be authenticated.

  • BearerToken — Personal access token (classic) with managebilling:copilot, read:org, or read:enterprise scopes; or fine-grained token with GitHub Copilot Business (read) or A…

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Copilot Metrics 2

Aggregated Copilot usage metrics by organization and team

GET
/orgs/{org}/copilot/metrics
Github Copilot Get Copilot Metrics for an Organization
getCopilotMetricsForOrganization 5 params → 200403404422500
GET
/orgs/{org}/team/{team_slug}/copilot/metrics
Github Copilot Get Copilot Metrics for a Team
getCopilotMetricsForTeam 6 params → 200403404422500

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are IdeChatModel (7 properties), CopilotMetricsDay (7 properties), CodeCompletionsLanguageMetrics (6 properties), DotcomChatModel (5 properties). Each schema is shown below with its type and property counts.

DotcomChatModel
object
Dotcom Chat metrics for a specific AI model.
5 properties
CopilotIdeCodeCompletions
object
Metrics for Copilot code completions in IDEs.
3 properties
IdeChatEditor
object
IDE Chat metrics for a specific editor.
3 properties
CopilotDotcomPullRequests
object
Metrics for Copilot pull request summaries on github.com.
2 properties
CodeCompletionsModel
object
Code completion metrics for a specific AI model.
5 properties
CodeCompletionsLanguageMetrics
object
Detailed code completion metrics for a specific language.
6 properties
PullRequestRepository
object
Pull request summary metrics for a specific repository.
3 properties
CopilotIdeChat
object
Metrics for Copilot Chat in IDEs.
2 properties
CopilotDotcomChat
object
Metrics for Copilot Chat on github.com.
2 properties
PullRequestModel
object
Pull request summary metrics for a specific AI model.
5 properties
CopilotMetricsDay
object
Aggregated Copilot usage metrics for a single day, broken down by feature, editor, language, and model.
7 properties 1 required
Error
object
2 properties 1 required
IdeChatModel
object
IDE Chat metrics for a specific AI model.
7 properties
MetricsLanguageSummary
object
Summary of engagement for a programming language.
2 properties
CodeCompletionsEditor
object
Code completion metrics for a specific editor.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-copilot-copilot-metrics-api-openapi.yml Raw ↑

Other APIs GitHub Copilot publishes across the network.

GitHub Copilot Chat API
GitHub Copilot Extensions API
GitHub Copilot Coding Agent
GitHub Copilot Code Review
GitHub MCP Server
GitHub Copilot Custom Instructions
GitHub Copilot Copilot Billing API
GitHub Copilot Copilot Content Exclusion API
GitHub Copilot Copilot Seats API
GitHub Copilot Copilot Usage Reports API
GitHub Copilot Copilot User Management API
Where this information came from

This is an independent, third-party profile of GitHub Copilot Copilot Metrics API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.