List Ontologies
Returns all ontologies for a project.Query Parameters
Filter by project ID
Response
Array of ontology objects
Create Ontology
Creates a new OWL/Turtle ontology for a project.Request Body
Project ID to associate with
Ontology name
Ontology description
Ontology version (defaults to “1.0”)
Turtle (.ttl) format content following OWL 2 specifications
Status:
draft, active, or archived (defaults to draft)True if auto-generated (defaults to false)
Response
Returns the created ontology object.Get Ontology
Returns a single ontology by ID.Path Parameters
Ontology ID
Response
Returns the ontology object (see List Ontologies for schema).Update Ontology
Updates an ontology’s content, status, or metadata.Path Parameters
Ontology ID
Request Body
All fields are optional. Only provided fields will be updated.New name
New description
New version
New Turtle (.ttl) content
New status:
draft, active, or archivedResponse
Returns the updated ontology object.Delete Ontology
Deletes an ontology.Path Parameters
Ontology ID
Response
Returns204 No Content on success.
Extract Ontology from Data
Runs the schema-inductive extraction algorithm over the specified storage backends, generates an OWL/Turtle ontology, and diffs it against existing active ontologies. If changes are detected the new ontology is flagged asneeds_review and the diff is returned.
Request Body
Project ID
Array of storage config IDs to extract from
Name for the generated ontology
Extract from structured data (defaults to true)
Extract from unstructured data (defaults to false)
Response
The generated ontology object
Entity and relationship counts from the extraction process
Diff against the existing active ontology, if any