Prometheus Entity Management API
    Preparing search index...
    • Apply an AG-UI STATE_SNAPSHOT to the graph: store the whole document, write each mapped slice as entities, record collection order, and remove items the previous document had at a mapped pointer but this one does not. Writes use each mapping's write mode (default upsert).

      Parameters

      Returns AgUiApplyResult

      applyAgUiSnapshot(event, { mappings: [
      { entityType: "Order", pointer: "/order", kind: "single", write: "replace" },
      { entityType: "LineItem", pointer: "/order/items", kind: "collection" },
      ]});