get_copilot_seat_details_for_user
Get GitHub Copilot seat assignment details for an organization member: seat creation date, last activity, editor, and plan. Requires owner permissions.
Instructions
Get GitHub Copilot seat assignment details for a specific member of an organization.Returns the seat creation date, last Copilot activity timestamp, last editor used, last authentication timestamp, pending cancellation date (if applicable), the team or organization granting access, and the Copilot plan type. Only returns results for users who currently have an active Copilot seat. Users must have telemetry enabled in their IDE for activity data to be populated. Requires the authenticated user to be an organization owner. Requires a token with manage_billing:copilot or read:org scope. Returns 404 if the user does not have a Copilot seat in this organization, or if the organization does not have a Copilot subscription. Returns 403 if the token lacks sufficient scope or the user is not an org owner. Docs: https://docs.github.com/en/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | The organization login name (e.g. "my-company"). | |
| username | Yes | The GitHub username of the organization member to look up. |