# GitHub Enterprise Copilot API

**Canonical:** https://apis.io/apis/github-enterprise/github-enterprise-copilot-api/  
**Provider:** GitHub Enterprise — https://apis.io/providers/github-enterprise/  
**Base URL:** https://api.github.com  
**Documentation:** https://docs.github.com/en/enterprise-cloud@latest/rest

GitHub Enterprise Copilot API is one of 58 APIs that [GitHub Enterprise](https://apis.io/providers/github-enterprise/) publishes on the [APIs.io](https://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.

Endpoints to manage Copilot using the REST API.

## Operations (51)

| Method | Path | Summary |
|---|---|---|
| GET | `/enterprises/{enterprise}/copilot/billing/seats` | List all Copilot seat assignments for an enterprise |
| POST | `/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams` | Add enterprise teams to the Copilot subscription for an enterprise |
| DELETE | `/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams` | Remove enterprise teams from the Copilot subscription for an enterprise |
| POST | `/enterprises/{enterprise}/copilot/billing/selected_users` | Add users to the Copilot subscription for an enterprise |
| DELETE | `/enterprises/{enterprise}/copilot/billing/selected_users` | Remove users from the Copilot subscription for an enterprise |
| GET | `/enterprises/{enterprise}/copilot/content_exclusion` | Get Copilot content exclusion rules for an enterprise |
| PUT | `/enterprises/{enterprise}/copilot/content_exclusion` | Set Copilot content exclusion rules for an enterprise |
| GET | `/enterprises/{enterprise}/copilot/custom-agents` | Get custom agents for an enterprise |
| GET | `/enterprises/{enterprise}/copilot/custom-agents/source` | Get the source organization for custom agents in an enterprise |
| PUT | `/enterprises/{enterprise}/copilot/custom-agents/source` | Set the source organization for custom agents in an enterprise |
| DELETE | `/enterprises/{enterprise}/copilot/custom-agents/source` | Delete the custom agents source for an enterprise |
| GET | `/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day` | Get Copilot enterprise usage metrics for a specific day |
| GET | `/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest` | Get Copilot enterprise usage metrics |
| GET | `/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day` | Get Copilot enterprise repository report for a specific day |
| GET | `/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day` | Get Copilot enterprise user-teams report for a specific day |
| GET | `/enterprises/{enterprise}/copilot/metrics/reports/users-1-day` | Get Copilot users usage metrics for a specific day |
| GET | `/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest` | Get Copilot users usage metrics |
| PUT | `/enterprises/{enterprise}/copilot/policies/coding_agent` | Set the coding agent policy for an enterprise |
| POST | `/enterprises/{enterprise}/copilot/policies/coding_agent/organizations` | Add organizations to the enterprise coding agent policy |
| DELETE | `/enterprises/{enterprise}/copilot/policies/coding_agent/organizations` | Remove organizations from the enterprise coding agent policy |
| GET | `/enterprises/{enterprise}/copilot/usage-records` | Get Copilot usage records for an enterprise |
| GET | `/enterprises/{enterprise}/members/{username}/copilot` | Get Copilot seat assignment details for an enterprise user |
| GET | `/orgs/{org}/copilot/billing` | Get Copilot seat information and settings for an organization |
| GET | `/orgs/{org}/copilot/billing/seats` | List all Copilot seat assignments for an organization |
| POST | `/orgs/{org}/copilot/billing/selected_teams` | Add teams to the Copilot subscription for an organization |
| DELETE | `/orgs/{org}/copilot/billing/selected_teams` | Remove teams from the Copilot subscription for an organization |
| POST | `/orgs/{org}/copilot/billing/selected_users` | Add users to the Copilot subscription for an organization |
| DELETE | `/orgs/{org}/copilot/billing/selected_users` | Remove users from the Copilot subscription for an organization |
| GET | `/orgs/{org}/copilot/coding-agent/permissions` | Get Copilot cloud agent permissions for an organization |
| PUT | `/orgs/{org}/copilot/coding-agent/permissions` | Set Copilot cloud agent permissions for an organization |
| GET | `/orgs/{org}/copilot/coding-agent/permissions/repositories` | List repositories enabled for Copilot cloud agent in an organization |
| PUT | `/orgs/{org}/copilot/coding-agent/permissions/repositories` | Set selected repositories for Copilot cloud agent in an organization |
| PUT | `/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}` | Enable a repository for Copilot cloud agent in an organization |
| DELETE | `/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}` | Disable a repository for Copilot cloud agent in an organization |
| GET | `/orgs/{org}/copilot/content_exclusion` | Get Copilot content exclusion rules for an organization |
| PUT | `/orgs/{org}/copilot/content_exclusion` | Set Copilot content exclusion rules for an organization |
| GET | `/orgs/{org}/copilot/feature-policies` | Get feature policies for an organization |
| PATCH | `/orgs/{org}/copilot/feature-policies` | Update feature policies for an organization |
| GET | `/orgs/{org}/copilot/metrics/reports/organization-1-day` | Get Copilot organization usage metrics for a specific day |
| GET | `/orgs/{org}/copilot/metrics/reports/organization-28-day/latest` | Get Copilot organization usage metrics |
| GET | `/orgs/{org}/copilot/metrics/reports/repos-1-day` | Get Copilot organization repository report for a specific day |
| GET | `/orgs/{org}/copilot/metrics/reports/user-teams-1-day` | Get Copilot organization user-teams report for a specific day |
| GET | `/orgs/{org}/copilot/metrics/reports/users-1-day` | Get Copilot organization users usage metrics for a specific day |
| GET | `/orgs/{org}/copilot/metrics/reports/users-28-day/latest` | Get Copilot organization users usage metrics |
| GET | `/orgs/{org}/copilot/model-policies` | Get model policies for an organization |
| PATCH | `/orgs/{org}/copilot/model-policies` | Update model policies for an organization |
| GET | `/orgs/{org}/members/{username}/copilot` | Get Copilot seat assignment details for a user |
| GET | `/orgs/{org}/teams/{team_slug}/copilot/customizations` | Get Copilot customizations for a team |
| PUT | `/orgs/{org}/teams/{team_slug}/copilot/customizations` | Set Copilot customizations for a team |
| DELETE | `/orgs/{org}/teams/{team_slug}/copilot/customizations` | Delete Copilot customizations for a team |
| GET | `/repos/{owner}/{repo}/copilot/cloud-agent/configuration` | Get Copilot cloud agent configuration for a repository |

## Machine-readable artifacts (16)

- **OpenAPI** — https://artifacts.apis.io/github-enterprise/openapi/github-enterprise-copilot-api-openapi.yml
- **Documentation** — https://docs.github.com/en/enterprise-cloud@latest/rest
- **RateLimits** — https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-full-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-app-permissions-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-team-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-minimal-repository-schema.json
- **Authentication** — https://docs.github.com/en/enterprise-cloud@latest/rest/overview/authenticating-to-the-rest-api
- **Documentation** — https://docs.github.com/en/enterprise-cloud@latest/graphql
- **GraphQL** — https://artifacts.apis.io/github-enterprise/graphql/github-enterprise-graphql.md
- **Documentation** — https://docs.github.com/en/enterprise-server@latest/rest
- **Documentation** — https://docs.github.com/en/enterprise-server@latest/graphql
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-pull-request-schema.json

## Other GitHub Enterprise APIs (12)

- [GitHub Enterprise Cloud GraphQL API](https://apis.io/apis/github-enterprise/github-enterprise-graphql-api/)
- [GitHub MCP Server](https://apis.io/apis/github-enterprise/github-mcp-server/)
- [GitHub Enterprise Actions API](https://apis.io/apis/github-enterprise/github-enterprise-actions-api/)
- [GitHub Enterprise Code Scanning API](https://apis.io/apis/github-enterprise/github-enterprise-code-scanning-api/)
- [GitHub Enterprise Admin API](https://apis.io/apis/github-enterprise/github-enterprise-enterprise-admin-api/)
- [GitHub Enterprise Issues API](https://apis.io/apis/github-enterprise/github-enterprise-issues-api/)
- [GitHub Enterprise SCIM API](https://apis.io/apis/github-enterprise/github-enterprise-scim-api/)
- [GitHub Enterprise Users API](https://apis.io/apis/github-enterprise/github-enterprise-users-api/)
- [GitHub Enterprise Activity API](https://apis.io/apis/github-enterprise/github-enterprise-activity-api/)
- [GitHub Enterprise Agent Automations API](https://apis.io/apis/github-enterprise/github-enterprise-agent-automations-api/)
- [GitHub Enterprise Agent Merge API](https://apis.io/apis/github-enterprise/github-enterprise-agent-merge-api/)
- [GitHub Enterprise Agent Tasks API](https://apis.io/apis/github-enterprise/github-enterprise-agent-tasks-api/)

## Tags

Copilot

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/github-enterprise/github-enterprise-copilot-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/github-enterprise/.
