Skip to main content
POST
/
v2
/
memories
/
episodic
/
delete
Delete Episodic Memory
curl --request POST \
  --url https://api.memmachine.ai/v2/memories/episodic/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "episodic_ids": [
    "123",
    "345"
  ],
  "project_id": ""
}
'
{
  "code": 123,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Specification model for deleting episodic memories.

episodic_ids
string[]
required

A list of unique IDs of episodic memories to delete.

Minimum array length: 1
Example:
["123", "345"]
project_id
string
default:""

The identifier of the project. If empty, the user's default project is used.

Pattern: ^[\p{L}\p{N}_:-]*$

Response

Successful Response