---
title: "Mark the user's decision on an edit — records which baseline they reviewed"
method: POST
path: "/context-documents/tree/{tree_id}/edits/{edit_id}/resolve"
tags: ["Context Documents"]
---

# Mark the user's decision on an edit — records which baseline they reviewed

`POST /context-documents/tree/{tree_id}/edits/{edit_id}/resolve`

Stamp `reviewed_baseline` on the edit with the current tree's
baseline for this edit's path.

Called by the UI after Keep-mine and careful-merge save, so the row
disappears from "needs review" until the next regen produces a
different baseline. Auto-merge handles this in its own handler.

## Path parameters

- `tree_id` string, required
- `edit_id` integer, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

> 37 revisions in range; 1 not diffed.

- **2026-05-13** `0583e3fa4b98` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hyperspell/apis/hyperspell-api/changes/context-documents/tree/:tree_id/edits/:edit_id/resolve/post.md)

---

[API](https://skmtc.dev/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.dev/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/revisions/5721acd588e6/schema)
