owner,并写入一条成员记录。后续知识库、记忆、Wiki 等都挂在某个工作空间之下。
接口
认证
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>(仅需登录,无工作空间角色要求)。
请求体
string
工作空间名称,省略时默认「新工作空间」。
响应
string
工作空间 id(
ws_...)。string
名称。
string
创建者在该空间的角色,恒为
owner。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://memo.ariacompute.cn/v1/workspaces \
-H "Authorization: Bearer <jwt>" \
-H "Content-Type: application/json" \
-d '{"name":"我的研究团队"}'
{
"id": "ws_01a2b3c4d5e6",
"name": "我的研究团队",
"role": "owner"
}
通过 POST /v1/workspaces 创建隔离租户,创建者自动成为 owner。可选 name。
curl -X POST https://memo.ariacompute.cn/v1/workspaces \
-H "Authorization: Bearer <jwt>" \
-H "Content-Type: application/json" \
-d '{"name":"我的研究团队"}'
{
"id": "ws_01a2b3c4d5e6",
"name": "我的研究团队",
"role": "owner"
}
owner,并写入一条成员记录。后续知识库、记忆、Wiki 等都挂在某个工作空间之下。
POST /v1/workspaces
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>(仅需登录,无工作空间角色要求)。
ws_...)。owner。curl -X POST https://memo.ariacompute.cn/v1/workspaces \
-H "Authorization: Bearer <jwt>" \
-H "Content-Type: application/json" \
-d '{"name":"我的研究团队"}'
{
"id": "ws_01a2b3c4d5e6",
"name": "我的研究团队",
"role": "owner"
}
Was this page helpful?