SmartMemory
GET
/memory/graph/full

Return scoped nodes and their graph relationships for visualization.

Returns both memory nodes and entity nodes (extracted by the pipeline), along with all edges between them. Excludes internal infrastructure nodes (version_*) and edge types (HAS_VERSION).

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).

In: header

Query Parameters

limit?Limit

Requested max nodes (server-capped)

Response Body

application/json

application/json

curl -X GET "https://example.com/memory/graph/full"
{
  "nodes": [
    {
      "item_id": "string",
      "label": "",
      "memory_type": "semantic",
      "content": "",
      "category": "memory",
      "confidence": 0,
      "created_at": "string",
      "origin": "string"
    }
  ],
  "edges": [
    {
      "source_id": "string",
      "target_id": "string",
      "edge_type": "string",
      "properties": {},
      "canonical_type": "string",
      "plausibility_score": 0
    }
  ],
  "node_count": 0,
  "edge_count": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}