---
title: "The endpoint receives IDs of wrongly and correctly tagged document recommendations and sets `is_accepted` to `true` or `false`, while setting the corresponding document tags if `true`."
method: PATCH
path: "/tagrecommendation/review_recommendations"
tags: ["TagRecommendation"]
---

# The endpoint receives IDs of wrongly and correctly tagged document recommendations and sets \`is_accepted\` to \`true\` or \`false\`, while setting the corresponding document tags if \`true\`.

`PATCH /tagrecommendation/review_recommendations`

## Request body

- integer[]

## Response `200`

Successful Response

- TagRecommendationLinkRead[]
  - `ml_job_id` string, required — Identifier of the corresponding ML Job.
  - `source_document_id` integer, required — ID of the source document
  - `predicted_tag_id` integer, required — ID of the predicted tag
  - `prediction_score` number, required — Prediction score of the tag
  - `is_reviewed` boolean — Reviewed status of the recommendation

## 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
- **2025-08-22** `53e769440a25` — 2 warning
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status

[Change history](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/tagrecommendation/review_recommendations/patch.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)
