---
title: "List Github Repositories"
method: GET
path: "/v1/integrations/github/repos"
tags: ["v1"]
---

# List Github Repositories

`GET /v1/integrations/github/repos`

## Request

- Base URL: `https://api.ellipsis.dev`
- URL: `https://api.ellipsis.dev/v1/integrations/github/repos`
- Auth: HTTP bearer

List GitHub repositories connected to the installation.

## Headers

- `user-agent` string, nullable

## Response `200`

Successful Response

- GithubRepositoriesListResponse: The repositories connected to the account's GitHub installation.
  - `backfill_complete` boolean
  - `backfill_statuses` RepositoryBackfillStatus[]
    - `backfill_complete` boolean, required
    - `repository_id` integer, required
  - `repositories` GithubRepository[], required: The connected repositories.
    - `default_branch` string, nullable: The repository's default branch.
    - `description` string, nullable: The repository's description on GitHub.
    - `full_name` string, required: The repository's full "owner/name" identifier.
    - `html_url` string, required
    - `id` integer, required: The repository's GitHub id.
    - `name` string, required: The repository name, without the owner.
    - `owner` GithubAccountSnippet, required: Sometimes the GitHub API returns a user of github (can include bots) using this snippet instead of the full GithubAccount model. One example, is when the API returns a pull request. This is the least amount of info we need to represent a GitHub account.
      - `avatar_url` string, required
      - `id` integer, required
      - `login` string, required
      - `name` string, nullable, required
      - `type` 'User' | 'Organization' | 'Bot' | 'Mannequin', required
    - `private` boolean, required: Whether the repository is private.

## Other responses

- `401`: The bearer token is missing, invalid, or revoked.
- `403`: The credential may not perform this action, or the account is blocked.
- `422`: Validation Error

---

[API](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api.md) - [All operations](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api/revisions/344b16df9a1a?raw)
