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 Content Exclusion API

Manage content exclusion path rules for organizations

GitHub Copilot Copilot Content Exclusion 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 Content Exclusion. 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 1 path, and defines 2 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 1 paths 2 schemas 1 GET1 PUT

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 Content Exclusion 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 1 path, the API surfaces 2 operations — 1 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Copilot Content Exclusion 2

Manage content exclusion path rules for organizations

GET
/orgs/{org}/copilot/content_exclusion
Github Copilot Get Copilot Content Exclusion Rules for an Organization
getCopilotContentExclusionRules 1 param → 200401403404500
PUT
/orgs/{org}/copilot/content_exclusion
Github Copilot Set Copilot Content Exclusion Rules for an Organization
setCopilotContentExclusionRules 1 param body → 200401403404413422500

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed is Error (2 properties). Each schema is shown below with its type and property counts.

Error
object
2 properties 1 required
ContentExclusionRules
object
Content exclusion rules mapping repository names to arrays of file path patterns that Copilot is prevented from accessing.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-copilot-copilot-content-exclusion-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 Metrics 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 Content Exclusion 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.