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.
        • GETGet Graph Episodes
        • GETGet User Episodes
        • GETGet Episode
        • PATCHUpdate Episode Metadata
        • DELDelete Episode
        • GETReturn any nodes and edges mentioned in an episode
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceGraphEpisode

Return any nodes and edges mentioned in an episode

GET
https://api.getzep.com/api/v2/graph/episodes/:uuid/mentions
GET
/api/v2/graph/episodes/:uuid/mentions
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.graph.episode.get_nodes_and_edges(
7 uuid_="uuid",
8)
1{
2 "edges": [
3 {
4 "created_at": "string",
5 "fact": "string",
6 "name": "string",
7 "source_node_uuid": "string",
8 "target_node_uuid": "string",
9 "uuid": "string",
10 "attributes": {},
11 "episodes": [
12 "string"
13 ],
14 "expired_at": "string",
15 "invalid_at": "string",
16 "relevance": 1.1,
17 "scope": "string",
18 "score": 1.1,
19 "selection_rank": 1,
20 "valid_at": "string"
21 }
22 ],
23 "nodes": [
24 {
25 "created_at": "string",
26 "name": "string",
27 "summary": "string",
28 "uuid": "string",
29 "attributes": {},
30 "labels": [
31 "string"
32 ],
33 "relevance": 1.1,
34 "score": 1.1,
35 "selection_rank": 1
36 }
37 ]
38}
Returns nodes and edges mentioned in an episode
Was this page helpful?
Previous

Get Graph Nodes

Next
Built with

Path parameters

uuidstringRequired
Episode uuid

Response

Edges and nodes mentioned in an episode
edgeslist of objects
nodeslist of objects

Errors

400
Bad Request Error
500
Internal Server Error