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,["# Method: projects.conversations.suggestions.suggestConversationSummary\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nSuggest 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.\n\n### HTTP request\n\n`POST https://{endpoint}/v2beta1/{conversation=projects/*/conversations/*}/suggestions:suggestConversationSummary`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/dialogflow/es/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [SuggestConversationSummaryResponse](/dialogflow/es/docs/reference/rest/v2beta1/SuggestConversationSummaryResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/dialogflow`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]