Skip to navigation

Get subgraph

Authentication

AuthorizationApi-Key

Type "Api-Key" followed by a space and the project API key.

Path parameters

graph_uuidstringRequired
Graph UUID

Request

Request body
seed_node_uuidslist of stringsRequired

The node UUIDs to expand from, in traversal-priority order.

depthintegerOptional1-3
The maximum traversal depth from the seed nodes. Defaults to 1.
directionenumOptional

The edge orientation to follow during expansion: in, out, or both. Defaults to both.

Allowed values:
filtersobjectOptional
Filters constraining the traversed edges and included nodes.
max_edgesintegerOptional1-1000
The maximum number of edges in the response. Defaults to 200.
max_nodesintegerOptional1-500
The maximum number of nodes in the response. Defaults to 100.

Response

OK
edgeslist of objectsOptional

Every traversed edge that passed the request filters; both endpoints of every edge are present in nodes.

nodeslist of objectsOptional
Every admitted seed node and every node reached within the traversal budget.
truncatedbooleanOptional
Whether any budget or limit reduced the result.
truncation_reasonstringOptional

The binding limit that caused truncation, such as max_nodes or max_edges; present only when truncated is true.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error