v1

latestOpenAPI 3.1.02026-07-226875162.5 KB
Wiki

Get Wiki Graph Around

Retrieve the graph in the neighborhood of a wiki page (radius-based expansion).

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

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

Path parameters

workspaceGuidstring required

Workspace GUID

Query parameters

pageGuidstring required

Page GUID to center the neighborhood around (required)

radiusinteger

Neighborhood radius (default 2, min 1, max 10)

limitinteger

Maximum nodes to return (default 200, max 200)

Response

Wiki graph in the neighborhood of 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
    }
  ]
}