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 cloud agent repository management, 1 of 5
- REST API endpoints for Copilot cloud agent management, 2 of 5
- Set the coding agent policy for an enterprise, 1 of 9
- Add organizations to the enterprise coding agent policy, 2 of 9
- Remove organizations from the enterprise coding agent policy, 3 of 9
- Get Copilot cloud agent permissions for an organization, 4 of 9
- Set Copilot cloud agent permissions for an organization, 5 of 9
- List repositories enabled for Copilot cloud agent in an organization, 6 of 9
- Set selected repositories for Copilot cloud agent in an organization, 7 of 9
- Enable a repository for Copilot cloud agent in an organization, 8 of 9
- Disable a repository for Copilot cloud agent in an organization, 9 of 9
- REST API endpoints for Copilot content exclusion management, 3 of 5
- REST API endpoints for Copilot usage metrics, 4 of 5
- Get Copilot enterprise usage metrics for a specific day, 1 of 10
- Get Copilot enterprise usage metrics, 2 of 10
- Get Copilot enterprise user-teams report for a specific day, 3 of 10
- Get Copilot users usage metrics for a specific day, 4 of 10
- Get Copilot users usage metrics, 5 of 10
- Get Copilot organization usage metrics for a specific day, 6 of 10
- Get Copilot organization usage metrics, 7 of 10
- Get Copilot organization user-teams report for a specific day, 8 of 10
- Get Copilot organization users usage metrics for a specific day, 9 of 10
- Get Copilot organization users usage metrics, 10 of 10
- REST API endpoints for Copilot user management, 5 of 5
- Get Copilot seat information and settings for an organization, 1 of 7
- List all Copilot seat assignments for an organization, 2 of 7
- Add teams to the Copilot subscription for an organization, 3 of 7
- Remove teams from the Copilot subscription for an organization, 4 of 7
- Add users to the Copilot subscription for an organization, 5 of 7
- Remove users from the Copilot subscription for an organization, 6 of 7
- Get Copilot seat assignment details for a user, 7 of 7