---
title: "Refresh a repository connection."
method: POST
path: "/v1/repositories/{id}/refresh"
tags: ["Repository", "Repository-Lifecycle"]
deprecated: true
---

# Refresh a repository connection.

`POST /v1/repositories/{id}/refresh`

> **Deprecated.**

Refresh a repository connection by inspecting the latest version including repo's technical stack and developer environment requirements.

## Path parameters

- `id` string, required

## Request body

- RepositoryRefreshParameters
  - `github_auth_token` string, nullable — GitHub authentication token for accessing private repositories.
  - `blueprint_id` string, nullable — ID of blueprint to use as base for resulting RepositoryVersion blueprint.

## Response `200`

OK

- EmptyRecord

## Changes

- **2025-10-06** `d1cc15eb5ef9` — 1 info
  - endpoint deprecated

[Change history](https://skmtc.dev/runloopai/apis/runloop-api/changes/v1/repositories/:id/refresh/post.md)

---

[API](https://skmtc.dev/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.dev/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runloopai/runloop-api/revisions/63dab7833d66/schema)
