---
title: "Bring an installation’s repos in (off) and suggest how to start"
method: POST
path: "/v1/onboarding/installations/{installationId}/sync"
tags: ["dashboard"]
---

# Bring an installation’s repos in (off) and suggest how to start

`POST /v1/onboarding/installations/{installationId}/sync`

## Request

- Base URL: `https://api.tently.dev`
- URL: `https://api.tently.dev/v1/onboarding/installations/{installationId}/sync`
- Auth: none declared

## Path parameters

- `installationId` integer, required

## Request body

- object
  - `state` string

## Response `200`

Default Response

- object
  - `installationId` integer, required
  - `repos` object[], required
    - `id` string, uuid, required
    - `fullName` string, required
    - `enabled` boolean, required
    - `isNew` boolean, required
    - `reviewTriggerMode` 'on_open' | 'on_open_and_commit' | 'manual', required
    - `indexStatus` 'PENDING' | 'INDEXING' | 'READY' | 'FAILED' | 'DISCONNECTED', nullable, required
  - `inaccessible` integer, required
  - `claimedElsewhere` integer
  - `slots` object, nullable, required
    - `used` integer, required
    - `base` integer, nullable, required
    - `limit` integer, nullable, required
    - `extraRepoPriceUsd` number, nullable, required
    - `state` 'ok' | 'reached' | 'over', required
  - `newRepoEnabled` boolean, required
  - `suggestion` object, required
    - `reviewTriggerMode` 'on_open' | 'on_open_and_commit' | 'manual', required

## Other responses

- `401`: Default Response
- `403`: Default Response
- `502`: Default Response
- `503`: Default Response

---

[API](https://skmtc.dev/tently/apis/tently-api.md) · [All operations](https://skmtc.dev/tently/apis/tently-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tently/apis/tently-api/revisions/a52697fea1ba?raw)
