pub struct GraphFetchRequest {
pub limit: u32,
pub cursor: Vec<u8>,
pub include_statements: bool,
pub include_memories: bool,
pub include_memory_edges: bool,
pub include_tombstoned: bool,
pub act_as: Option<ActAs>,
}Expand description
GRAPH_FETCH (0x0163) — a paginated export of the caller’s whole
(namespace, space) typed graph as a node/edge set. Default layer is the
concept map (entity nodes + Relation/Fact edges); include_statements adds
value-object statement nodes, include_memories adds source-memory nodes,
include_memory_edges adds the stored memory↔memory links between them.
The cursor is opaque, signed over the layer toggles.
Fields§
§limit: u32Page size, validated server-side to 1..=500.
cursor: Vec<u8>Empty on first page; opaque continuation token otherwise.
include_statements: boolEmit value-object statement nodes + their HasStatement edges.
include_memories: boolEmit source memory nodes + their Mentions edges.
include_memory_edges: boolEmit the stored memory↔memory edges (SimilarTo, FollowedBy, …)
incident to the page’s memory nodes. Requires include_memories —
setting it alone is rejected, because the edges would have no rendered
endpoints. A far endpoint outside the page is emitted as a memory node
so no edge dangles.
include_tombstoned: boolInclude tombstoned statements/relations. Default false.
act_as: Option<ActAs>Effective identity this export runs as. None (omitted on the wire)
runs as the connection’s own key-bound identity.