v1

latestOpenAPI 3.1.02026-07-226875162.5 KB
Wiki

Expand Wiki Graph

Expand the graph around a specific wiki page by traversing links up to a given depth.

Returns 402 if wiki is not plan-eligible or not activated.

get/v1/external/workspaces/{workspaceGuid}/wiki/graph/expand

Path parameters

workspaceGuidstring required

Workspace GUID

Query parameters

pageGuidstring required

Page GUID to expand from (required)

depthinteger

Link traversal depth (default 1, min 1, max 10)

limitinteger

Maximum nodes to return (default 50, max 200)

Response

Expanded wiki graph centered on the page

Example response

{
  "nodes": [
    {
      "guid": "page_abc123",
      "canonicalName": "Alice Kim",
      "pageType": "ENTITY",
      "entitySubtype": "PERSON",
      "extractionStatus": "EXTRACTED",
      "mentionCountVisible": 5
    }
  ],
  "edges": [
    {
      "guid": "link_abc123",
      "sourcePageGuid": "page_src_123",
      "targetPageGuid": "page_tgt_456",
      "linkType": "works_at",
      "linkTypeDisplayKo": "근무처",
      "linkTypeDisplayEn": "Works At",
      "isDirectional": true
    }
  ]
}