SmartMemory
GET
/memory/graph/path

Find the shortest path between two graph nodes.

Query Parameters

start_id*Start Id
end_id*End Id
max_hops?Max Hops

Response Body

application/json

application/json

curl -X GET "https://example.com/memory/graph/path?start_id=string&end_id=string"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}