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 Episodes for a node

GET
https://api.getzep.com/api/v2/graph/node/:node_uuid/episodes
GET
/api/v2/graph/node/:node_uuid/episodes
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.graph.node.get_episodes(
7 node_uuid="node_uuid",
8)
1{
2 "episodes": [
3 {
4 "content": "string",
5 "created_at": "string",
6 "uuid": "string",
7 "metadata": {},
8 "processed": true,
9 "relevance": 1.1,
10 "role": "string",
11 "role_type": "norole",
12 "score": 1.1,
13 "selection_rank": 1,
14 "source": "text",
15 "source_description": "string",
16 "task_id": "string",
17 "thread_id": "string"
18 }
19 ]
20}
Returns all episodes that mentioned a given node
Was this page helpful?
Previous

Get Node

Next
Built with

Path parameters

node_uuidstringRequired
Node UUID

Response

Episodes
episodeslist of objects

Errors

400
Bad Request Error
500
Internal Server Error