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

# Reset memory watermarks and trigger a full graph rebuild

> Deletes all rows from ``memory_worker_watermarks``, forcing the Memory Worker to perform a full historical re-scan on its next run. Immediately triggers ``memory_worker_flow/memory_worker`` via the Prefect API (fire-and-forget). Returns the number of watermark rows cleared and the Prefect flow run ID.



## OpenAPI

````yaml /api-reference/memory-api.json post /v1/memory/full-refresh
openapi: 3.1.0
info:
  title: Strattum Memory API
  description: >-
    REST API that serves entity context — profile, timeline, graph, sources and
    formatted context — for agents and UIs. (PRD-003, Workstream 1.3)
  version: 1.0.0
servers: []
security: []
paths:
  /v1/memory/full-refresh:
    post:
      tags:
        - memory
      summary: Reset memory watermarks and trigger a full graph rebuild
      description: >-
        Deletes all rows from ``memory_worker_watermarks``, forcing the Memory
        Worker to perform a full historical re-scan on its next run. Immediately
        triggers ``memory_worker_flow/memory_worker`` via the Prefect API
        (fire-and-forget). Returns the number of watermark rows cleared and the
        Prefect flow run ID.
      operationId: full_refresh_v1_memory_full_refresh_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FullRefreshResponse'
components:
  schemas:
    FullRefreshResponse:
      properties:
        sources_reset:
          type: integer
          title: Sources Reset
          description: Number of watermark rows deleted.
        flow_run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Flow Run Id
          description: >-
            Prefect flow run ID for the triggered memory_worker_flow run, or
            null if Prefect was unreachable.
      type: object
      required:
        - sources_reset
      title: FullRefreshResponse

````