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

# Update GitHub repositories for store ingestion

`PUT /v1/integrations/github/repositories`

Replace the repositories (and resource types) selected for ingestion into the installation's store.

## Request body

- GitHubRepositorySelectionUpdateParams — Parameters for selecting GitHub repositories for store ingestion.
  - `installation_id` string, uuid, required — Mixedbread installation ID
  - `repository_ids` string[], required — GitHub repository IDs to ingest into the store
  - `resource_types` string[], nullable — Resource types to import from every selected repository; omit to keep the current choice (all types for a new selection)

## Response `200`

Updated GitHub repository selection

- GitHubRepositorySelectionUpdateResponse — GitHub repository selection update response.
  - `data` GitHubRepositorySelectionUpdate, required — Result of updating the GitHub repository selection.
    - `store_id` string, required — Mixedbread store ID
    - `selected_repository_ids` string[], required — Selected GitHub repository IDs
    - `backfill_repository_ids` string[], required — Repositories queued for backfill ingestion
    - `skipped_repositories` object, required — Repository IDs skipped with a reason
    - `resource_types` string[], required — Resource types imported

## 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/put.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)
