Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.
HTTP request
POST https://{endpoint}/v2/{conversation=projects/*/locations/*/conversations/*}/suggestions:suggestConversationSummary
Optional. The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used.
Optional. Max number of messages prior to and including [latestMessage] to use as context when compiling the suggestion. By default 500 and at most 1000.
[[["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 allows you to request a summary for a specified conversation using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a conversation path parameter, formatted as \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body can include the latest message name, the number of context messages and parameters for a human assist query.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elatestMessage\u003c/code\u003e field allows you to specify a message ID within the conversation to set as context, otherwise the most recent message will be used, and the context size defines the number of previous messages to be used to build the summary.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request 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 scopes.\u003c/p\u003e\n"]]],[],null,[]]