---
title: "Sync Repositories"
method: POST
path: "/v1/repos/sync"
---

# Sync Repositories

`POST /v1/repos/sync`

## Request

- Base URL: `https://api.graphify.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.graphify.com/v1/repos/sync`
- Auth: HTTP bearer

The dashboard's Sync: the current repository list, plus a GitHub re-read.

Returns exactly what GET /repos returns (under `repositories`), and -- at most once
per install per minute -- starts a background re-read of the tenant's GitHub
installs so repos created or granted on GitHub since the last read show up. The
re-read is additive (new repos land disabled; nothing is ever disabled), so any
member who can list repositories may trigger it. `githubSync.started` tells the
client whether to re-poll shortly; `retryAfterSeconds` when throttled.

## Headers

- `X-Graphify-Tenant-ID` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graphify/apis/graphify-control-plane.md) · [All operations](https://skmtc.dev/graphify/apis/graphify-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/graphify/apis/graphify-control-plane/revisions/0e75c82b5ea8?raw)
