Shortest Path

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

Headers

AuthorizationstringRequired
OAuth authentication of the form <token>.

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

Errors