---
title: "Retrigger Files"
method: POST
path: "/internal/files/retrigger"
tags: ["internal"]
---

# Retrigger Files

`POST /internal/files/retrigger`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/internal/files/retrigger`
- Auth: none declared

Re-trigger processing and/or embedding workflows for selected files.

If the file is already past processing (status == IN_USE), only the
SemanticallyIndexFile workflow is triggered.  Otherwise the full
ProcessFile workflow is triggered (which chains into indexing on success).

## Request body

- RetriggerRequest
  - `upload_ids` string[], required

## Response `200`

Successful Response

- RetriggerResponse
  - `items` RetriggerResultItem[], required
    - `upload_id` string, uuid, required
    - `triggered` 'process_and_index' | 'index_only' | 'skipped', required
    - `reason` string, nullable, required

## Other responses

- `422`: Validation Error

---

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