Skip to main content
PATCH
Update an AI memory

Path Parameters

project_id
string
required

The project's id (not its slug). GET /admin/api/projects lists each project's id and slug.

memory_id
string<uuid>
required

Body

application/json
revision
integer
required
Required range: x >= 1
title
string
Maximum string length: 200
content
string
Maximum string length: 32768
tags
string[]
Maximum array length: 20
Maximum string length: 40
project_id
string

Move the memory to this project (id or slug); it must be one the caller can see and write in.

visibility
enum<string>
Available options:
private,
project,
workspace,
team
kind
enum<string>
Available options:
memory,
decision,
thread_summary
superseded_by
string<uuid> | null

The memory that replaces this one: readable by the caller, in the same project, active, current and not this memory. A shared memory cannot be replaced by someone else's private one. null restores it.

expires_at
string<date-time> | null

Set or remove (null) the expiry (#687).

Response

Successful operation

The response is of type object.