> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs-beta.getzep.com/v2/sdk-reference/graph/episode/return-any-nodes-and-edges-mentioned-in-an-episode/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server. # Return any nodes and edges mentioned in an episode GET https://api.getzep.com/api/v2/graph/episodes/{uuid}/mentions Returns nodes and edges mentioned in an episode Reference: https://docs-beta.getzep.com/sdk-reference/graph/episode/return-any-nodes-and-edges-mentioned-in-an-episode ## Request ### Path parameters - `uuid` (string, required) — Episode uuid ## Response ### 200 Edges and nodes mentioned in an episode - `edges` (list of graphiti.EntityEdge, optional) - `nodes` (list of graphiti.EntityNode, optional) ## Errors ### 400 Bad Request Error Bad Request - `message` (string, optional) ### 500 Internal Server Error Internal Server Error - `message` (string, optional) ## Types ### graphiti.EntityEdge - `created_at` (string, required) — Creation time of the edge - `fact` (string, required) — Fact representing the edge and nodes that it connects - `name` (string, required) — Name of the edge, relation name - `source_node_uuid` (string, required) — UUID of the source node - `target_node_uuid` (string, required) — UUID of the target node - `uuid` (string, required) — UUID of the edge - `attributes` (map from string to any, optional) — Additional attributes of the edge. Dependent on edge types - `episodes` (list of string, optional) — List of episode ids that reference these entity edges - `expired_at` (string, optional) — Datetime of when the node was invalidated - `invalid_at` (string, optional) — Datetime of when the fact stopped being true - `valid_at` (string, optional) — Datetime of when the fact became true ### graphiti.EntityNode - `created_at` (string, required) — Creation time of the node - `name` (string, required) — Name of the node - `summary` (string, required) — Regional summary of surrounding edges - `uuid` (string, required) — UUID of the node - `attributes` (map from string to any, optional) — Additional attributes of the node. Dependent on node labels - `labels` (list of string, optional) — Labels associated with the node ## Examples **Request** ```json {} ``` **Response** ```json { "edges": [ { "created_at": "2024-05-20T10:15:30Z", "fact": "Alice is the CEO of Acme Corp", "name": "employment", "source_node_uuid": "d4e5f6a7-b8c9-4d0e-9f1a-2b3c4d5e6f7a", "target_node_uuid": "e7f8a9b0-c1d2-3e4f-5a6b-7c8d9e0f1a2b", "uuid": "f1e2d3c4-b5a6-7890-1234-56789abcdef0", "attributes": { "confidence": 0.95, "source": "transcript" }, "episodes": [ "a3f1c9d2-7b4e-4f8a-9c3d-2e5b6f7a8c9d" ], "expired_at": null, "invalid_at": null, "valid_at": "2020-01-01T00:00:00Z" } ], "nodes": [ { "created_at": "2019-12-15T08:00:00Z", "name": "Alice Johnson", "summary": "Key executive leading Acme Corp since 2020", "uuid": "d4e5f6a7-b8c9-4d0e-9f1a-2b3c4d5e6f7a", "attributes": { "industry": "Technology", "occupation": "CEO" }, "labels": [ "Person", "Executive" ] } ] } ```