Merge Spaces
Move Memories, Threads, Library sources, and Working Memory into the target Space, retire the source profile, and preserve its references as target aliases. Apply is rejected when preview reports conflicts.
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
application/json
curl -X POST "https://example.com/spaces/string/merge" \ -H "Content-Type: application/json" \ -d '{ "targetSpaceId": "string" }'{ "merged": true, "sourceSpaceId": "string", "targetSpaceId": "string", "counts": { "memories": 0, "threads": 0, "sources": 0 }, "workingMemoryMoved": true, "contentUpdated": {}, "indexUpdated": {}, "warnings": [ "string" ], "settings": {}}{}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}