Skip to main content
POST
/
api
/
v1
/
ontologies
Upload Ontology
curl --request POST \
  --url https://api.cognee.ai/api/v1/ontologies \
  --header 'Content-Type: multipart/form-data' \
  --form 'ontology_key=<string>' \
  --form 'ontology_file=<string>'
{}

Body

multipart/form-data
ontology_key
string
required
ontology_file
string
required
description
string | null

Response

Successful Response

The response is of type Response Upload Ontology Api V1 Ontologies Post · object.