Skip to main content

Description

memory_feedback records whether a retrieved memory was useful, irrelevant, outdated, or wrong. This signal helps surface quality issues and can be used to improve retrieval over time.

Parameters

ParameterTypeRequiredDescription
memoryIdstringYesThe memory ID to rate. Use the id returned by search_memory.
typestringYesFeedback type. One of the values below.
contextstringNoOptional explanation of why this feedback is being submitted. Max 1,000 characters.

Feedback types

TypeWhen to use
helpfulThe memory was relevant and useful in the current context
not_helpfulThe memory was irrelevant to the current query
outdatedThe memory contains stale information that is no longer true
wrongThe memory contains incorrect information

Example

memory_feedback({
  memoryId: "a1b2c3d4-...",
  type: "outdated",
  context: "User switched from Redux to Zustand last week"
})

Response

Returns { success: true } on success, or a 404 error if the memory was not found.