メインコンテンツへ移動
Nowledge Mem

Spaceのマージ

POST
/spaces/{space_ref}/merge

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.

パスパラメータ

space_ref*Space Ref

リクエストボディ

application/json

TypeScript定義

TypeScriptでrequest body型を使用します。

レスポンスボディ

application/json

application/json

application/json

curl -X POST "https://example.com/spaces/string/merge" \  -H "Content-Type: application/json" \  -d '{    "targetSpaceId": "string"  }'
{  "contentUpdated": {},  "counts": {    "memories": 0,    "sources": 0,    "threads": 0  },  "indexUpdated": {},  "merged": true,  "settings": {},  "sourceSpaceId": "string",  "targetSpaceId": "string",  "warnings": [    "string"  ],  "workingMemoryMoved": true}