Expand Neighbors
Expand neighbors of a specific node to get connected nodes and edges with depth-based traversal.
Path Parameters
node_id*Node Id
Query Parameters
depth?Depth
Expansion depth
Range
1 <= value <= 5Default
1limit?Limit
Maximum neighbors to return
Range
1 <= value <= 100Default
50include_metadata?Include Metadata
Include metadata in results
Default
truespace_id?|
Optional memory space lens for the graph
Response Body
application/json
application/json
curl -X GET "https://example.com/graph/expand/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" }}