---
title: "GetGithubRepoRequest returns info about a Github repo based on the caller's installations.
If the caller has not granted access to the repository, instructions for granting access are returned."
method: GET
path: "/v1/github/repositories"
---

# GetGithubRepoRequest returns info about a Github repo based on the caller's installations.
If the caller has not granted access to the repository, instructions for granting access are returned.

`GET /v1/github/repositories`

## Query parameters

- `remote` string

## Response `200`

A successful response.

- V1GetGithubRepoStatusResponse
  - `defaultBranch` string
  - `grantAccessUrl` string
  - `hasAccess` boolean

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/289a0ca9ce49/schema)
