---
title: "Re-read the installation's repositories from the App"
method: POST
path: "/api/github/installations/{installation_id}/refresh"
tags: ["github"]
---

# Re-read the installation's repositories from the App

`POST /api/github/installations/{installation_id}/refresh`

## Request

- Base URL: `https://app.nerdit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.nerdit.ai/api/github/installations/{installation_id}/refresh`
- Auth: none declared

Replace the mirror with what GitHub reports now.

A removed installation is not re-read: GitHub would 404 it, and the
answer is already known. An installation GitHub no longer knows is
marked removed here, so the page stops offering the button.

## Path parameters

- `installation_id` integer, required

## Response `200`

Successful Response

- GitHubInstallationReposView
  - `installation_id` integer, required
  - `removed` boolean, required
  - `repos` GitHubRepoView[], required
    - `repo_id` integer, required
    - `full_name` string, required
    - `private` boolean, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Validation Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/nerdit/apis/nerdit-cloud-web.md) · [All operations](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/llms.txt) · [OpenAPI document](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/revisions/06e3b44b58be?raw)
