Skip to main content
POST
/
api
/
v1
/
cognify
Cognify
curl --request POST \
  --url https://api.cognee.ai/api/v1/cognify \
  --header 'Content-Type: application/json' \
  --data '
{
  "datasets": [
    "main_dataset"
  ]
}
'
{}

Body

application/json
datasets
string[] | null
datasetIds
string<uuid>[] | null
Example:
[]
runInBackground
boolean | null
default:false
graphModel
Graphmodel · object
Example:
{}
customPrompt
string | null
default:""

Custom prompt for entity extraction and graph generation

ontologyKey
string[] | null

Reference to one or more previously uploaded ontologies

Example:
[]
chunksPerBatch
integer | null

Number of chunks to process per task batch in Cognify (overrides default).

Example:

10

Response

Successful Response

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