Method: projects.locations.collections.engines.conversations.list

按父级 DataStore 列出所有对话。

HTTP 请求

GET https://discoveryengine.googleapis.com/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/conversations

网址采用 gRPC 转码语法。

路径参数

参数
parent

string

必需。数据存储区资源名称。格式:projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}

查询参数

参数
pageSize

integer

页面中结果的数量上限。如果未指定,则默认为 50。允许的最大值为 1000。

pageToken

string

从之前的 conversations.list 调用接收的页面令牌。利用其进行后续页面检索。

filter

string

要应用于列表结果的过滤条件。支持的功能包括:userPseudoId、state。

示例:“userPseudoId = some_id”

orderBy

string

以英文逗号分隔的排序依据字段列表,按升序排序。在字段名称后使用“desc”表示降序。支持的字段: * updateTime * createTime * conversation_name

示例:“updateTime desc”“createTime”

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 ListConversationsResponse 实例。

授权范围

需要以下 OAuth 范围之一:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite

如需了解详情,请参阅 Authentication Overview

IAM 权限

需要拥有 parent 资源的以下 IAM 权限:

  • discoveryengine.conversations.list

如需了解详情,请参阅 IAM 文档