Set graph ontology
Sets custom entity and edge types for your graph. This wrapper method provides a clean interface for defining your graph schema with custom entity and edge types.
See the full documentation for details.
Request
This endpoint expects an object.
entities
Dictionary mapping entity type names to their definitions
edges
Dictionary mapping edge type names to their definitions with source/target constraints
user_ids
Optional list of user IDs to apply ontology to
graph_ids
Optional list of graph IDs to apply ontology to
Response
Ontology set successfully
message