v36

OpenAPI 3.1.0raw.githubusercontent.com2026-08-0187270483.0 KB
Knowledge Graph

Retrieve the Knowledge Graph

get/v3/knowledge-graph

Query parameters

nodeIDstring

Center the graph on this entity (ent_...) and only return the subgraph within maxDepth hops of it; every node then carries its depth (hops from the center, center = 0). Omit for the uncentered whole-graph view. rootNodeID and focusNodeID are accepted as aliases.

maxDepthinteger

Maximum hops from the center node. Only meaningful with nodeID. Defaults to 2 and is clamped down to a system maximum (5).

limitinteger

Maximum number of edges per page (default 50, max 200).

cursorstring

Cursor: return edges whose KSUID sorts after this value.

typestring[]

Restrict to entities of these types. An edge is returned only when BOTH of its endpoints survive the type filter.

sincestring date-time

Only edges created at/after this RFC 3339 timestamp.

searchstring

Case-insensitive substring match on canonical names. Both endpoints of an edge must match for the edge (and its nodes) to be returned.

bucketstring

Optional bucket public ID (bkt_...) to scope the read to one bucket. Omit for the unscoped (all account+environment) view.

Response

The request has succeeded.

nextCursorstring

Opaque cursor for the next page of edges, or absent on the last page. Pass it back as cursor.