ontologies
List Ontologies
List all uploaded ontologies for the authenticated user.
Response
Returns a dictionary mapping ontology keys to their metadata including filename, size, and upload timestamp.
Error Codes
- 500 Internal Server Error: File system or processing errors
GET
List Ontologies
Documentation Index
Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - application/json
Successful Response
The response is of type Response List Ontologies Api V1 Ontologies Get · object.
Previous
Upload OntologyUpload a single ontology file for later use in cognify operations.
## Request Parameters
- **ontology_key** (str): User-defined identifier for the ontology.
- **ontology_file** (UploadFile): Single OWL format ontology file
- **description** (Optional[str]): Optional description for the ontology.
## Response
Returns metadata about the uploaded ontology including key, filename, size, and upload timestamp.
## Error Codes
- **400 Bad Request**: Invalid file format, duplicate key, multiple files uploaded
- **500 Internal Server Error**: File system or processing errors
Next
List Ontologies