Required. The name of the participant to fetch suggestion 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:
The current natural language text segment to compile suggestion for. This provides a way for user to get follow up smart reply suggestion after a smart reply selection, without sending a text message.
latestMessage
string
The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of 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 endpoint retrieves smart reply suggestions for a specific participant within a conversation, based on the context of previous messages.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST request to a specified endpoint, requiring a \u003ccode\u003eparent\u003c/code\u003e path parameter which is the participant's name in a specific format.\u003c/p\u003e\n"],["\u003cp\u003eThe request body includes fields like \u003ccode\u003ecurrentTextInput\u003c/code\u003e, \u003ccode\u003elatestMessage\u003c/code\u003e, and \u003ccode\u003econtextSize\u003c/code\u003e to specify the context for generating smart reply suggestions.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires one of the specified OAuth scopes for authorization, either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns an instance of \u003ccode\u003eSuggestSmartRepliesResponse\u003c/code\u003e, and by default uses the 20 most recent messages as a context.\u003c/p\u003e\n"]]],[],null,[]]