---
title: "Re-run indexing for a repo"
method: POST
path: "/v1/repos/{id}/reindex"
tags: ["dashboard"]
---

# Re-run indexing for a repo

`POST /v1/repos/{id}/reindex`

## Request

- Base URL: `https://api.tently.dev`
- URL: `https://api.tently.dev/v1/repos/{id}/reindex`
- Auth: none declared

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `prMiningLimit` integer
  - `acceptExtraRepo` boolean
  - `enable` boolean
  - `reviewTriggerMode` 'on_open' | 'on_open_and_commit' | 'manual'

## Response `202`

Default Response

- object
  - `ok` boolean, required

## Other responses

- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `409`: 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)
