---
title: "Update a memory."
method: PATCH
path: "/v1/memories/{id}"
---

# Update a memory.

`PATCH /v1/memories/{id}`

## Request

- Base URL: `https://api.cortexplus.io`
- URL: `https://api.cortexplus.io/v1/memories/{id}`
- Auth: HTTP bearer

Update a memory and return the full node.

## Path parameters

- `id` string, required

## Request body

- object
  - `title` string
  - `content` string
  - `type` string
  - `tags` string[]
  - `attributes` object
  - `parentId` string, nullable: Parent memory id; null detaches the memory. Cycles are rejected.

## Response `200`

Successful response.

- object: Full node as returned by the CortexPlus backend.
  - `relevance` object, nullable: Computed relevance (not stored): score 0-100, level, reason codes. null when no scorer applies.
    - `score` integer
    - `level` 'low' | 'normal' | 'high' | 'critical'
    - `reasons` string[]
    - `snoozedUntil` string, date, nullable
    - `aiDelta` integer

## Other responses

- `default`: Request failed.

---

[API](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api.md) · [All operations](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/revisions/2d04f1593663?raw)
