Skip to main content
Nowledge MemNowledge Mem

Get Identity Sample

GET
/graph/identity-sample

Connected sample of the main graph grown from identity nodes. Labs feature: 404 unless Labs → Identity graph is on.

Seeds the best-connected identities (Entities carrying an identity profile), expands over every relationship for a few hops, and joins separate components by whole shortest paths inside the Space. Never more than limit nodes; metadata.clipped reports when neighbors or joins were left out. With a Space, PARTICIPATED edges (identity → conversation) are computed from message records when read, with roles and evidence in edge metadata; nothing is stored for them. Same node and edge shape as /graph/overview; identity nodes carry metadata.identity.

Query Parameters

space_id?|

Optional memory space lens for the graph

n?N

Identity nodes to seed the sample from

Range1 <= value <= 100
Default20
hops?Hops

Hops to expand from the seeds

Range1 <= value <= 4
Default2
limit?Limit

Maximum nodes in the sample

Range20 <= value <= 1000
Default300

Response Body

application/json

application/json

curl -X GET "https://example.com/graph/identity-sample"
null