Shortest Path

GET
/v1/shortest_path

The Shortest Path endpoint returns a response identifying the shortest traversal path connecting each pair of entities.

Query parameters

entitiesstringRequired

A list of Sayari entity IDs specifying the source and target entities for the shortest path calculation. The list must contain exactly two entity IDs The first entity ID represents the source.The second entity ID represents the target.

Response

This endpoint returns an object.
entitieslist of strings
datalist of objects