Update a memory Knowledge Base entry

Updates a memory entry (type=memory): its text, files, summary, status, dates and link.
A hypothesis entry uses update-status instead.
files replaces the list of file keys; a removed file is deleted from storage.
The entry must keep text or at least one file. Dates and the link need text.
A change of the text, the files, the dates or the link re-indexes the entry.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the account that owns the retrieved/saved data

integer
required
≥ 1

ID of the project

integer
required

ID of the memory entry to update

Body Params

Updates a memory entry. A field left out is not changed.
The entry must keep text or at least one file, or the request gets 422.
start_date, end_date and link are accepted only when the entry has text.

string
enum
Defaults to active

The status of a Knowledge Base entry:

  • active: The entry is current and relevant.
  • archived: The entry is kept for historical purposes but may no longer be considered current best practice or has been superseded by newer learnings.
Allowed:
string | null
string | null

Null removes the text.

files
array of strings, unique
length ≤ 10

Replaces the list of file keys. A key that is not in the new list is removed from the
entry, and its stored file is deleted.

files
date | null
date | null
tags
array of integers | null, unique

Replaces the tags of the entry with these tag IDs. An empty list or null removes them all.
An ID that is not a tag of the project is refused with 422. A change of tags does not
re-index the entry.

tags
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json