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, formatted as \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>\u003c/code\u003e, which is specified in the \u003ccode\u003estatelessConversation.parent\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body includes a \u003ccode\u003estatelessConversation\u003c/code\u003e object, a \u003ccode\u003econversationProfile\u003c/code\u003e object, and optional fields such as \u003ccode\u003elatestMessage\u003c/code\u003e and \u003ccode\u003emaxContextSize\u003c/code\u003e, containing details about the conversation messages and context.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estatelessConversation.messages\u003c/code\u003e array within the request body must contain the conversation's message details, such as content, language code, participant, and participant role, ensuring no personally identifiable information (PII) is included.\u003c/p\u003e\n"],["\u003cp\u003eThe successful response will contain a \u003ccode\u003eGenerateStatelessSummaryResponse\u003c/code\u003e object, and authentication 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.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}/v2/{statelessConversation.parent=projects/*}/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/v2/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)."]]