GitHub Copilot Content Exclusion REST API enters public preview with org and enterprise support
New Content Exclusion REST API
GitHub has announced the public preview availability of the Copilot Content Exclusion REST API, giving administrators programmatic control over which content Copilot can access and learn from. This addresses governance and compliance needs for organizations and enterprises managing AI tool deployment at scale.
Key Features
The new API provides:
- GET operations: Retrieve current content exclusion rules at organization and enterprise levels
- SET operations: Create and modify exclusion policies programmatically
- JSON format: Standard REST API structure for easy integration into automation workflows
- Multi-level governance: Configure rules at both org and enterprise scopes
What Developers Need to Know
This API enables administrators to:
- Automate content exclusion policy management across their organizations
- Implement governance frameworks that prevent sensitive codebases from being used in Copilot training
- Manage exclusions at scale without manual configuration through the web interface
- Support compliance requirements by programmatically enforcing content restrictions
The API documentation and detailed information about content exclusion concepts are available in GitHub's official documentation, and administrators can participate in discussions within the GitHub Community forum.