Upload a single ontology file for later use in cognify operations.
Returns metadata about the uploaded ontology including key, filename, size, and upload timestamp.
cURL
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>'
{}
Successful Response
The response is of type Response Upload Ontology Api V1 Ontologies Post · object.
Response Upload Ontology Api V1 Ontologies Post · object
Was this page helpful?