← Back
GitHub
GitHub launches REST APIs for Copilot coding agent repository access management
GitHub CopilotGitHub · apifeatureplatform · github.blog ↗

New REST APIs for Copilot Coding Agent Management

GitHub has released new REST APIs for managing Copilot coding agent access at scale, now available in public preview. These APIs allow organization owners to programmatically control repository-level access to the Copilot coding agent without manual intervention through the UI.

Key Capabilities

The new management APIs enable organizations to:

  • Set access scope: Configure whether the Copilot coding agent is available for no repositories, all repositories, or only selected repositories within the organization
  • Manage allowed repositories: Add or remove specific repositories from the allowed list when using the "selected repositories" configuration
  • Programmatic control: Automate access management as part of larger infrastructure or governance workflows

Implementation Details

The APIs are available as part of the GitHub REST API (2026-03-10 version) and provide a programmatic alternative to managing these settings through the organization's Copilot settings UI (navigable via Settings > Copilot > Coding agent).

For detailed API documentation and implementation guidance, refer to the GitHub REST API documentation and the access management guide.