Skip to main content
These endpoints transform raw data into structured knowledge graphs and remove data from them.

Cognify

POST /api/v1/cognify — Transform datasets into structured knowledge graphs. Takes uploaded data and runs entity extraction, relationship detection, and embedding generation. This is the same pipeline described in Cognify.
curl -X POST https://your-tenant.aws.cognee.ai/api/v1/cognify \
  -H "X-Api-Key: your-key" \
  -H "Content-Type: application/json" \
  -d '{"datasets": ["my_dataset"]}'
Processing runs asynchronously. Check progress with the dataset status endpoint.
If you used remember to ingest data, cognify was already executed automatically. You only need to call cognify separately when using the add endpoint.

Forget

POST /api/v1/forget — Remove data from the knowledge graph. Deletes specified content from the graph, vector store, and associated metadata. See Forget for the underlying operation.
curl -X POST https://your-tenant.aws.cognee.ai/api/v1/forget \
  -H "X-Api-Key: your-key" \
  -H "Content-Type: application/json" \
  -d '{"data": "content-identifier", "dataset_name": "my_dataset"}'