v1

Delete Memory

Forget one memory, or erase it with erase=true.

Forgetting drops the memory out of every read and ends the facts it stated, which stay in history, closed. The row, with its text and vector, stays in the database, and no call brings the memory back.

erase=true deletes it for good: the row, its text and vector, the facts only it stated, its item in a /v1/batch payload, and the aliases and vocabulary examples its facts alone taught. A memory forgotten earlier is erased the same way (a forget answers 404 for it). Either way an audit row keeps the counts, never the content, and a restore of a backup taken before makes the erasure again. To erase everything of one end user, use DELETE /v1/users/{end_user}/memories.

delete/v1/memories/{memory_id}

Request

  • Base URL: https://api.korely.ai
  • URL: https://api.korely.ai/v1/memories/{memory_id}
  • Auth: HTTP bearer

Path parameters

memory_idstring required

Query parameters

eraseboolean

Erase it for good: the row, its text, observation and vector, and the facts it alone stated go from the database, with its item in a /v1/batch payload and what its facts taught the project's vocabulary and aliases. A memory forgotten earlier can be erased too. Without it the memory is forgotten: it drops out of every read, its facts stop being true, and the row stays.

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.