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

# Get a clip

> Returns a single clip in a video.



## OpenAPI

````yaml /openapi.json get /v1/videos/{id}/clips/{clipId}
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 100 requests per minute per organization.

    Rate limit information is returned in response headers:

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

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

    - `X-RateLimit-Reset`: Unix timestamp when the window resets
  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: Webhook endpoint management
    name: Webhooks
paths:
  /v1/videos/{id}/clips/{clipId}:
    get:
      tags:
        - Clips
      summary: Get a clip
      description: Returns a single clip in a video.
      operationId: getClip
      parameters:
        - description: Video identifier
          in: path
          name: id
          required: true
          schema:
            description: Video identifier
            example: vid_abc123def456
            type: string
        - description: Clip identifier
          in: path
          name: clipId
          required: true
          schema:
            description: Clip identifier
            example: cl_xyz789ghi012
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetClipResponse'
          description: OK
        '400':
          content:
            application/json:
              example:
                error:
                  code: bad_request
                  doc_url: https://tella.tv/docs/api-reference/errors#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.
        '401':
          content:
            application/json:
              example:
                error:
                  code: unauthorized
                  doc_url: https://tella.tv/docs/api-reference/errors#unauthorized
                  message: Authentication is required. Provide a valid API key.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Authentication is required. Provide a valid API key.
        '403':
          content:
            application/json:
              example:
                error:
                  code: forbidden
                  doc_url: https://tella.tv/docs/api-reference/errors#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.
        '404':
          content:
            application/json:
              example:
                error:
                  code: not_found
                  doc_url: https://tella.tv/docs/api-reference/errors#not-found
                  message: The requested resource was not found.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The requested resource was not found.
        '422':
          content:
            application/json:
              example:
                error:
                  code: unprocessable_entity
                  doc_url: >-
                    https://tella.tv/docs/api-reference/errors#unprocessable-entity
                  message: The request was well-formed but contained semantic errors.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The request was well-formed but contained semantic errors.
        '429':
          content:
            application/json:
              example:
                error:
                  code: rate_limit_exceeded
                  doc_url: >-
                    https://tella.tv/docs/api-reference/errors#rate-limit-exceeded
                  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.
        '500':
          content:
            application/json:
              example:
                error:
                  code: internal_server_error
                  doc_url: >-
                    https://tella.tv/docs/api-reference/errors#internal-server-error
                  message: An unexpected error occurred on the server.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: An unexpected error occurred on the server.
      security:
        - BearerAuth: []
components:
  schemas:
    GetClipResponse:
      additionalProperties: false
      description: Response shape for a single clip
      properties:
        clip:
          $ref: '#/components/schemas/Clip'
      required:
        - clip
      type: object
    ErrorResponse:
      additionalProperties: false
      description: Standard error response format
      properties:
        error:
          additionalProperties: false
          description: Error details
          properties:
            code:
              description: Machine-readable error code
              enum:
                - bad_request
                - unauthorized
                - forbidden
                - not_found
                - unprocessable_entity
                - rate_limit_exceeded
                - internal_server_error
              example: not_found
              type: string
            doc_url:
              description: Link to documentation for this error
              example: https://tella.tv/docs/api-reference/errors#not-found
              format: uri
              type: string
            message:
              description: Human-readable error message
              example: The requested resource was not found.
              type: string
          required:
            - code
            - message
            - doc_url
          type: object
      required:
        - error
      type: object
    Clip:
      additionalProperties: false
      description: A section of a video
      properties:
        background:
          $ref: '#/components/schemas/ClipBackgroundOutput'
        createdAt:
          description: ISO 8601 datetime
          example: '2026-01-15T10:30:00.000Z'
          format: date-time
          type: string
        cuts:
          description: Time ranges cut from the clip's playback
          items:
            $ref: '#/components/schemas/CutOutput'
          type: array
        durationSeconds:
          description: Effective playback duration of the clip after cuts, in seconds
          example: 12.5
          minimum: 0
          type: number
        id:
          description: Unique clip identifier
          example: cl_xyz789ghi012
          type: string
        layoutSceneType:
          allOf:
            - $ref: '#/components/schemas/LayoutSceneType'
          description: >-
            Determines which layouts can be applied to this clip via
            `add_layout`. See `BasicSubjectLayoutName`,
            `CameraSubjectLayoutName`, `CombiLayoutName`.
        maxDurationSeconds:
          description: Total length of the underlying source, in seconds
          example: 14.2
          minimum: 0
          type: number
        name:
          description: Clip display name
          example: Intro
          type: string
        order:
          description: Position of the clip within the video
          example: 0
          maximum: 9007199254740991
          minimum: 0
          type: integer
        studioSound:
          description: >-
            Effective Studio Sound (AI audio enhancement) state for this clip:
            the video-level switch minus this clip's opt-out.
          example: false
          type: boolean
        updatedAt:
          description: ISO 8601 datetime
          example: '2026-01-15T14:45:00.000Z'
          format: date-time
          type: string
        videoId:
          description: Video identifier
          example: vid_abc123def456
          type: string
      required:
        - id
        - videoId
        - name
        - order
        - durationSeconds
        - maxDurationSeconds
        - cuts
        - layoutSceneType
        - background
        - studioSound
        - createdAt
        - updatedAt
      type: object
    ClipBackgroundOutput:
      additionalProperties: false
      description: >-
        Clip background. Use type = 'solid' with `color`, type = 'image' or
        'video' with `sourceId` (from `POST /v1/sources`), or type = 'gradient'
        with `gradientColor1`, `gradientColor2`, `gradientAngle`.
      properties:
        color:
          description: Hex color string. Required when type = 'solid'.
          example: '#000000ff'
          nullable: true
          type: string
        gradientAngle:
          description: Linear gradient angle in degrees. Required when type = 'gradient'.
          example: 45
          maximum: 9007199254740991
          minimum: -9007199254740991
          nullable: true
          type: integer
        gradientColor1:
          description: Hex color string. Required when type = 'gradient'.
          example: '#ff0080ff'
          nullable: true
          type: string
        gradientColor2:
          description: Hex color string. Required when type = 'gradient'.
          example: '#7928caff'
          nullable: true
          type: string
        imageUrl:
          description: >-
            Hosted image URL. Read-only: present in responses for image
            backgrounds; no longer accepted as input — pass `sourceId` instead.
          example: https://cdn.example.com/bg.png
          format: uri
          nullable: true
          type: string
        sourceId:
          description: >-
            Source ID from `POST /v1/sources` (`kind: image` for type = 'image',
            `kind: video` for type = 'video'). Required when type = 'image' or
            'video'. Input-only.
          example: su_abc123
          nullable: true
          type: string
        type:
          description: Background variant
          enum:
            - solid
            - gradient
            - image
            - video
          example: solid
          type: string
        videoDurationSeconds:
          description: >-
            Video background duration in seconds. Read-only: derived from the
            source on input.
          example: 12.4
          minimum: 0
          nullable: true
          type: number
        videoUrl:
          description: >-
            Hosted video URL. Read-only: present in responses for video
            backgrounds; no longer accepted as input — pass `sourceId` instead.
          example: https://cdn.example.com/bg.mp4
          format: uri
          nullable: true
          type: string
      required:
        - type
      type: object
    CutOutput:
      additionalProperties: false
      description: >-
        A range of the raw recording removed from playback. Cut definitions are
        the one place raw-recording coordinates appear: replacing the cut set
        describes the playback timeline you'd get after clearing all cuts. Cuts
        are always undoable — replace with `[]` to restore everything.
      properties:
        durationMs:
          description: Length of the cut, in milliseconds
          example: 750
          exclusiveMinimum: true
          maximum: 9007199254740991
          type: integer
        startTimeMs:
          description: Start of the cut, in ms of the raw recording
          example: 1500
          maximum: 9007199254740991
          minimum: 0
          type: integer
      required:
        - startTimeMs
        - durationMs
      type: object
    LayoutSceneType:
      description: >-
        How a clip composes its layers, which determines the set of layouts it
        accepts: `basicSubject` (screen-only), `cameraSubject` (camera-only), or
        `combi` (camera + presentation).
      enum:
        - basicSubject
        - cameraSubject
        - combi
      example: combi
      type: string
  securitySchemes:
    BearerAuth:
      description: API key obtained from your Tella account settings
      scheme: bearer
      type: http

````