Skip to main content
POST
/
v2
/
memories
/
semantic
/
delete
Delete_Semantic Memory
curl --request POST \
  --url https://api.memmachine.ai/docs/v2/memories/semantic/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "semantic_id": "",
  "semantic_ids": []
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<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 semantic memories.

semantic_id
string
default:""
The unique ID of the specific semantic memory.
Examples:

"12"

"23"

semantic_ids
string[]
A list of unique IDs of semantic memories.
Examples:
["123", "345"]
["23"]

Response

Successful Response