Knowledge Graph

Shortest entity-to-entity path through the co-occurrence graph

Find the shortest path between two entities in the WorldModelAgent graph.

get/api/v1/graph/entity-path

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Query parameters

from_entitystring required

Source entity name

to_entitystring required

Target entity name

max_hopsinteger

Maximum BFS depth

Headers

X-API-Keystring nullable

Response

Successful Response

from_entitystring required
to_entitystring required
pathstring[] required
hop_countinteger required
foundboolean required
retrieved_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.