Skip to main content
POST
Forget data: one item, a dataset, its memory only, or everything

Authorizations

Authorization
string
header
required

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

Body

application/json
dataId
string<uuid> | null

UUID of a single data item to remove. Requires dataset or datasetId to also be set.

Example:

""

dataset
string | null

Dataset name to delete (or clear with memoryOnly). Provide either dataset or datasetId, not both.

Example:

"default_dataset"

datasetId
string<uuid> | null

Dataset UUID, alternative to dataset. Provide either dataset or datasetId, not both.

Example:

""

everything
boolean
default:false

DANGER: when true, permanently deletes ALL datasets and data the user owns (relational records, graph, vector embeddings, session cache). Ignores dataId/dataset/datasetId.

memoryOnly
boolean
default:false

When True with a dataset, delete only memory (graph nodes/edges and vector embeddings) and reset pipeline status — raw files and data records are preserved. This allows re-cognifying the dataset from scratch.

cleanHistory
boolean
default:false

When true, also delete the caller's own search and recall history (the rows GET /v1/search and GET /v1/recall list), in every dataset, before the data is deleted. Dataset and everything forgets purge the deleted datasets' history regardless of this flag.

Response

Successful Response

The response is of type Response Forget Endpoint Api V1 Forget Post · object.