SmartMemory
POST
/memory/workspaces

Create an independent Workspace with an initial same-tenant Team grant.

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/memory/workspaces" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "team_id": "string"  }'
{
  "workspace_id": "string",
  "tenant_id": "string",
  "name": "string",
  "description": "string",
  "is_personal": true,
  "effective_permission": "view",
  "sharing_count": 0,
  "can_manage_shares": true
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}