---
title: "Return full detail for a single relationship edge."
method: GET
path: "/v1/graph/edges/"
tags: ["graph"]
---

# Return full detail for a single relationship edge.

`GET /v1/graph/edges/`

## Request

- Base URL: `https://api.andish.ru` (the document declares no server; this is the origin it was published from)
- URL: `https://api.andish.ru/v1/graph/edges/`
- Auth: none declared

Returns description, full keywords array, and raw weight (without clamping) for the edge between ``source`` and ``target`` nodes.

**ADR-056:** click-time detail endpoint. The list endpoint ``GET /v1/graph`` returns lightweight ``GraphEdge`` with only the first keyword and weight clamped to [0, 1].

**weight:** raw stored value — values > 1.0 indicate the edge was confirmed by multiple source chunks (reinforced relationship).

**Isolation:** 404 is returned uniformly for cross-tenant or missing edges.

## Query parameters

- `source` string, required: Source node id.
- `target` string, required: Target node id.

## Response `200`

Successful Response

- GraphEdgeDetail: Full detail for a single relationship edge — GET /v1/graph/edges/. Returned by the click-time detail endpoint (ADR-056). List endpoint (GET /v1/graph) returns lightweight GraphEdge instead. Key difference from GraphEdge: - ``description`` is included (GraphEdge omits it). - ``keywords`` is the full array (GraphEdge uses only keywords[0] as type). - ``weight`` is the raw stored value WITHOUT clamp to [0,1]. Values > 1.0 indicate the edge was confirmed by multiple source chunks.
  - `source` string, required: Source node id.
  - `target` string, required: Target node id.
  - `type` string, required: Relationship type label derived from keywords[0] (normalised lowercase snake_case). Falls back to 'related_to'.
  - `description` string, nullable: Full relationship description from lightrag_graph_edges. None when the edge has no extracted description.
  - `keywords` string[]: All relationship keywords as stored in lightrag_graph_edges.keywords[]. May be empty. GraphEdge.type uses only keywords[0].
  - `weight` number, required: Raw relationship weight WITHOUT clamping to [0, 1]. Values > 1.0 indicate the edge was reinforced by multiple source chunks. GraphEdge.weight clamps this to [0, 1] for visual rendering.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/andish/apis/mnemo-api.md) · [All operations](https://skmtc.dev/andish/apis/mnemo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/andish/apis/mnemo-api/revisions/d5449f23414c?raw)
