Skip to main content
POST
/
api
/
v1
/
add
Add
curl --request POST \
  --url https://api.cognee.ai/api/v1/add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'data=Cognee is a knowledge graph platform for AI applications.' \
  --form data.items='@example-file'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
data
file[]
datasetName
string | null
datasetId
Example:

""

node_set
string[] | null

Response

Successful Response

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