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
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

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

Response

Successful Response