Wiki
Get wiki link graph
Returns a slice of the wiki link graph for visualization. Supports mode=overview (top-N most-connected pages, default) and mode=ego (BFS neighborhood of a center slug) to keep response size tractable for knowledge bases with tens of thousands of pages.
get/knowledgebase/{kb_id}/wiki/graph
Path parameters
kb_idstring required
Knowledge base ID
Query parameters
modestring
overview (default) | ego
centerstring
Center slug for ego mode
depthinteger
Ego BFS depth (1-3, default 1)
typesstring
Comma-separated page_type allow-list
limitinteger
Max nodes to return (default 500, max 2000)
Response
OK