---
title: "Create Edit"
method: POST
path: "/v1/projects/{project_id}/edits"
---

# Create Edit

`POST /v1/projects/{project_id}/edits`

## 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/projects/{project_id}/edits`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, uuid, required

## Headers

- `x-dev-user-id` string, nullable
- `x-dev-email` string, nullable

## Request body

- EditCreateRequest
  - `start_sample` integer, required
  - `end_sample` integer, required

## Response `201`

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)
