所需权限:
workspace:list查询参数
integer
默认值:"20"
每页返回的工作空间数量
string
上一次响应返回的令牌,用于获取下一页结果
string
按工作空间名称模糊筛选(部分匹配)
响应
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.ai/openapi/memorylake/api/v3/workspaces?page_size=20' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"data": {
"items": [
{
"id": "ws_abc123def456",
"name": "My Research Workspace",
"description": "Central workspace for research documents and notes",
"metadata": {
"team": "research",
"priority": "high"
},
"custom_id": "research-ws-001",
"created_at": "2025-03-10T08:30:00Z",
"updated_at": "2025-03-15T12:00:00Z"
}
],
"continuation_token": "eyJsYXN0X2lkIjoid3NfYWJjMTIzZGVmNDU2In0"
}
}
返回工作空间的分页列表,支持可选的筛选条件
GET /openapi/memorylake/api/v3/workspaces
workspace:listcurl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces?page_size=20' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"data": {
"items": [
{
"id": "ws_abc123def456",
"name": "My Research Workspace",
"description": "Central workspace for research documents and notes",
"metadata": {
"team": "research",
"priority": "high"
},
"custom_id": "research-ws-001",
"created_at": "2025-03-10T08:30:00Z",
"updated_at": "2025-03-15T12:00:00Z"
}
],
"continuation_token": "eyJsYXN0X2lkIjoid3NfYWJjMTIzZGVmNDU2In0"
}
}