ghtier
← All permissions
Organization permission·organization_copilot_metrics:read

Organization Copilot metrics: Read

Tier 3 · Low

Why Tier 3

Reads Copilot usage metrics.

Data plane permissions start at Tier 2. This one is lowered for the reason above.

Target
Organization
Plane
DataInsights and billing: Metrics, events, usage, billing and licensing.
Granted by
Fine-grained PAT, GitHub App
Available on
Free, Team, Enterprise Cloud, EMU

What it unlocks

6 REST endpoints need this permission, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.

  • GET /orgs/{org}/copilot/metrics/reports/organization-1-day
  • GET /orgs/{org}/copilot/metrics/reports/organization-28-day/latest
  • GET /orgs/{org}/copilot/metrics/reports/repos-1-day
  • GET /orgs/{org}/copilot/metrics/reports/user-teams-1-day
  • GET /orgs/{org}/copilot/metrics/reports/users-1-day
  • GET /orgs/{org}/copilot/metrics/reports/users-28-day/latest

Roles that include it

No built-in role includes it. Only tokens, Apps or custom roles can grant it.

Custom role permissions that add it

An owner can build a custom role from these on Enterprise Cloud. Nobody holds one until a custom role with it is assigned.

  • View organization Copilot metricsread_organization_copilot_metricsorganization role

Classic scopes that reach it

Attack paths

No attack technique, escalation or incident on ghtier goes through this yet.

GitHub Docs: Organization permissions for "Organization Copilot metrics"