---
title: "Start a build of the index now"
method: POST
path: "/v1/contract-desk/rebuild"
tags: ["Contract Desk"]
---

# Start a build of the index now

`POST /v1/contract-desk/rebuild`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/contract-desk/rebuild`
- Auth: HTTP bearer

Starts a build in the background and answers at once; `GET /v1/contract-desk/status` shows it running and its outcome. One build runs per workspace at a time: while one runs (the status shows `building`, started less than the configured stale-build window ago) the request starts no second one and answers `started: false`. A build marked running for longer was cut off, and a new one starts. Within the configured cooldown after a build's start (`rebuild_min_seconds`, 60 by default) it answers `started: false` too, unless a decision or a Setup save asked for a build since. Requires scope `write` and a person with the `run` permission.

## Response `201`

The request was taken; `started` says whether it started a build.

- object
  - `started` boolean: true when this request started a build; false while another build runs or within the cooldown after the last start.

## Other responses

- `400`: The request is invalid.
- `403`: The key lacks the `write` scope or the `run` permission, or its person may not see every document the index names.
- `404`: The workspace has not added the app, or is not in the pilot.
- `409`: The app is switched off in this workspace.

## Changes

- **2026-11-19** `27b968c6df42`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/contract-desk/rebuild/post.md)

---

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