ghtier
← All permissions
Repository permission·codespaces_metadata:read

Codespaces metadata: Read

Tier 3 · Low

Why Tier 3

Reads dev container and machine type options.

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

Target
Repository
Plane
DataCodespaces: Creating and running cloud development environments.
Granted by
Fine-grained PAT, GitHub App
Available on
Free, Team, Enterprise Cloud, EMU

What it unlocks

3 REST endpoints need this permission. A few of them:

  • GET /repos/{owner}/{repo}/codespaces/devcontainers
  • GET /repos/{owner}/{repo}/codespaces/machines
  • GET /user/codespaces/{codespace_name}/machines

Roles that include it

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

Classic scopes that reach it

Attack paths

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

GitHub Docs: Repository permissions for "Codespaces metadata"