---
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

## Response `200`

Successful Response

- integer

## Other responses

- `422` — Validation Error

## Changes

- **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/bf20656dfc4d/schema)
