Skip to main content
POST
/
api
/
v1
/
forget
Forget Endpoint
curl --request POST \
  --url https://api.cognee.ai/api/v1/forget \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dataId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset": "<string>",
  "everything": false,
  "memoryOnly": false
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt

Use this file to discover all available pages before exploring further.

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
dataset
everything
boolean
default:false
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.

Response

Successful Response