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 User Nodes

POST
https://api.getzep.com/api/v2/graph/node/user/:user_id
POST
/api/v2/graph/node/user/:user_id
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.graph.node.get_by_user_id(
7 user_id="user_id",
8)
1[
2 {
3 "created_at": "string",
4 "name": "string",
5 "summary": "string",
6 "uuid": "string",
7 "attributes": {},
8 "labels": [
9 "string"
10 ],
11 "relevance": 1.1,
12 "score": 1.1,
13 "selection_rank": 1
14 }
15]
Returns all nodes for a user
Was this page helpful?
Previous

Get Entity Edges for a node

Next
Built with

Path parameters

user_idstringRequired
User ID

Request

Pagination parameters
limitintegerOptional
Maximum number of items to return
uuid_cursorstringOptional
UUID based cursor, used for pagination. Should be the UUID of the last item in the previous page

Response

Nodes
created_atstring
Creation time of the node
namestring
Name of the node
summarystring
Regional summary of surrounding edges
uuidstring
UUID of the node
attributesmap from strings to any
Additional attributes of the node. Dependent on node labels
labelslist of strings
Labels associated with the node
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).

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.

Errors

400
Bad Request Error
500
Internal Server Error