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

# Change a clip

> Changes a clip's title, description or tags; a value left out stays as it is. The range cannot change: make a new clip.



## OpenAPI

````yaml /api/statisfy-api.openapi.json patch /v1/clips/{clip_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/clips/{clip_id}:
    patch:
      tags:
        - clips
      summary: Change a clip
      description: >-
        Changes a clip's title, description or tags; a value left out stays as
        it is. The range cannot change: make a new clip.
      operationId: clips_update
      parameters:
        - description: The clip's id, from GET /v1/clips
          in: path
          name: clip_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                description:
                  anyOf:
                    - maxLength: 5000
                      type: string
                    - type: 'null'
                  default: null
                  description: Up to 5,000 characters; "" clears it
                  title: Description
                tags:
                  anyOf:
                    - items:
                        maxLength: 50
                        minLength: 1
                        type: string
                      maxItems: 20
                      type: array
                    - type: 'null'
                  default: null
                  description: >-
                    Replaces the tags: up to 20 of 1 to 50 characters each; []
                    clears them
                  title: Tags
                title:
                  anyOf:
                    - maxLength: 500
                      minLength: 1
                      type: string
                    - type: 'null'
                  default: null
                  description: 1 to 500 characters; spaces at either end are removed
                  title: Title
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Clip'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    Clip:
      properties:
        activity_id:
          description: The activity whose recording the clip cuts
          title: Activity Id
          type: string
        created_at:
          title: Created At
          type: string
        created_by:
          description: >-
            The user_id of the member who made it (as GET
            /v1/objects/user/records gives it), or apikey:<key_id> for a key
          title: Created By
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        end_time_seconds:
          title: End Time Seconds
          type: number
        id:
          title: Id
          type: string
        links_expire_at:
          anyOf:
            - type: string
            - type: 'null'
          description: When video_url and thumbnail_url stop working
          title: Links Expire At
        share_expires_at:
          anyOf:
            - type: string
            - type: 'null'
          description: When share_url closes; null when it is not shared
          title: Share Expires At
        share_url:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The clip's public page in the app, open to anyone until
            share_expires_at
          title: Share Url
        start_time_seconds:
          title: Start Time Seconds
          type: number
        status:
          description: >-
            pending (waiting to be cut), processing (being cut), completed (the
            video is ready) or failed
          enum:
            - pending
            - processing
            - completed
            - failed
          title: Status
          type: string
        tags:
          items:
            type: string
          title: Tags
          type: array
        thumbnail_url:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            A signed link to the clip's JPEG thumbnail, as video_url; null when
            there is none
          title: Thumbnail Url
        title:
          title: Title
          type: string
        transcript_snippet:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The transcript lines in the clip's range, one `Speaker: text` line
            each
          title: Transcript Snippet
        updated_at:
          title: Updated At
          type: string
        video_url:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            A signed link that downloads the clip's MP4 with a plain GET until
            links_expire_at; anyone holding it can. Null until the clip is
            completed
          title: Video Url
      required:
        - id
        - activity_id
        - title
        - start_time_seconds
        - end_time_seconds
        - status
        - created_by
        - created_at
        - updated_at
      title: Clip
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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