---
title: "Change Edit"
method: PATCH
path: "/v1/agent/edits/{edit_id}"
tags: ["Agent API"]
---

# Change Edit

`PATCH /v1/agent/edits/{edit_id}`

## Request

- Base URL: `https://api.lyricpatch.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lyricpatch.com/v1/agent/edits/{edit_id}`
- Auth: none declared

## Path parameters

- `edit_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Request body

- EditPatchRequest
  - `corrected_lyrics` string, nullable
  - `target_lyrics` string, nullable
  - `phrase_breaks` integer[], nullable

## Response `200`

Successful Response

- EditResponse
  - `id` string, uuid, required
  - `project_id` string, uuid, required
  - `start_sample` integer, required
  - `end_sample` integer, required
  - `status` string, required
  - `original_lyrics` string, nullable, required
  - `corrected_lyrics` string, nullable, required
  - `target_lyrics` string, nullable, required
  - `phrase_breaks` integer[], required
  - `accepted_generation_id` string, uuid, nullable, required

## Other responses

- `422`: Validation Error

---

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