---
title: "List GitHub repositories for store ingestion"
method: GET
path: "/v1/integrations/github/repositories"
tags: ["integrations"]
---

# List GitHub repositories for store ingestion

`GET /v1/integrations/github/repositories`

List the repositories the installation can see and whether each is selected for store ingestion.

## Query parameters

- `installation_id` string, uuid, required — Mixedbread installation ID

## Response `200`

GitHub repository selection for an installation

- GitHubRepositorySelectionResponse — GitHub repository selection response.
  - `data` GitHubRepositorySelection, required — Repository selection for a GitHub App installation.
    - `is_installed` boolean, required — Whether the GitHub App is installed for the organization
    - `installation_id` string, nullable — Mixedbread installation ID
    - `github_installation_id` string, nullable — GitHub App installation ID
    - `account_login` string, nullable — GitHub account the app is installed on
    - `account_type` string, nullable — Whether the app is installed on an `Organization` or a `User`
    - `repository_selection` string, nullable — `all` when the app may see every repository of the account, else `selected`
    - `store_id` string, nullable — Mixedbread store ID
    - `store_name` string, nullable — Mixedbread store name
    - `repositories` GitHubRepository[], required — Repositories the installation can see
      - `id` string, required — GitHub repository ID
      - `full_name` string, required — Repository name with owner, e.g. `octocat/hello-world`
      - `name` string, required — Repository name
      - `owner` string, required — Login of the repository owner
      - `private` boolean — Whether the repository is private
      - `archived` boolean — Whether the repository is archived
      - `default_branch` string, nullable, required — Default branch, the branch files are imported from
      - `url` string, nullable — Repository page on GitHub
      - `description` string, nullable — Repository description
      - `language` string, nullable — Primary language reported by GitHub
      - `pushed_at` string, date-time, nullable — When the repository was last pushed to
      - `is_selected` boolean — Whether this repository is selected for store ingestion
      - `sync_status` 'syncing' | 'not_syncing' | 'error' — Current GitHub ingestion status
      - `last_synced_at` string, date-time, nullable — Last successful GitHub sync time
      - `sync_error` string, nullable — Last GitHub sync error
      - `last_sync_status` 'queued' | 'in_progress' | 'completed' | 'skipped' | 'error', nullable — Most recent GitHub backfill status
      - `last_sync_started_at` string, date-time, nullable — Most recent GitHub backfill start time
      - `last_sync_completed_at` string, date-time, nullable — Most recent GitHub backfill completion time
      - `last_sync_file_count` integer, nullable — Repository files imported in the most recent backfill
      - `last_sync_issue_count` integer, nullable — Issues imported in the most recent backfill
      - `last_sync_pull_request_count` integer, nullable — Pull requests imported in the most recent backfill
      - `last_sync_failed_count` integer — Items that failed during the most recent GitHub backfill
      - `last_sync_run_id` string, nullable — Most recent GitHub backfill run ID
      - `syncs_in_progress` integer — Number of active GitHub backfills for this repository
    - `selected_repository_ids` string[] — Every repository ID selected for ingestion
    - `resource_types` string[] — Which resource types are imported from the selected repositories

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `9c6c72afde2d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mixedbread/apis/mxbai-omni/changes/v1/integrations/github/repositories/get.md)

---

[API](https://skmtc.dev/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.dev/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc.dev/mixedbread/apis/mxbai-omni/revisions/9c6c72afde2d?raw)
