Delete one memory
curl --request DELETE \
--url https://albus.sh/api/memories/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://albus.sh/api/memories/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://albus.sh/api/memories/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "Invalid request parameters"
}{
"message": "Invalid or expired token"
}{
"message": "Resource not found"
}Memories
Delete one memory
Deletes one memory of a memory group. Agents bound to the group stop reading it, and the deletion is permanent. A memory the group does not hold is a 404.
DELETE
/
memories
/
{id}
Delete one memory
curl --request DELETE \
--url https://albus.sh/api/memories/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://albus.sh/api/memories/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://albus.sh/api/memories/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "Invalid request parameters"
}{
"message": "Invalid or expired token"
}{
"message": "Resource not found"
}Authorizations
bearerAuthapiKey
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The memory's identifier, as returned by GET /memories.
Required string length:
1 - 64Query Parameters
The memory group to read or delete — the memory.group value the agents sharing those memories run with.
Required string length:
1 - 256Response
Deleted