Skip to main content

Ontology API Reference

Ontology authoring runs over ordinary Collate REST APIs. None of these require the RDF triple store, the relational model is authoritative.

Relationship Types

Governed OWL object properties. /api/v1/relationshipTypes Related: GET /api/v1/glossaryTerms/relationTypes/usage returns usage counts per type.

Ontology Axioms

Governed OWL axioms. /api/v1/ontologyAxioms Axiom types: SUBCLASS_OF, EQUIVALENT_CLASS, DISJOINT_WITH, CLASS_ASSERTION, OBJECT_PROPERTY_ASSERTION, DATA_PROPERTY_ASSERTION.

Change Sets

Durable authoring sessions with typed, reversible operations. /api/v1/ontologyChangeSets States: DRAFT, SUBMITTED, APPLIED, APPLY_FAILED, DISCARDED. Operation types: CREATE_TERM, UPDATE_TERM, DELETE_TERM, ADD_RELATIONSHIP, UPDATE_RELATIONSHIP, DELETE_RELATIONSHIP, UPSERT_ATTRIBUTE, DELETE_ATTRIBUTE, UPSERT_MAPPING, DELETE_MAPPING, UPSERT_AXIOM, DELETE_AXIOM. Each carries a baseVersion for optimistic concurrency.

Editing Leases

/api/v1/ontologyEditLocks

Modeling Tools

Patterns available: REGULATORY_CONTROL, MEASURED_KPI, PRODUCT_HIERARCHY.

Impact Analysis

The report includes children, removed relationships, bound assets (sampled up to 100, with a total count and truncation flag), lost concept mappings, and whether SHACL revalidation is required. The impactToken is bound to the principal and the exact snapshot and expires after two minutes.

Ontology Packs

Bulk Authoring

/api/v1/ontology/bulk

AI Proposals

/api/v1/ontology/ai, requires RDF_ASK_COLLATE_ENABLED=true and a configured LLM provider. Every route authorizes ViewBasic on the target glossary.

Glossary and Term Endpoints Used by the Studio

Example: Create a Custom Relationship Type

Example: Dry-run an Ontology Import

Next

Knowledge Graph API

Endpoints under /api/v1/rdf.

Full API reference

The generated OpenAPI documentation.