---
title: "Patch Transcript Segment"
method: PATCH
path: "/v1/projects/{project_id}/transcript/segments/{segment_id}"
---

# Patch Transcript Segment

`PATCH /v1/projects/{project_id}/transcript/segments/{segment_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/projects/{project_id}/transcript/segments/{segment_id}`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, uuid, required
- `segment_id` string, uuid, required

## Headers

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

## Request body

- TranscriptSegmentPatchRequest
  - `text` string, required

## Response `200`

Successful Response

- TranscriptSegmentResponse
  - `id` string, uuid, required
  - `index` integer, required
  - `start_ms` integer, required
  - `end_ms` integer, required
  - `start_sample` integer, required
  - `end_sample` integer, required
  - `text` string, required
  - `words` TranscriptWordResponse[]
    - `start_ms` integer, required
    - `end_ms` integer, required
    - `start_sample` integer, required
    - `end_sample` integer, required
    - `text` string, required
    - `probability` number, nullable

## 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)
