---
title: "List connectable GitHub repositories"
method: GET
path: "/v1/github/repositories"
tags: ["Repositories"]
---

# List connectable GitHub repositories

`GET /v1/github/repositories`

## Request

- Base URL: `https://api.replicas.dev`
- URL: `https://api.replicas.dev/v1/github/repositories`
- Auth: HTTP bearer

Lists repositories the organization's GitHub App installations can reach, with the IDs Add repository needs.

## Headers

- `X-Replicas-Api-Version` '2026-10-07'

## Response `200`

Success

- object
  - `repositories` GitHubRepository[]
    - `id` integer: Use as `github_repository_id`
    - `installation_id` integer: Use as `github_installation_id`
    - `name` string
    - `full_name` string
    - `clone_url` string, uri
    - `default_branch` string
    - `owner_login` string
  - `has_installations` boolean
  - `install_url` string, uri: Where to install the GitHub App when there are no installations

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error

---

[API](https://skmtc.dev/replicas/apis/replicas-api.md) - [All operations](https://skmtc.dev/replicas/apis/replicas-api/llms.txt) - [OpenAPI document](https://skmtc.dev/replicas/apis/replicas-api/revisions/2703ac1c9cb7?raw)
