---
title: "Correct Memory"
method: PUT
path: "/api/v1/memories/{memory_id}"
tags: ["memory"]
---

# Correct Memory

`PUT /api/v1/memories/{memory_id}`

## Request

- Base URL: `https://api.getanana.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getanana.com/api/v1/memories/{memory_id}`
- Auth: none declared

Correct a guest memory's words or category. Staff corrections are certain
(confidence 100); where the fact came from is kept.

## Path parameters

- `memory_id` string, uuid, required

## Request body

- MemoryUpdate
  - `category` 'preference' | 'dietary' | 'accessibility' | 'occasion' | 'relationship' | 'complaint' | 'work' | 'other', required
  - `content` string, required

## Response `200`

Successful Response

- MemoryRead
  - `id` string, uuid, required
  - `category` 'preference' | 'dietary' | 'accessibility' | 'occasion' | 'relationship' | 'complaint' | 'work' | 'other', required
  - `content` string, required
  - `confidence` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `valid_until` string, date-time, nullable, required
  - `source_text_session_id` string, uuid, nullable, required
  - `source_text_message_id` string, uuid, nullable, required

## Other responses

- `400`: The correction holds what a memory may never hold
- `404`: The customer or memory was not found
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-15** `a9cebb28e243`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/memories/:memory_id/put.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/4d9d38769a75?raw)
