Get Live Preview Neighbors
Get a compact 1-hop neighborhood for feed/live preview surfaces.
Unlike expand_neighbors, this path intentionally avoids path
materialization and returns only direct neighbor rows plus connecting edges.
Path Parameters
node_id*string
Query Parameters
limit?integer
Maximum direct neighbors to return
Default
20Range
1 <= value <= 50include_metadata?boolean
Include metadata in results
Default
trueResponse Body
application/json
application/json
curl -X GET "http://127.0.0.1:14242/graph/live-preview/string"{
"center_node": "string",
"depth": 0,
"neighbors": [
null
],
"edges": [
null
],
"total_neighbors": 0,
"total_edges": 0,
"metadata": {
"expansion_depth": 0,
"max_limit": 0,
"include_metadata": true,
"query_type": "string",
"error": "string"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}