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

# Update conversation

> Update a conversation title



## OpenAPI

````yaml /api-reference/openapi.json patch /api/agents/conversations/{id}
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/agents/conversations/{id}:
    patch:
      tags:
        - Agents
      summary: Update conversation
      description: Update a conversation title
      operationId: AgentsController_updateConversation
      parameters:
        - name: id
          required: true
          in: path
          description: Conversation ID
          schema:
            type: string
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConversationDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversationResponseDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    UpdateConversationDto:
      type: object
      properties:
        title:
          type: string
          example: Updated title
    ConversationResponseDto:
      type: object
      properties:
        id:
          type: string
        llmConfigId:
          type: string
        title:
          type: string
        agentMode:
          type: string
          enum:
            - ask
            - agent
          example: ask
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        todos:
          description: Agent execution plan (todo list)
          type: array
          items:
            type: array
        summary:
          type: string
          description: Summarized context of previous conversation turns
        workerId:
          type: string
          description: The worker ID currently assigned to this conversation
          example: 550e8400-e29b-41d4-a716-446655440000
      required:
        - id
        - llmConfigId
        - agentMode
        - createdAt
        - updatedAt

````