GitHub launches Copilot Content Exclusion REST API in public preview for enterprise governance
New REST API for Copilot Content Exclusion
GitHub has released a new Content Exclusion REST API for managing Copilot content exclusion rules. This JSON-based API is now available in public preview, giving organization and enterprise administrators programmatic control over which repositories and files Copilot can access.
Key Capabilities
The API supports both GET and SET operations, allowing administrators to:
- Retrieve current content exclusion rules at the organization or enterprise level
- Programmatically update and manage exclusion policies
- Automate governance workflows at scale
- Enforce compliance requirements across teams and projects
Who Should Use This
This API is designed for:
- Organization administrators managing Copilot access across teams
- Enterprise administrators enforcing governance policies
- DevOps teams automating compliance and security workflows
- System integrators building custom management tools
Getting Started
Administrators can review the complete API documentation and learn more about content exclusion concepts. The GitHub Community is also discussing this feature for feedback and questions.
Since this API is in public preview, GitHub welcomes community feedback before it reaches general availability.