Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.suggestions.list
Request body
The request body contains data with the following structure:
Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>.
contextSize
integer
Optional. Max number of messages prior to and including latestMessage to use as context when compiling the suggestion. The context size is by default 100 and at most 100.
previousSuggestedQuery
string
Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is reasonably different from the previous one. This is useful to avoid similar suggestions within the conversation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis API endpoint, \u003ccode\u003ePOST https://{endpoint}/v2beta1/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestKnowledgeAssist\u003c/code\u003e, retrieves knowledge assist suggestions based on historical conversation messages.\u003c/p\u003e\n"],["\u003cp\u003eThe required \u003ccode\u003eparent\u003c/code\u003e path parameter specifies the participant's name in the format \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>\u003c/code\u003e, and the caller needs \u003ccode\u003edialogflow.suggestions.list\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body allows for specifying \u003ccode\u003elatestMessage\u003c/code\u003e, \u003ccode\u003econtextSize\u003c/code\u003e, and \u003ccode\u003epreviousSuggestedQuery\u003c/code\u003e to customize the suggestion generation, with the context size limited to a maximum of 100 messages.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return a \u003ccode\u003eSuggestKnowledgeAssistResponse\u003c/code\u003e, and the API requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,[]]