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

# Recomputes the processing step for all SourceDocuments in the Project

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

## Request

- The document declares no server URL.
- Auth: OAuth 2
  - Password
  - Token URL: `/authentication/login`

## Path parameters

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

---

[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.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/revisions/e498207e29f4?raw)
