Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a new space from a configuration object. Creates the directory and files.
cURL
curl -X POST http://localhost:18080/api/workspaces/create \ -H 'Content-Type: application/json' \ -d '{ "config": { "version": "1.0", "workspace": { "name": "my-space", "description": "A new space" } } }'
{ "success": true, "workspace": { "id": "abc123", "name": "my-space", "description": "My first space", "status": "active", "path": "<string>", "createdAt": "2023-11-07T05:31:56Z", "lastSeen": "2023-11-07T05:31:56Z" }, "created": true, "workspacePath": "<string>", "filesCreated": [ "<string>" ] }
Full workspace configuration (workspace.yml content as JSON)
Optional directory name
Create as ephemeral (temporary) space
Space created
Show child attributes