List node neighbors
Authentication
AuthorizationApi-Key
Type “Api-Key” followed by a space and the project API key.
Path parameters
graph_uuid
The UUID of the graph. For a user graph, you can also use the UUID of the user.
node_uuid
Node UUID
Query parameters
page_size
The maximum number of items in one page. The SDK method returns a pager. In Python, .items holds only the first page. In TypeScript, .data holds only the first page. To read every page, iterate the pager: use for or list(...) in Python, or for await in TypeScript. In Go, the method returns one page, and Iterator() reads all pages.
cursor
Opaque page cursor
order_by
Sort field
Allowed values:
order
Sort direction: asc or desc
Allowed values:
Request
Request body
direction
The edge orientation to follow from the node: in, out, or both.
Allowed values:
filters
Filters constraining the connecting edges and the neighbor nodes.
Response
OK
items
The neighboring nodes and their connecting edges on this page.
next_cursor
The cursor to pass as the next request’s cursor to fetch the following page; absent when no further pages remain.
total_size
Omitted for this collection; use next_cursor to detect the end of pagination.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error