Skip to main content
POST
/
api
/
v2
/
memories
/
semantic
/
delete
Delete Semantic Memory
curl --request POST \
  --url http://localhost:8080/api/v2/memories/semantic/delete \
  --header 'Content-Type: application/json' \
  --data '
{
  "org_id": "universal",
  "project_id": "universal",
  "semantic_id": "",
  "semantic_ids": []
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json

Specification model for deleting semantic memories.

org_id
string
default:universal
The unique identifier of the organization.

- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.

This value determines the namespace the project belongs to.
Examples:

"MemVerge"

"AI_Labs"

project_id
string
default:universal
The identifier of the project.

- Must be unique within the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.

This ID is used in API paths and resource locations.
Examples:

"memmachine"

"research123"

"qa_pipeline"

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