---
title: "Recomputes the processing step for all SourceDocuments in the Project"
method: POST
path: "/docprocessing/project/{proj_id}/recompute"
tags: ["docprocessing"]
---

# Recomputes the processing step for all SourceDocuments in the Project

`POST /docprocessing/project/{proj_id}/recompute`

## Path parameters

- `proj_id` integer, required

## Query parameters

- `processing_step` string, required

## Request body

- BodyDocprocessingRecomputeProcessingStep
  - `sdoc_ids` integer[], required
  - `settings` ProcessingSettings, required
    - `extract_images` boolean, required — Whether to extract images from the documents
    - `pages_per_chunk` integer, required — Number of pages to chunk the documents into
    - `keyword_number` integer, required — Number of keywords to extract
    - `keyword_deduplication_threshold` number, required — Threshold for keyword deduplication (0.0 - 1.0)
    - `keyword_max_ngram_size` integer, required — Maximum n-gram size for keyword extraction
    - `language` 'auto' | 'de' | 'en' | 'it', required
    - `model` string, required — Large Language Model to use for processing

## Response `200`

Successful Response

- integer

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-15** `1af5a8046f20` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-06-30** `ea28bda836c5` — 1 breaking
  - added the new required request property `settings/model`
- **2025-11-24** `1c3612fc9873` — 1 info
  - endpoint added
- **2025-08-22** `53e769440a25` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/docprocessing/project/:proj_id/recompute/post.md)

---

[API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/revisions/a84d27ef7a0d/schema)
