Create Space
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "http://127.0.0.1:14242/spaces" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"enabled": false,
"spaces": [
{
"id": "string",
"key": "string",
"name": "string",
"aliases": [
"string"
],
"description": "string",
"icon": "string",
"instructions": "string",
"sharedSpaceIds": [
"string"
],
"defaultRetrievalMode": "strict",
"usage": {
"memories": 0,
"threads": 0,
"sources": 0,
"hasWorkingMemory": false
},
"observed": false,
"hasProfile": true
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}