Forget a memory
curl --request POST \
--url https://api.memcontext.in/api/memories/{id}/forget \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.memcontext.in/api/memories/{id}/forget', 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}/forget"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "Memory forgotten"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"errorId": "<string>"
}Memories
Forget a memory
Removes a memory from future search and list results.
POST
https://api.memcontext.in
/
api
/
memories
/
{id}
/
forget
Forget a memory
curl --request POST \
--url https://api.memcontext.in/api/memories/{id}/forget \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.memcontext.in/api/memories/{id}/forget', 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}/forget"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "Memory forgotten"
}{
"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:
200