ReferenceKnowledge graph

Get the knowledge graph

Nodes and edges for the memory, ready to render.

Entities carry their community and centrality so a client can colour by cluster and size by importance without a second pass.

GET
/api/v1/memory/graph/customer-view

Authorization

x-api-key<token>

A platform key (ck_live_…) — reaches every memory in the tenant.

In: header

Query Parameters

vault_id?string
limit?integer
Rangevalue <= 2000
Default250

Response Body

application/json

curl -X GET "https://example.com/api/v1/memory/graph/customer-view"
{  "nodes": [    {      "entity_id": "string",      "name": "string",      "type": "string",      "attributes": {},      "community_id": 0,      "centrality": 0.1,      "document_count": 0    }  ],  "edges": [    {      "source": "string",      "target": "string",      "type": "string",      "weight": 0.1    }  ]}
Was this page helpful?
Report an issue