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

スペースの作成

POST
/spaces

リクエストボディ

application/json

TypeScript定義

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

レスポンスボディ

application/json

application/json

curl -X POST "https://example.com/spaces" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "enabled": false,  "spaces": [    {      "aliases": [        "string"      ],      "defaultRetrievalMode": "strict",      "description": "string",      "hasProfile": true,      "icon": "string",      "id": "string",      "instructions": "string",      "key": "string",      "name": "string",      "observed": false,      "sharedSpaceIds": [        "string"      ],      "usage": {        "hasWorkingMemory": false,        "memories": 0,        "sources": 0,        "threads": 0      }    }  ]}