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 Enterprise Copilot API

Endpoints to manage Copilot using the REST API.

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

This API exposes 8 JSON Schema definitions.

Tagged areas include Copilot. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 51 operations across 35 paths, and defines 20 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

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

51 operations 35 paths 20 schemas 8 DELETE28 GET2 PATCH5 POST8 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 51

Across 35 paths, the API surfaces 51 operations — 8 DELETE, 28 GET, 2 PATCH, 5 POST, 8 PUT. Each is listed below with its method, path, parameters, and response codes.

Copilot 51

Endpoints to manage Copilot using the REST API.

GET
/enterprises/{enterprise}/copilot/billing/seats
List all Copilot seat assignments for an enterprise
copilot/list-copilot-seats-for-enterprise 3 params → 200500401403404
POST
/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams
Add enterprise teams to the Copilot subscription for an enterprise
copilot/add-copilot-seats-for-enterprise-teams 1 param body → 201500401403404422
DELETE
/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams
Remove enterprise teams from the Copilot subscription for an enterprise
copilot/cancel-copilot-seats-for-enterprise-teams 1 param body → 200202500401403404422
POST
/enterprises/{enterprise}/copilot/billing/selected_users
Add users to the Copilot subscription for an enterprise
copilot/add-copilot-seats-for-enterprise-users 1 param body → 201500401403404422
DELETE
/enterprises/{enterprise}/copilot/billing/selected_users
Remove users from the Copilot subscription for an enterprise
copilot/cancel-copilot-seats-for-enterprise-users 1 param body → 200500401403404422
GET
/enterprises/{enterprise}/copilot/content_exclusion
Get Copilot content exclusion rules for an enterprise
copilot/copilot-content-exclusion-for-enterprise 1 param → 200500401403404
PUT
/enterprises/{enterprise}/copilot/content_exclusion
Set Copilot content exclusion rules for an enterprise
copilot/set-copilot-content-exclusion-for-enterprise 1 param body → 200500401403404413422
GET
/enterprises/{enterprise}/copilot/custom-agents
Get custom agents for an enterprise
copilot/get-copilot-custom-agents-for-enterprise 3 params → 200500401403404
GET
/enterprises/{enterprise}/copilot/custom-agents/source
Get the source organization for custom agents in an enterprise
copilot/get-copilot-custom-agents-source-for-enterprise 1 param → 200403404
PUT
/enterprises/{enterprise}/copilot/custom-agents/source
Set the source organization for custom agents in an enterprise
copilot/set-copilot-custom-agents-source-for-enterprise 1 param body → 200500401403404422
DELETE
/enterprises/{enterprise}/copilot/custom-agents/source
Delete the custom agents source for an enterprise
copilot/delete-copilot-custom-agents-source-for-enterprise 1 param → 204404403
GET
/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day
Get Copilot enterprise usage metrics for a specific day
copilot/copilot-enterprise-one-day-usage-metrics 2 params → 200500403404
GET
/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest
Get Copilot enterprise usage metrics
copilot/copilot-enterprise-usage-metrics 1 param → 200500403404
GET
/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day
Get Copilot enterprise repository report for a specific day
copilot/copilot-enterprise-repos-one-day-report 2 params → 200204500403404
GET
/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day
Get Copilot enterprise user-teams report for a specific day
copilot/copilot-enterprise-user-teams-one-day-report 2 params → 200500403404
GET
/enterprises/{enterprise}/copilot/metrics/reports/users-1-day
Get Copilot users usage metrics for a specific day
copilot/copilot-users-one-day-usage-metrics 2 params → 200500403404
GET
/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest
Get Copilot users usage metrics
copilot/copilot-users-usage-metrics 1 param → 200500403404
PUT
/enterprises/{enterprise}/copilot/policies/coding_agent
Set the coding agent policy for an enterprise
copilot/set-enterprise-coding-agent-policy 1 param body → 204400
POST
/enterprises/{enterprise}/copilot/policies/coding_agent/organizations
Add organizations to the enterprise coding agent policy
copilot/add-organizations-to-enterprise-coding-agent-policy 1 param body → 204400
DELETE
/enterprises/{enterprise}/copilot/policies/coding_agent/organizations
Remove organizations from the enterprise coding agent policy
copilot/remove-organizations-from-enterprise-coding-agent-policy 1 param body → 204400
GET
/enterprises/{enterprise}/copilot/usage-records
Get Copilot usage records for an enterprise
copilot/get-usage-records 6 params → 200400422403404
GET
/enterprises/{enterprise}/members/{username}/copilot
Get Copilot seat assignment details for an enterprise user
copilot/get-copilot-seat-details-for-enterprise-user 2 params → 200500401403404422
GET
/orgs/{org}/copilot/billing
Get Copilot seat information and settings for an organization
copilot/get-copilot-organization-details 1 param → 200500401403404422
GET
/orgs/{org}/copilot/billing/seats
List all Copilot seat assignments for an organization
copilot/list-copilot-seats 3 params → 200500401403404
POST
/orgs/{org}/copilot/billing/selected_teams
Add teams to the Copilot subscription for an organization
copilot/add-copilot-seats-for-teams 1 param body → 201500401403404422
DELETE
/orgs/{org}/copilot/billing/selected_teams
Remove teams from the Copilot subscription for an organization
copilot/cancel-copilot-seat-assignment-for-teams 1 param body → 200500401403404422
POST
/orgs/{org}/copilot/billing/selected_users
Add users to the Copilot subscription for an organization
copilot/add-copilot-seats-for-users 1 param body → 201500401403404422
DELETE
/orgs/{org}/copilot/billing/selected_users
Remove users from the Copilot subscription for an organization
copilot/cancel-copilot-seat-assignment-for-users 1 param body → 200500401403404422
GET
/orgs/{org}/copilot/coding-agent/permissions
Get Copilot cloud agent permissions for an organization
copilot/get-copilot-coding-agent-permissions-organization 1 param → 200500401403404
PUT
/orgs/{org}/copilot/coding-agent/permissions
Set Copilot cloud agent permissions for an organization
copilot/set-copilot-coding-agent-permissions-organization 1 param body → 204500401403404422
GET
/orgs/{org}/copilot/coding-agent/permissions/repositories
List repositories enabled for Copilot cloud agent in an organization
copilot/list-copilot-coding-agent-selected-repositories-for-organization 3 params → 200500401403404409
PUT
/orgs/{org}/copilot/coding-agent/permissions/repositories
Set selected repositories for Copilot cloud agent in an organization
copilot/set-copilot-coding-agent-selected-repositories-for-organization 1 param body → 204500401403404409422
PUT
/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}
Enable a repository for Copilot cloud agent in an organization
copilot/enable-copilot-coding-agent-for-repository-in-organization 2 params → 204500401403404409422
DELETE
/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}
Disable a repository for Copilot cloud agent in an organization
copilot/disable-copilot-coding-agent-for-repository-in-organization 2 params → 204500401403404409
GET
/orgs/{org}/copilot/content_exclusion
Get Copilot content exclusion rules for an organization
copilot/copilot-content-exclusion-for-organization 1 param → 200500401403404
PUT
/orgs/{org}/copilot/content_exclusion
Set Copilot content exclusion rules for an organization
copilot/set-copilot-content-exclusion-for-organization 1 param body → 200500401403404413422
GET
/orgs/{org}/copilot/feature-policies
Get feature policies for an organization
copilot/get-organization-feature-policies 1 param → 200401403404
PATCH
/orgs/{org}/copilot/feature-policies
Update feature policies for an organization
copilot/update-organization-feature-policies 1 param body → 200401403404422
GET
/orgs/{org}/copilot/metrics/reports/organization-1-day
Get Copilot organization usage metrics for a specific day
copilot/copilot-organization-one-day-usage-metrics 2 params → 200204500403404
GET
/orgs/{org}/copilot/metrics/reports/organization-28-day/latest
Get Copilot organization usage metrics
copilot/copilot-organization-usage-metrics 1 param → 200500403404
GET
/orgs/{org}/copilot/metrics/reports/repos-1-day
Get Copilot organization repository report for a specific day
copilot/copilot-organization-repos-one-day-report 2 params → 200204500403404
GET
/orgs/{org}/copilot/metrics/reports/user-teams-1-day
Get Copilot organization user-teams report for a specific day
copilot/copilot-organization-user-teams-one-day-report 2 params → 200204500403404
GET
/orgs/{org}/copilot/metrics/reports/users-1-day
Get Copilot organization users usage metrics for a specific day
copilot/copilot-organization-users-one-day-usage-metrics 2 params → 200204500403404
GET
/orgs/{org}/copilot/metrics/reports/users-28-day/latest
Get Copilot organization users usage metrics
copilot/copilot-organization-users-usage-metrics 1 param → 200500403404
GET
/orgs/{org}/copilot/model-policies
Get model policies for an organization
copilot/get-organization-model-policies 1 param → 200401403404
PATCH
/orgs/{org}/copilot/model-policies
Update model policies for an organization
copilot/update-organization-model-policies 1 param body → 200401403404422
GET
/orgs/{org}/members/{username}/copilot
Get Copilot seat assignment details for a user
copilot/get-copilot-seat-details-for-user 2 params → 200500401403404422
GET
/orgs/{org}/teams/{team_slug}/copilot/customizations
Get Copilot customizations for a team
copilot/get-copilot-team-customizations 2 params → 200500401403404409422503
PUT
/orgs/{org}/teams/{team_slug}/copilot/customizations
Set Copilot customizations for a team
copilot/set-copilot-team-customizations 2 params body → 200500401403404409422503
DELETE
/orgs/{org}/teams/{team_slug}/copilot/customizations
Delete Copilot customizations for a team
copilot/delete-copilot-team-customizations 2 params → 204500401403404409422503
GET
/repos/{owner}/{repo}/copilot/cloud-agent/configuration
Get Copilot cloud agent configuration for a repository
copilot/get-copilot-cloud-agent-configuration 2 params → 200500401403404

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are minimal-repository (90 properties), nullable-simple-user (22 properties), simple-user (22 properties), team (18 properties). Each schema is shown below with its type and property counts.

code-of-conduct
object
Code Of Conduct
5 properties 4 required
basic-error
object
Basic Error
4 properties
copilot-enterprise-content-exclusion-details
object
List all Copilot Content Exclusion rules for an enterprise.
enterprise-team
object
Group of enterprise owners and/or members
14 properties 9 required
validation-error-simple
object
Validation Error Simple
3 properties 2 required
copilot-organization-seat-breakdown
object
The breakdown of Copilot Business seats for the organization.
6 properties
copilot-seat-details
object
Information about a Copilot Business seat assignment for a user, team, or organization.
10 properties 1 required
nullable-organization-simple
objectnull
A GitHub organization.
12 properties 12 required
validation-error
object
Validation Error
3 properties 2 required
minimal-repository
object
Minimal Repository
90 properties 46 required
nullable-simple-user
objectnull
A GitHub user.
22 properties 18 required
copilot-usage-metrics-28-day-report
object
Links to download the latest Copilot usage metrics report for an enterprise/organization.
3 properties 3 required
team
object
Groups of organization members that gives permissions on specified repositories.
18 properties 12 required
security-and-analysis
objectnull
11 properties
copilot-usage-metrics-1-day-report
object
Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.
2 properties 2 required
copilot-organization-details
object
Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription.
7 properties 3 required
nullable-team-simple
objectnull
Groups of organization members that gives permissions on specified repositories.
16 properties 11 required
copilot-organization-content-exclusion-details
object
List all Copilot Content Exclusion rules for an organization.
scim-error
object
Scim Error
6 properties
simple-user
object
A GitHub user.
22 properties 18 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

This is an independent, third-party profile of GitHub Enterprise Copilot 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.