---
title: "Replace a legacy review with a validated structured document"
method: POST
path: "/api/review/migrate"
tags: ["reviews"]
---

# Replace a legacy review with a validated structured document

`POST /api/review/migrate`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- MigrateReviewInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `document` unknown, required
  - `review_id` integer, required

## Response `200`

OK

- MigrateReviewOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `success` boolean, required

## Other responses

- `default`: Error

## Changes

- **2026-09-22** `04e4cb796661`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/review/migrate/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) - [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/roborev/revisions/5803a85073e3?raw)
