Transform datasets into structured knowledge graphs through cognitive processing.
This endpoint is the core of Cognee’s intelligence layer, responsible for converting raw text, documents, and data added through the add endpoint into semantic knowledge graphs. It performs deep analysis to extract entities, relationships, and insights from ingested content.
{
"datasets": ["research_papers", "documentation"],
"run_in_background": false,
"custom_prompt": "Extract entities focusing on technical concepts and their relationships. Identify key technologies, methodologies, and their interconnections.",
"ontology_key": ["medical_ontology_v1"]
}
To cognify data in datasets not owned by the user and for which the current user has write permission, the dataset_id must be used (when ENABLE_BACKEND_ACCESS_CONTROL is set to True).
After successful processing, use the search endpoints to query the generated knowledge graph for insights, relationships, and semantic search.
[]{}Custom prompt for entity extraction and graph generation
Reference to one or more previously uploaded ontologies
[]Number of chunks to process per task batch in Cognify (overrides default).
10
Successful Response
The response is of type Response Cognify Api V1 Cognify Post · object.