---
title: "Check server access to a GitHub repository"
method: GET
path: "/api/v1/repos/github/{owner}/{name}"
tags: ["Repos"]
---

# Check server access to a GitHub repository

`GET /api/v1/repos/github/{owner}/{name}`

## Path parameters

- `owner` string, required
- `name` string, required

## Response `200`

Repository access details

- RepoCheckResponse — Repository access check result.
  - `owner` string, required — GitHub repository owner.
  - `name` string, required — GitHub repository name.
  - `accessible` boolean, required — Whether the server has read-write access to this repository.
  - `default_branch` string, nullable — Default branch name, if accessible.
  - `private` boolean, nullable — Whether the repository is private, if accessible.
  - `permissions` object, nullable — Detected permission levels.
    - `pull` boolean
    - `push` boolean
    - `admin` boolean
  - `install_url` string, nullable — GitHub App installation URL when the repo is not yet accessible.

---

[API](https://skmtc.net/fabro-sh/apis/fabro-run-api.md) · [All operations](https://skmtc.net/fabro-sh/apis/fabro-run-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fabro-sh/fabro-run-api/versions/bee030053823/schema)
