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

# Retrigger Files

`POST /internal/files/retrigger`

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/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/425d5b8a3c17/schema)
