Skip to main content
DELETE
TypeScript

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required

Namespace containing the memories to forget. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope memories.

Maximum string length: 100
Pattern: ^[a-zA-Z0-9_:-]+$
Example:

"user_alex"

Body

application/json
query
string
required

Natural-language description of the memories that should be forgotten

Required string length: 1 - 2000
Example:

"everything about the old pricing plans"

dryRun
boolean
required

When true, preview matching memories without changing their recall state

Example:

true

Response

Semantic memory forget completed or previewed

count
integer
required

Number of memories matched by this operation

Required range: 0 <= x <= 9007199254740991
errors
object[]
required

Per-memory failures for exact-ID requests

matches
object[]
required

Memories selected by the operation, whether previewed or forgotten