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

# Update a memory

> Correct a fact in place. content stays one fact on one line; an edit that duplicates another fact under the same tag is refused. The tag and source fields cannot change — to move a fact, delete it and add it under the other tag.



## OpenAPI

````yaml PATCH /memories/{id}
openapi: 3.0.0
info:
  title: WaterrAI API
  version: 1.0.0
  description: >-
    REST API for the WaterrAI meeting platform — create scenarios, spin up
    AI-driven meetings, fetch transcripts and analyses.
  contact:
    name: Support
    email: harshit@waterr.ai
servers:
  - url: https://api.waterr.ai/v1
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Users
  - name: Personas
  - name: Voices
  - name: Scenarios
  - name: Goals
  - name: Meetings
  - name: Analyses
  - name: Recordings
  - name: Transcripts
  - name: Tools
    description: >-
      Account-scoped custom function (tool) definitions the LLM can call
      mid-meeting.
  - name: Scenario Tools
    description: >-
      Per-scenario attachments linking a scenario to one or more tool
      definitions.
  - name: Guardrails
    description: >-
      Account-scoped named prompt fragments appended to a scenario's system
      prompt.
  - name: Scenario Guardrails
    description: Per-scenario attachments linking a scenario to one or more guardrails.
  - name: Meeting Skills
    description: Account-scoped invokable instruction packs the agent loads mid-meeting.
  - name: Scenario Meeting Skills
    description: Per-scenario attachments linking a scenario to one or more skills.
  - name: Memories
    description: >-
      Facts your agents remember, in containers named by user_memory_tag and
      shared across agents.
paths:
  /memories/{id}:
    patch:
      tags:
        - Memories
      summary: Update a memory
      description: >-
        Correct a fact in place. content stays one fact on one line; an edit
        that duplicates another fact under the same tag is refused. The tag and
        source fields cannot change — to move a fact, delete it and add it under
        the other tag.
      operationId: UpdateMemory
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content:
                  type: string
                  maxLength: 1000
                external_id:
                  type: string
                  maxLength: 255
                  nullable: true
            example:
              content: Lives in Bangalore (previously Mumbai)
      responses:
        '200':
          description: The updated memory.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Memory'
        '400':
          description: Invalid content, or an immutable field was sent.
        '401':
          description: Unauthorized — missing or invalid API key.
        '404':
          description: No such memory in your workspace.
        '409':
          description: That fact is already remembered under this tag.
      security:
        - apiKeyAuth: []
components:
  schemas:
    Memory:
      type: object
      description: >-
        One remembered fact, held in the container named by its user_memory_tag.
        Every agent with memory on that runs a call under that tag is told it at
        the start of the call.
      properties:
        id:
          type: string
          format: uuid
          example: 452f76ca-c6cd-4ab9-9beb-ded26e54d903
        user_memory_tag:
          type: string
          example: crm_48213
        content:
          type: string
          description: One fact, one line.
          example: Prefers calls after 6pm IST
        token_estimate:
          type: integer
          example: 7
        source:
          type: string
          enum:
            - meeting
            - import
            - api
          description: '`meeting` = learned on a call, `import` = added via POST /memories.'
        source_scenario_id:
          type: string
          format: uuid
          nullable: true
          description: The agent that learned it, or that an import was attributed to.
        source_meeting_id:
          type: string
          format: uuid
          nullable: true
        external_id:
          type: string
          nullable: true
          description: The fact's id in the system it was imported from.
          example: note_91
        created_at:
          type: string
          format: date-time
          example: '2026-05-01T00:00:00.000Z'
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: wai_...
      description: >-
        API key from waterr.ai/settings?tab=api-keys. Send as `Authorization:
        Bearer wai_<your_key>`.

````

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