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 6
- REST API endpoints for Copilot cloud agent management, 2 of 6
- 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 6
- REST API endpoints for Copilot custom agents, 4 of 6
- REST API endpoints for Copilot usage metrics, 5 of 6
- Get Copilot enterprise usage metrics for a specific day, 1 of 11
- Get Copilot enterprise usage metrics, 2 of 11
- Get Copilot enterprise user-teams report for a specific day, 3 of 11
- Get Copilot users usage metrics for a specific day, 4 of 11
- Get Copilot users usage metrics, 5 of 11
- Get Copilot usage records for an enterprise, 6 of 11
- Get Copilot organization usage metrics for a specific day, 7 of 11
- Get Copilot organization usage metrics, 8 of 11
- Get Copilot organization user-teams report for a specific day, 9 of 11
- Get Copilot organization users usage metrics for a specific day, 10 of 11
- Get Copilot organization users usage metrics, 11 of 11
- REST API endpoints for Copilot user management, 6 of 6
- List all Copilot seat assignments for an enterprise, 1 of 13
- Add enterprise teams to the Copilot subscription for an enterprise, 2 of 13
- Remove enterprise teams from the Copilot subscription for an enterprise, 3 of 13
- Add users to the Copilot subscription for an enterprise, 4 of 13
- Remove users from the Copilot subscription for an enterprise, 5 of 13
- Get Copilot seat assignment details for an enterprise user, 6 of 13
- Get Copilot seat information and settings for an organization, 7 of 13
- List all Copilot seat assignments for an organization, 8 of 13
- Add teams to the Copilot subscription for an organization, 9 of 13
- Remove teams from the Copilot subscription for an organization, 10 of 13
- Add users to the Copilot subscription for an organization, 11 of 13
- Remove users from the Copilot subscription for an organization, 12 of 13
- Get Copilot seat assignment details for a user, 13 of 13