Required. The content of the current conversation with the model.
For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
Steps of extension or LLM interaction, can contain function call, function response, or text response. The last step contains the final response to the query.
[[["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."],[],[],null,["# Method: extensions.query\n\n**Full name**: projects.locations.extensions.query\n\nQueries an extension with a default controller. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1beta1``/{name}:query` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`name` `string` \nRequired. name (identifier) of the extension; Format: `projects/{project}/locations/{location}/extensions/{extension}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `contents[]` `object (`[Content](/vertex-ai/docs/reference/rest/v1beta1/Content)`)` \nRequired. The content of the current conversation with the model.\n\nFor single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. \n\n### Response body\n\nResponse message for [ExtensionExecutionService.QueryExtension](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.extensions/query#google.cloud.aiplatform.v1beta1.ExtensionExecutionService.QueryExtension).\n\nIf successful, the response body contains data with the following structure:\nFields `steps[]` `object (`[Content](/vertex-ai/docs/reference/rest/v1beta1/Content)`)` \nSteps of extension or LLM interaction, can contain function call, function response, or text response. The last step contains the final response to the query.\n`failureMessage` `string` \nFailure message if any."]]