AgentConnect
GitHub

My access to a repository

The caller's own effective GitHub permission on the repository (identity assertion via the sign-in identity — no user OAuth). The console uses it to gate the Allow-push toggle and surface no-access repos before create.

GET
/v1/orgs/{orgId}/github/installations/{id}/repositories/{owner}/{repo}/access

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
id*string
owner*string
repo*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/github/installations/string/repositories/string/string/access"
{  "permission": "admin",  "canRead": true,  "canWrite": true,  "identityRequired": true}