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

# Update conversation

> Update a conversation's title or discard status. At least one field must be provided.



## OpenAPI

````yaml /api-reference/openapi.json patch /v1/dev/user/conversations/{conversation_id}
openapi: 3.1.0
info:
  title: Omi Developer API
  description: >-
    Programmatic access to your Omi data — memories, conversations, action
    items, and API keys. Build custom integrations, analytics dashboards, and
    automation workflows.
  version: 1.0.0
  contact:
    name: Omi
    url: https://omi.me
  license:
    name: MIT
    url: https://github.com/BasedHardware/omi/blob/main/LICENSE
servers:
  - url: https://api.omi.me
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Memories
    description: Read and write user memories — timeless facts, preferences, and insights.
  - name: Conversations
    description: Create and retrieve conversation transcripts with AI-generated summaries.
  - name: Folders
    description: Retrieve user-defined folders for organizing conversations.
  - name: Action Items
    description: Manage tasks and to-dos extracted from conversations or created manually.
  - name: API Keys
    description: Create, list, and revoke developer API keys.
paths:
  /v1/dev/user/conversations/{conversation_id}:
    patch:
      tags:
        - Conversations
      summary: Update conversation
      description: >-
        Update a conversation's title or discard status. At least one field must
        be provided.
      operationId: updateConversation
      parameters:
        - name: conversation_id
          in: path
          required: true
          description: The ID of the conversation to update.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConversation'
            example:
              title: Q1 Planning Meeting - Budget Discussion
      responses:
        '200':
          description: The updated conversation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Conversation'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  schemas:
    UpdateConversation:
      type: object
      properties:
        title:
          type: string
          minLength: 1
          maxLength: 500
          description: New title.
        discarded:
          type: boolean
          description: Whether the conversation is discarded.
    Conversation:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier.
        created_at:
          type: string
          format: date-time
          description: When the conversation record was created.
        started_at:
          type: string
          format: date-time
          description: When the conversation started.
        finished_at:
          type: string
          format: date-time
          description: When the conversation ended.
        language:
          type: string
          description: Language code (e.g. `en`).
        source:
          type: string
          description: Source device or app.
        structured:
          $ref: '#/components/schemas/StructuredData'
        transcript_segments:
          type: array
          items:
            $ref: '#/components/schemas/TranscriptSegment'
          description: Transcript segments (only present when `include_transcript=true`).
        geolocation:
          $ref: '#/components/schemas/Geolocation'
        folder_id:
          type:
            - string
            - 'null'
          description: >-
            ID of the folder this conversation belongs to, or null if not in any
            folder.
        folder_name:
          type:
            - string
            - 'null'
          description: Display name of the folder, or null if not in any folder.
    StructuredData:
      type: object
      properties:
        title:
          type: string
          description: AI-generated title.
        overview:
          type: string
          description: Summary of the conversation.
        emoji:
          type: string
          description: Representative emoji.
        category:
          type: string
          description: Category (work, personal, etc.).
        action_items:
          type: array
          items:
            $ref: '#/components/schemas/ActionItemSummary'
        events:
          type: array
          items:
            type: object
    TranscriptSegment:
      type: object
      properties:
        id:
          type: string
          description: Segment identifier.
        text:
          type: string
          description: The transcribed text.
        speaker_id:
          type: integer
          description: Numeric speaker identifier.
        speaker_name:
          type: string
          description: Human-readable speaker name.
        start:
          type: number
          description: Start timestamp in seconds.
        end:
          type: number
          description: End timestamp in seconds.
    Geolocation:
      type: object
      properties:
        latitude:
          type: number
        longitude:
          type: number
        address:
          type: string
        google_place_id:
          type: string
        location_type:
          type: string
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
          description: Error description.
    ActionItemSummary:
      type: object
      properties:
        description:
          type: string
        completed:
          type: boolean
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        due_at:
          type:
            - string
            - 'null'
          format: date-time
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
  responses:
    Unauthorized:
      description: Invalid or missing API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: Invalid API key
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: Not found
    ValidationError:
      description: Validation error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: 'Validation error: content is required'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Developer API key. Get one from **Settings → Developer → Create Key** in
        the Omi app. Keys are prefixed with `omi_dev_`.

````