Submit feedback for a memory
curl --request POST \
--url https://api.memcontext.in/api/memories/{id}/feedback \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.memcontext.in/api/memories/{id}/feedback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.memcontext.in/api/memories/{id}/feedback"
payload = {}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"errorId": "<string>"
}Feedback
Submit feedback for a memory
Record whether a retrieved memory was useful, irrelevant, outdated, or wrong. This signal can be used to improve retrieval quality over time.
POST
https://api.memcontext.in
/
api
/
memories
/
{id}
/
feedback
Submit feedback for a memory
curl --request POST \
--url https://api.memcontext.in/api/memories/{id}/feedback \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.memcontext.in/api/memories/{id}/feedback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.memcontext.in/api/memories/{id}/feedback"
payload = {}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"errorId": "<string>"
}Authorizations
API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.
Path Parameters
Memory UUID.
Query Parameters
Hard isolation boundary. When provided, the memory must belong to this scope.
Maximum string length:
200Body
application/json
helpful- The memory was useful in the current context.not_helpful- The memory was irrelevant.outdated- The memory contains stale information.wrong- The memory contains incorrect information.
Available options:
helpful, not_helpful, outdated, wrong Optional explanation of why this feedback is being submitted.
Maximum string length:
1000Response
Feedback recorded.
