Ziwako Docs
Ziwako AI (Mayele)Référence APIWorkspaces

Initialize Workspace

POST
/workspaces/{id}/init

Authorization

AccessToken
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X POST "https://example.com/workspaces/string/init"
{  "status": 0,  "message": "string",  "data": {    "id": "string",    "name": "string",    "description": "",    "ownerId": "string",    "mastraId": "",    "mastraName": "",    "status": "pending",    "workspaceType": "local",    "filesystem": {      "type": "local",      "basePath": "",      "bucket": "",      "region": "",      "readOnly": false,      "config": {}    },    "sandbox": {      "type": "local",      "basePath": "",      "bucket": "",      "region": "",      "readOnly": false,      "config": {}    },    "mounts": [],    "bm25": false,    "vectorStoreConfig": null,    "autoIndexPaths": [],    "skills": [],    "tools": {},    "toolDefaults": {      "enabled": true,      "requireApproval": false,      "requireReadBeforeWrite": false,      "name": "",      "maxOutputTokens": 2000    },    "operationTimeout": 30000,    "lspEnabled": false,    "icon": "📁",    "color": "#f97316",    "collaborators": [],    "isPublic": false,    "metadata": {},    "lastAccessedAt": null,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  },  "type": "string",  "code": "string"}