Skip to main content
Nowledge MemNowledge Mem

Preview Space Merge

POST
/spaces/{space_ref}/merge/preview

Preview an exact, server-owned Space merge plan without changing data. Returns entity counts, Working Memory disposition, and any conflicts that must be resolved before apply.

Path Parameters

space_ref*Space Ref

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/spaces/string/merge/preview" \  -H "Content-Type: application/json" \  -d '{    "targetSpaceId": "string"  }'
{  "canMerge": true,  "conflicts": [    {}  ],  "counts": {    "memories": 0,    "sources": 0,    "threads": 0  },  "preservesSourceAliases": true,  "source": {},  "target": {},  "workingMemory": {}}