---
title: "Mcp Set Duplicate Status"
method: PUT
path: "/v1/mcp/projects/{project_id}/source-duplicates/status"
tags: ["mcp"]
---

# Mcp Set Duplicate Status

`PUT /v1/mcp/projects/{project_id}/source-duplicates/status`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/mcp/projects/{project_id}/source-duplicates/status`
- Auth: none declared

Mark a duplicate group to_fix|allowed|resolved (task 1114). The repair
agent sets `resolved` after fixing the dev's code for an immediate clear.

## Path parameters

- `project_id` string, required

## Request body

- DuplicateStatusIn
  - `source_value` string, required
  - `status` string, required
  - `note` string, nullable
  - `files_modified` FileModified[], nullable
    - `path` string, required
    - `line` integer, nullable
    - `found_key` string, nullable
    - `replacement_key` string, nullable
    - `occurrences` integer, nullable
    - `key_name` string, nullable

## Response `200`

Successful Response

- DuplicateStatusOut
  - `source_value` string, required
  - `status` string, required
  - `note` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
