For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PlaygroundDiscordStatusDashboardSign Up >
DocumentationSDK ReferenceGraphiti
DocumentationSDK ReferenceGraphiti
  • SDK Reference
      • PUTSet graph ontology
      • GETList graph ontology
      • POSTAdd Data
      • POSTAdd Data in batch mode
      • POSTAdd Fact Triple
      • POSTClone graph
      • POSTCreate Graph
      • GETList all graphs.
      • POSTDetect Patterns (Experimental)
      • POSTSearch Graph
      • GETGet Graph
      • DELDelete Graph
      • PATCHUpdate Graph.
        • POSTGet Graph Nodes
        • POSTGet User Nodes
        • GETGet Entity Edges for a node
        • GETGet Episodes for a node
        • GETGet Node
        • PATCHUpdate Node
        • DELDelete Node
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceGraphNode

Get Entity Edges for a node

GET
https://api.getzep.com/api/v2/graph/node/:node_uuid/entity-edges
GET
/api/v2/graph/node/:node_uuid/entity-edges
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.graph.node.get_edges(
7 node_uuid="node_uuid",
8)
1[
2 {
3 "created_at": "string",
4 "fact": "string",
5 "name": "string",
6 "source_node_uuid": "string",
7 "target_node_uuid": "string",
8 "uuid": "string",
9 "attributes": {},
10 "episodes": [
11 "string"
12 ],
13 "expired_at": "string",
14 "invalid_at": "string",
15 "relevance": 1.1,
16 "scope": "string",
17 "score": 1.1,
18 "selection_rank": 1,
19 "valid_at": "string"
20 }
21]
Returns all edges for a node
Was this page helpful?
Previous

Get Episodes for a node

Next
Built with

Path parameters

node_uuidstringRequired
Node UUID

Response

Edges
created_atstring
Creation time of the edge
factstring
Fact representing the edge and nodes that it connects
namestring
Name of the edge, relation name
source_node_uuidstring
UUID of the source node
target_node_uuidstring
UUID of the target node
uuidstring
UUID of the edge
attributesmap from strings to any
Additional attributes of the edge. Dependent on edge types
episodeslist of strings
List of episode ids that reference these entity edges
expired_atstring
Datetime of when the node was invalidated
invalid_atstring
Datetime of when the fact stopped being true
relevancedouble

Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation. Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).

scopestring

Scope of the edge (e.g. “entity”, “maybe_related”)

scoredouble

Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker

selection_rankinteger

SelectionRank is the global cross-scope rank assigned by auto scope selection.

valid_atstring
Datetime of when the fact became true

Errors

400
Bad Request Error
500
Internal Server Error