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

# Update conversation

> Update mutable conversation fields: autopilot toggle, active process/prompt, assignees, and history-modal flag. Used by the conversation detail panel.



## OpenAPI

````yaml /api-reference/openapi.yaml put /api/conversation/{id}
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/conversation/{id}:
    put:
      tags:
        - Conversations
      summary: Update conversation
      description: >-
        Update mutable conversation fields: autopilot toggle, active
        process/prompt, assignees, and history-modal flag. Used by the
        conversation detail panel.
      operationId: put_conversation_by_id
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConversationRequest'
      responses:
        '200':
          description: Conversation updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversationUpdateResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorResponse'
        '404':
          description: Conversation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateConversationRequest:
      type: object
      properties:
        isAutopilot:
          type: boolean
          description: When true, lets the configured AI agent respond automatically.
        process:
          type: string
          description: Prompt `_id` driving the AI for this conversation.
        assignees:
          type: array
          items:
            type: string
          description: >-
            User `_id`s assigned to this conversation; receives socket events
            and pings.
        fromHistoryModal:
          type: boolean
          description: >-
            Suppresses side-effects (audit log, socket emit) when the update
            originates from the history viewer.
      additionalProperties: true
      example:
        isAutopilot: false
        assignees:
          - 65b1f0a2c3d4e5f6a7b8c9d0
    ConversationUpdateResponse:
      type: object
      properties:
        message:
          type: string
        data:
          type: object
          additionalProperties: true
      additionalProperties: true
      example:
        message: Conversation updated
        data:
          _id: 65d3e0f0a0b0c0d0e0f0a0b0
          isAutopilot: false
    LegacyErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        data: {}
      additionalProperties: true
      example:
        error: Attachment not found
        message: Attachment not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````