brain_knowledge_graph
Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts
Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts
Behavior
- HTTP
GET /brain/knowledge/graph
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| limit | integer | — | Max nodes (default 5000). When the cap applies the HIGHEST-DEGREE nodes are kept, so a small limit (e.g. 100) returns the hub concepts — that is usually what you want |
| scope | string | — | Read scope; 'both' (default) unions shared + your private |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| edges | array | • | |
| nodes | array | • | |
| totals | object | • | |
| truncated | boolean | • | |
| elapsed_ms | number | • | |
| request_id | string | • |
Try it
Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts.