The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for Copilot
Use the REST API to monitor and manage GitHub Copilot.
- REST API endpoints for Copilot coding agent management
- Get Copilot coding agent permissions for an organization
- Set Copilot coding agent permissions for an organization
- List repositories enabled for Copilot coding agent in an organization
- Set selected repositories for Copilot coding agent in an organization
- Enable a repository for Copilot coding agent in an organization
- Disable a repository for Copilot coding agent in an organization
- REST API endpoints for Copilot content exclusion management
- REST API endpoints for Copilot metrics
- REST API endpoints for Copilot user management
- Get Copilot seat information and settings for an organization
- List all Copilot seat assignments for an organization
- Add teams to the Copilot subscription for an organization
- Remove teams from the Copilot subscription for an organization
- Add users to the Copilot subscription for an organization
- Remove users from the Copilot subscription for an organization
- Get Copilot seat assignment details for a user