GET /openapi/memorylake/api/v3/workspaces/{workspaceId}/memories/conversations
所需权限:
workspace:conv_read路径参数
string
required
工作空间标识符
查询参数
integer
default:"20"
每页返回的会话数量
string
上一次响应返回的分页令牌,用于获取下一页结果
curl -X GET 'https://app.memorylake.cn/openapi/memorylake/api/v3/workspaces/ws-fe314186ccd18cde04d6af48a5afd79f/memories/conversations?page_size=20' \
-H 'Authorization: Bearer sk_xxxxxx'
响应
object
{
"success": true,
"data": {
"items": [
{
"id": "conv-b03d4e0bf663000c7bafdc724a11eb3f",
"name": "Onboarding Session",
"kind": "DIRECT",
"metadata": {
"channel": "web",
"language": "en"
},
"custom_id": "session-20250601-001",
"rw_project_ids": ["proj-b93e8d95a8705bcc4ec42a65ba4cc7f8"],
"actor_ids": ["actor-93688d5ec8d2e98701be3d5554cbc455", "actor-9831773f1353358f4196b22505d879e0"],
"current_message_id": "msg_9e4b2c3d5f6a7b8c",
"created_at": "2025-06-01T09:15:00Z",
"updated_at": "2025-06-01T09:42:00Z"
}
],
"continuation_token": "eyJsYXN0X2lkIjoiY29udl84ZjNhMWIyYzRkNWU2ZjdhIn0"
}
}