> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Memory Edges - GET /v1/workspaces/:workspace_id/cubes/:cube_id/edges

> Return all edges of a cube's memory graph via GET /v1/workspaces/:workspace_id/cubes/:cube_id/edges. Minimum role viewer.

Return all edges of a memory cube's memory graph.

## Endpoint

```http theme={null}
GET /v1/workspaces/:workspace_id/cubes/:cube_id/edges
```

## Authentication

`Authorization: Bearer <jwt>` or `X-API-Key <sk_...>`. Minimum role: **viewer**.

## Path parameters

**workspace\_id** `string` *required*

Workspace id.

**cube\_id** `string` *required*

Cube id.

## Response

The response is an array; each element is an edge:

**id** `string`

Edge id (`edge_...`).

**cube\_id** `string`

Owning cube id.

**from\_id** `string`

Source node id.

**to\_id** `string`

Target node id.

**relation** `string`

Relation label.

**weight** `number`

Edge weight.

## Example

```bash cURL theme={null}
curl https://memo.ariacompute.com/v1/workspaces/ws_01a2b3c4d5e6/cubes/cube_01a2b3c4d5e6/edges \
  -H "Authorization: Bearer <jwt>"
```

```json 200 theme={null}
[
  {
    "id": "edge_01a2b3c4d5e6",
    "cube_id": "cube_01a2b3c4d5e6",
    "from_id": "node_aa",
    "to_id": "node_bb",
    "relation": "related_to",
    "weight": 0.9
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.