Suggest 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}/v2beta1/{conversation=projects/*/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 generates a summary for a specified conversation using the \u003ccode\u003esuggestConversationSummary\u003c/code\u003e method within the Dialogflow API.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST request to a specific endpoint URL that includes a conversation identifier as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body is provided in JSON format, containing details such as the latest message in the conversation, the context size, and assist query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will contain a \u003ccode\u003eSuggestConversationSummaryResponse\u003c/code\u003e object upon successful execution of the request.\u003c/p\u003e\n"],["\u003cp\u003eTo use this API, you need to authenticate with one of two specified OAuth scopes: \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"]]],[],null,[]]