> ## Documentation Index
> Fetch the complete documentation index at: https://www.tella.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Correct a voiceover segment's captions

> Corrects the captions of a voiceover segment, an uploaded narration or an AI line, as the editor's Subtitles panel does, one or more words at a time (at most 100 per request). Each edit addresses a word by its index in the segment's source transcript (`GET /v1/sources/{sourceId}/transcript`) and sets one of `text`, `hidden`, `breakAfter` or `keepWithNext`, as for a clip's transcript words. It never changes the audio, nor an AI line's text: reading the line again (`regenerate`) drops these corrections. The batch is applied atomically.



## OpenAPI

````yaml /openapi.json patch /v1/videos/{id}/voiceover/segments/{segmentId}/words
openapi: 3.0.3
info:
  description: >-
    The Tella Public API allows you to programmatically access your videos and
    playlists, including transcripts, chapters, and thumbnails.


    ## Authentication


    All requests require a Bearer token in the Authorization header:

    ```

    Authorization: Bearer tella_pk_xxxxx...

    ```


    API keys can be generated in your Tella workspace settings.


    ## Rate Limiting


    The API is rate-limited to 200 requests per minute per user within a
    workspace.

    Rate limit information is returned in response headers:

    - `RateLimit-Policy`: Named quota, request limit, and window in seconds

    - `RateLimit`: Remaining quota and seconds until reset

    - `X-RateLimit-Limit`: Maximum requests per window

    - `X-RateLimit-Remaining`: Remaining requests in current window

    - `X-RateLimit-Reset`: Unix timestamp in milliseconds when the window resets


    A `429 Too Many Requests` response also includes `Retry-After` in seconds.
  title: Tella Public API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.tella.com
security: []
tags:
  - description: Video operations
    name: Videos
  - description: Sections of a video
    name: Clips
  - description: Playlist operations
    name: Playlists
  - description: Sidebar groups for organizing playlists
    name: Playlist Groups
  - description: Tags for categorizing and filtering videos
    name: Tags
  - description: 'Tella''s editor agent, working in a video: start a chat and follow it'
    name: Agent chats
  - description: >-
      Viewing analytics for a video, a playlist or across the workspace: plays,
      watch time, retention, geography, referrers, and who watched
    name: Analytics
  - description: >-
      The signed-in user, their workspace, its plan and agent credits, and their
      defaults for new videos
    name: Account
  - description: >-
      The signed-in user's transcription language and dictionaries: their own
      and the workspace's
    name: Transcription settings
  - description: >-
      The people in the workspace and its pending invitations, as Settings,
      Members shows them
    name: Workspace members
  - description: Personal, workspace, and default video backgrounds
    name: Backgrounds
  - description: >-
      Reusable media saved to a workspace, plus Tella's curated sound effect and
      background music catalogs — the same items the editor's media panels show
    name: Library
  - description: >-
      Motion graphics documents a video plays live as a Tella Motion clip,
      overlay or b-roll, edited with the editor's own commands
    name: Tella Motion
  - description: >-
      AI voiceover lines and uploaded narrations laid over a video's footage,
      and the ElevenLabs voices lines are read in. Times are ms of the finished
      video; each AI line uses AI credits
    name: Voiceovers
  - description: >-
      Screen walkthroughs an agent films of a web page with no one recording.
      Takes are started and read over the MCP server
    name: Auto Capture
  - description: Webhook endpoint management
    name: Webhooks
externalDocs:
  description: API versioning and deprecation policy
  url: https://www.tella.com/docs/versioning
paths:
  /v1/videos/{id}/voiceover/segments/{segmentId}/words:
    patch:
      tags:
        - Voiceovers
      summary: Correct a voiceover segment's captions
      description: >-
        Corrects the captions of a voiceover segment, an uploaded narration or
        an AI line, as the editor's Subtitles panel does, one or more words at a
        time (at most 100 per request). Each edit addresses a word by its index
        in the segment's source transcript (`GET
        /v1/sources/{sourceId}/transcript`) and sets one of `text`, `hidden`,
        `breakAfter` or `keepWithNext`, as for a clip's transcript words. It
        never changes the audio, nor an AI line's text: reading the line again
        (`regenerate`) drops these corrections. The batch is applied atomically.
      operationId: updateVoiceoverWords
      parameters:
        - description: Video ID
          in: path
          name: id
          required: true
          schema:
            description: Video ID
            type: string
        - description: Segment ID from the voiceover
          in: path
          name: segmentId
          required: true
          schema:
            description: Segment ID from the voiceover
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateClipTranscriptWordsRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateClipTranscriptWordsResponse'
          description: OK
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '400':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: bad_request
                message: The request was malformed or contained invalid parameters.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The request was malformed or contained invalid parameters.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '401':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: unauthorized
                message: Authentication is required. Provide a valid API key.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Authentication is required. Provide a valid API key.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '403':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: forbidden
                message: You don't have permission to access this resource.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: You don't have permission to access this resource.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '404':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: not_found
                message: The requested resource was not found.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The requested resource was not found.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '409':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: conflict
                message: >-
                  The request conflicts with the resource's current state, e.g.
                  an Idempotency-Key whose first request is still in progress.
                  Retry once it settles.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: >-
            The request conflicts with the resource's current state, e.g. an
            Idempotency-Key whose first request is still in progress. Retry once
            it settles.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '429':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: rate_limited
                message: You have exceeded the rate limit. Please slow down.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: You have exceeded the rate limit. Please slow down.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '500':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: server_error
                message: An unexpected error occurred
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: An unexpected error occurred
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '501':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: not_implemented
                message: The requested operation is not implemented.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The requested operation is not implemented.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
        '503':
          content:
            application/json:
              example:
                docsUrl: https://docs.tella.com/
                error: unavailable
                message: >-
                  A dependency was unavailable and the request was not executed.
                  Safe to resend unchanged after the Retry-After delay.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: >-
            A dependency was unavailable and the request was not executed. Safe
            to resend unchanged after the Retry-After delay.
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Sunset:
              $ref: '#/components/headers/Sunset'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
      security:
        - BearerAuth: []
components:
  schemas:
    UpdateClipTranscriptWordsRequest:
      additionalProperties: false
      description: >-
        Correct what the transcript says. Word edits change the transcript,
        captions and subtitles only — they never change the audio or the clip's
        timing. Use cut-by-transcript to remove spoken words from the video. The
        whole batch is applied atomically, so a request never changes only some
        of its words. A `500` does not by itself mean nothing changed — the
        words can land and a later step of the commit still fail — so treat the
        outcome as either fully applied or not applied at all, and re-send the
        identical request to settle it; every edit assigns a word outright, so
        re-sending is safe.
      properties:
        words:
          description: >-
            Word edits to apply, at most one per word index and at most 100 per
            request. Indices are stable across cuts, but a word that is
            currently cut out of the clip cannot be edited.
          items:
            $ref: '#/components/schemas/TranscriptWordEdit'
          maxItems: 100
          minItems: 1
          type: array
      required:
        - words
      type: object
    UpdateClipTranscriptWordsResponse:
      additionalProperties: false
      description: The words that were edited, after the edit.
      properties:
        words:
          description: The edited words in their new state, in the order they were sent.
          items:
            $ref: '#/components/schemas/TranscriptWord'
          type: array
      required:
        - words
      type: object
    ErrorResponse:
      additionalProperties: false
      description: Standard error response format
      properties:
        docsUrl:
          description: Link to Tella API documentation
          example: https://docs.tella.com/
          format: uri
          type: string
        error:
          description: Machine-readable error code
          enum:
            - bad_request
            - unauthorized
            - forbidden
            - not_found
            - rate_limited
            - server_error
            - conflict
            - edit_conflict
            - not_implemented
            - unavailable
          example: not_found
          type: string
        message:
          description: Human-readable error message
          example: Resource not found
          type: string
      required:
        - error
        - message
        - docsUrl
      type: object
    TranscriptWordEdit:
      additionalProperties: false
      description: >-
        A change to a single transcript word, addressed by its transcript index.
        Set exactly one of `text`, `hidden`, `breakAfter` or `keepWithNext`
        (`text` may also come with `hidden: false`).
      maxProperties: 2
      minProperties: 2
      properties:
        breakAfter:
          description: >-
            `true` forces a subtitle break after the word, so the next word
            starts a new subtitle block; `false` removes it. Leaves the word's
            text and visibility alone.
          example: true
          type: boolean
        hidden:
          description: >-
            `true` hides the word from captions and subtitles without touching
            the audio; `false` shows it again. A correction already made to the
            word is preserved.
          example: true
          type: boolean
        index:
          description: Index of the word to edit, as reported by the clip's transcript.
          example: 12
          maximum: 9007199254740991
          minimum: 0
          type: integer
        keepWithNext:
          description: >-
            `true` keeps the word's subtitle block together with the next word
            even where punctuation or a pause would end it; `false` restores the
            automatic split. The lines-per-block limit still applies, and
            `breakAfter` wins.
          example: true
          type: boolean
        text:
          description: >-
            Corrected text for the word. Replaces what the transcript, captions
            and subtitles say, and unhides the word. Must not be empty — hide a
            word with `hidden` instead.
          example: Tella
          minLength: 1
          type: string
      required:
        - index
      type: object
    TranscriptWord:
      additionalProperties: false
      description: A single transcribed word
      properties:
        breakAfter:
          description: >-
            Whether a subtitle break is forced after this word, so the next word
            always starts a new subtitle block
          example: false
          type: boolean
        endTimeMs:
          description: Word end time, in ms on the clip's playback timeline
          example: 1800
          minimum: 0
          type: number
        hidden:
          description: Whether the word is hidden by an edit
          example: false
          type: boolean
        index:
          description: Stable index of the word in the source recording
          example: 12
          maximum: 9007199254740991
          minimum: 0
          type: integer
        keepWithNext:
          description: >-
            Whether this word's subtitle block is kept together with the next
            word across punctuation and pauses. The lines-per-block limit still
            applies and `breakAfter` wins.
          example: false
          type: boolean
        startTimeMs:
          description: Word start time, in ms on the clip's playback timeline
          example: 1500
          minimum: 0
          type: number
        text:
          description: Word text
          example: Hello
          type: string
      required:
        - index
        - startTimeMs
        - endTimeMs
        - text
        - hidden
        - breakAfter
        - keepWithNext
      type: object
  headers:
    Deprecation:
      description: Indicates that an API operation is deprecated, following RFC 9745
      example: '@1767225600'
      schema:
        type: string
    RateLimit:
      description: >-
        Current quota with remaining requests (`r`) and seconds until reset
        (`t`)
      example: '"public-api";r=95;t=42'
      schema:
        type: string
    RateLimitPolicy:
      description: >-
        Named quota policy with the request limit (`q`) and window in seconds
        (`w`)
      example: '"public-api";q=100;w=60'
      schema:
        type: string
    Sunset:
      description: >-
        Indicates when a deprecated API operation will become unavailable,
        following RFC 8594
      example: Tue, 30 Jun 2026 23:59:59 GMT
      schema:
        type: string
    XRateLimitLimit:
      description: Maximum requests allowed in the current window
      example: 100
      schema:
        type: integer
    XRateLimitRemaining:
      description: Requests remaining in the current window
      example: 95
      schema:
        type: integer
    XRateLimitReset:
      description: Unix timestamp in milliseconds when the window resets
      example: 1704067200000
      schema:
        format: int64
        type: integer
    RetryAfter:
      description: Seconds to wait before retrying a rate-limited request
      example: 45
      schema:
        minimum: 1
        type: integer
  securitySchemes:
    BearerAuth:
      description: API key obtained from your Tella account settings
      scheme: bearer
      type: http

````

## Related topics

- [Voiceovers](https://www.tella.com/docs/mcp-tools/voiceovers.md)
- [Add a voiceover segment](https://www.tella.com/docs/api-reference/voiceovers/add-a-voiceover-segment.md)
- [Update the voiceover](https://www.tella.com/docs/api-reference/voiceovers/update-the-voiceover.md)
- [Get the voiceover](https://www.tella.com/docs/api-reference/voiceovers/get-the-voiceover.md)
- [Remove a voiceover segment](https://www.tella.com/docs/api-reference/voiceovers/remove-a-voiceover-segment.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.