Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, languageCode, participant, participantRole} Optional fields: {sendTime} If sendTime is not provided, then the messages must be provided in chronological order.
Required. A ConversationProfile containing information required for Summary generation. Required fields: {languageCode, securitySettings} Optional fields: {agent_assistant_config}
latestMessage
string
Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.
maxContextSize
integer
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 conversation without an existing resource, using a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a parent resource path, \u003ccode\u003estatelessConversation.parent\u003c/code\u003e, which identifies the project and location, in the format \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an array of messages from which to generate the summary, and a conversation profile with required information, all with specific required fields, and some optional.\u003c/p\u003e\n"],["\u003cp\u003eThe response will contain an instance of \u003ccode\u003eGenerateStatelessSummaryResponse\u003c/code\u003e upon successful request.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires one of two 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.locations.suggestions.generateStatelessSummary\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 - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION.stateless_conversation.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGenerates and returns a summary for a conversation that does not have a resource created for it.\n\n### HTTP request\n\n`POST https://{endpoint}/v2beta1/{statelessConversation.parent=projects/*/locations/*}/suggestions:generateStatelessSummary`\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 [GenerateStatelessSummaryResponse](/dialogflow/es/docs/reference/rest/v2beta1/GenerateStatelessSummaryResponse).\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)."]]