接口
认证
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>。最小角色:viewer。
路径参数
string
required
工作空间 id。
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/agents \
-H "Authorization: Bearer <jwt>"
[
{
"id": "agent_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"owner_id": "usr_01a2b3c4d5e6",
"name": "文档助手",
"description": "基于知识库回答",
"prompt": "你是一个文档助手。",
"tools": ["rag"],
"visibility": "private",
"created_at": "2026-10-12T12:00:00Z",
"updated_at": "2026-10-12T12:00:00Z"
}
]
通过 GET /v1/workspaces/:workspace_id/agents 返回当前用户可见的智能体编队。最小角色 viewer。
curl https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/agents \
-H "Authorization: Bearer <jwt>"
[
{
"id": "agent_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"owner_id": "usr_01a2b3c4d5e6",
"name": "文档助手",
"description": "基于知识库回答",
"prompt": "你是一个文档助手。",
"tools": ["rag"],
"visibility": "private",
"created_at": "2026-10-12T12:00:00Z",
"updated_at": "2026-10-12T12:00:00Z"
}
]
GET /v1/workspaces/:workspace_id/agents
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>。最小角色:viewer。
curl https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/agents \
-H "Authorization: Bearer <jwt>"
[
{
"id": "agent_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"owner_id": "usr_01a2b3c4d5e6",
"name": "文档助手",
"description": "基于知识库回答",
"prompt": "你是一个文档助手。",
"tools": ["rag"],
"visibility": "private",
"created_at": "2026-10-12T12:00:00Z",
"updated_at": "2026-10-12T12:00:00Z"
}
]
Was this page helpful?