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

# Update Memory

`PUT /api/memory/{memory_id}`

## Path parameters

- `memory_id` string, required

## Request body

- MemoryUpdateRequest
  - `content` string, nullable — Updated memory content
  - `keywords` string[], nullable — Updated memory keywords
  - `tags` string[], nullable — Updated memory tags
  - `category` string, nullable — Updated memory category
  - `metadata` object, nullable — Updated memory metadata

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.net/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xorbitsai/xagent/revisions/33e4ba4936ad/schema)
