接口
认证
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>。最小角色:viewer。
路径参数
string
required
工作空间 id。
响应
响应为一个数组,每个元素为立方体:string
立方体 id。
string
名称。
string
拥有者用户 id。
string
所属工作空间 id。
string[]
可读主体 id 列表。
string[]
可写主体 id 列表。
string
创建时间(RFC3339)。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/cubes \
-H "Authorization: Bearer <jwt>"
[
{
"id": "cube_01a2b3c4d5e6",
"name": "用户画像",
"owner_id": "usr_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"readable": ["usr_aa"],
"writable": ["usr_aa"],
"created_at": "2026-10-12T08:20:00Z"
}
]
通过 GET /v1/workspaces/:workspace_id/cubes 返回工作空间下当前用户可见的记忆立方。最小角色 viewer。
curl https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/cubes \
-H "Authorization: Bearer <jwt>"
[
{
"id": "cube_01a2b3c4d5e6",
"name": "用户画像",
"owner_id": "usr_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"readable": ["usr_aa"],
"writable": ["usr_aa"],
"created_at": "2026-10-12T08:20:00Z"
}
]
GET /v1/workspaces/:workspace_id/cubes
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>。最小角色:viewer。
curl https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/cubes \
-H "Authorization: Bearer <jwt>"
[
{
"id": "cube_01a2b3c4d5e6",
"name": "用户画像",
"owner_id": "usr_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"readable": ["usr_aa"],
"writable": ["usr_aa"],
"created_at": "2026-10-12T08:20:00Z"
}
]
Was this page helpful?