所需权限:
workspace:agent_list路径参数
string
required
工作空间标识符
查询参数
integer
每页返回的 Agent 绑定数量
string
上一次响应中的 token,用于获取下一页结果
string
按 Agent 名称模糊搜索
响应
object
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET 'https://app.memorylake.cn/openapi/memorylake/api/v3/workspaces/ws_abc123/agents?page_size=20' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"data": {
"items": [
{
"name": "Support Assistant",
"agent_id": "agt_r8k2m1n3",
"custom_id": "support-assistant-v1",
"latest_version": 3,
"bound_at": "2025-04-01T08:00:00Z"
},
{
"name": "Research Agent",
"agent_id": "agt_t5v9w3y7",
"custom_id": "research-agent-v1",
"latest_version": 1,
"bound_at": "2025-04-10T15:30:00Z"
}
],
"continuation_token": null
}
}
返回绑定到工作空间的 Agent 分页列表
GET /openapi/memorylake/api/v3/workspaces/{workspaceId}/agents
workspace:agent_listcurl -X GET 'https://app.memorylake.cn/openapi/memorylake/api/v3/workspaces/ws_abc123/agents?page_size=20' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"data": {
"items": [
{
"name": "Support Assistant",
"agent_id": "agt_r8k2m1n3",
"custom_id": "support-assistant-v1",
"latest_version": 3,
"bound_at": "2025-04-01T08:00:00Z"
},
{
"name": "Research Agent",
"agent_id": "agt_t5v9w3y7",
"custom_id": "research-agent-v1",
"latest_version": 1,
"bound_at": "2025-04-10T15:30:00Z"
}
],
"continuation_token": null
}
}