- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns the list of all conversations.
HTTP request
GET https://{endpoint}/v3beta1/{parent=projects/*/locations/*/agents/*}/conversations
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The agent to list all conversations for. Format: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
filter |
Optional. The filter string. Supports filter by createTime, metrics.has_end_interaction, metrics.has_live_agent_handoff, intents.display_name, pages.display_name and flows.display_name. Timestamps expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339] formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are supported. Some examples: 1. By create time: createTime > "2022-04-21T11:30:00-04:00" 2. By intent display name: intents.display_name : "billing" 3. By end interaction signal: metrics.has_end_interaction = true |
page |
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000. |
page |
Optional. The nextPageToken value returned from a previous list request. |
Request body
The request body must be empty.
Response body
The response message for [Conversations.ListConversations][].
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"conversations": [
{
object ( |
Fields | |
---|---|
conversations[] |
The list of conversations. There will be a maximum number of items returned based on the |
next |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.