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 metrics
- Get Copilot metrics for an enterprise
- Get Copilot enterprise usage metrics for a specific day
- Get Copilot enterprise usage metrics
- Get Copilot users usage metrics for a specific day
- Get Copilot users usage metrics
- Get Copilot metrics for an enterprise team
- Get Copilot metrics for an organization
- Get Copilot metrics for a team
- REST API endpoints for Copilot user management
- List all Copilot seat assignments for an enterprise
- Add enterprise teams to the Copilot subscription for an enterprise
- Remove enterprise teams from the Copilot subscription for an enterprise
- Add users to the Copilot subscription for an enterprise
- Remove users from the Copilot subscription for an enterprise
- Get Copilot seat assignment details for an enterprise user
- 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