OptionalcontextThe document's contextId for conceptsOf.
Optionaldepthsubtree: maximum depth below the resolved node. Default (and cap) 3.
Optionalhopsneighborhood: expansion hops from the resolved entity. Default 1, max 2.
The id of the AiKnowledgeBase.
OptionallimitdocsUnder: maximum documents returned. Default 25, max 100 (totalDocs always reports the full count).
The operation to run.
OptionalqueryThe free-text question for globalSummary (ranks the KB's topic summaries against it).
OptionalrecursivedocsUnder: when true (default), include documents under the whole subtree, not just the node itself.
OptionalrefNode ref (name or facet nodeId). Required by resolve/describe/subtree/docsUnder/neighborhood/pathBetween.
OptionalrefSecond node ref for pathBetween.
Request structure for querying a knowledge base's graph (documents, entities, topics, facets) through the closed op set.
refaccepts a facet nodeId (facet_…— exact; the only persistable concept handles) or a name, resolved server-side (exact → alias → similarity). An unresolvable ref fails withCONCEPT_NOT_FOUNDplus the nearest matching names.