Skip to main content

get_knowledge_graph

Function get_knowledge_graph 

Source
pub async fn get_knowledge_graph(
    configuration: &Configuration,
    project: Option<&str>,
) -> Result<GraphOut, Error<GetKnowledgeGraphError>>
Expand description

Returns the caller org’s knowledge as a node/edge graph shaped for a force-directed renderer: pages, memories and synced sources as nodes; the page parent tree, the wikilinks between pages, and each source’s connector provenance as edges. Wikilink targets are resolved HERE by title or slug, so a rename never needs an edge rewrite and a link that matches no page renders as its own "unresolved" node instead of vanishing. ?project= narrows it. A store outage degrades to an honest empty graph, never a 5xx.