> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.getzep.com/_mcp/server.

# Get Episodes for a node

GET https://api.getzep.com/api/v2/graph/node/{node_uuid}/episodes

Returns all episodes that mentioned a given node

Reference: https://help.getzep.com/sdk-reference/graph/node/get-episodes-for-a-node

## Request

### Path parameters

- `node_uuid` (string, required) — Node UUID

## Response

### 200

Episodes

- `episodes` (list of apidata.GraphEpisode, optional)

## Errors

### 400 Bad Request Error

Bad Request

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Types

### apidata.GraphEpisode

- `content` (string, required)
- `created_at` (string, required)
- `uuid` (string, required)
- `processed` (boolean, optional)
- `role` (string, optional) — Optional role, will only be present if the episode was created using memory.add API
- `role_type` (enum, optional) — Optional role_type, will only be present if the episode was created using memory.add API
  - Allowed values: `norole`, `system`, `assistant`, `user`, `function`, `tool`
- `session_id` (string, optional)
- `source` (enum, optional)
  - Allowed values: `text`, `json`, `message`
- `source_description` (string, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "episodes": [
    {
      "content": "Discussed the impact of climate change on coastal cities and potential mitigation strategies.",
      "created_at": "2024-05-10T14:22:35Z",
      "uuid": "9f8e7d6c-5b4a-3210-9fed-cba987654321",
      "processed": true,
      "role": "user",
      "role_type": "UserRole",
      "session_id": "a1b2c3d4-e5f6-7890-abcd-1234567890ef",
      "source": "text",
      "source_description": "User conversation transcript"
    }
  ]
}
```