> 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 Edge

GET https://api.getzep.com/api/v2/graph/edge/{uuid}

Returns a specific edge by its UUID.

Reference: https://help.getzep.com/sdk-reference/graph/edge/get-edge

## Request

### Path parameters

- `uuid` (string, required) — Edge UUID

## Response

### 200

Edge

- `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

## Errors

### 400 Bad Request Error

Bad Request

- `message` (string, optional)

### 404 Not Found Error

Not Found

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "created_at": "2024-05-20T10:15:30Z",
  "fact": "Node A influences Node B under specific conditions",
  "name": "influences",
  "source_node_uuid": "a1b2c3d4-e5f6-7890-ab12-cd34ef56gh78",
  "target_node_uuid": "z9y8x7w6-v5u4-3210-ts98-rq76po54nm32",
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "attributes": {
    "weight": 0.75,
    "relationshipType": "causal"
  },
  "episodes": [
    "episode-1234abcd"
  ],
  "expired_at": "2025-05-20T10:15:30Z",
  "invalid_at": "2024-12-31T23:59:59Z",
  "valid_at": "2024-01-01T00:00:00Z"
}
```