Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["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: reasoningEngines.query\n\n**Full name**: projects.locations.reasoningEngines.query\n\nQueries using a reasoning engine. \n\n### Endpoint\n\npost `https:``/``/aiplatform.googleapis.com``/v1``/{name}:query` \n\n### Path parameters\n\n`name` `string` \nRequired. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `input` `object (`[Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct)` format)` \nOptional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.\n`classMethod` `string` \nOptional. Class method to be used for the query. It is optional and defaults to \"query\" if unspecified. \n\n### Response body\n\nResponse message for \\[ReasoningEngineExecutionService.Query\\]\\[\\]\n\nIf successful, the response body contains data with the following structure:\nFields `output` `value (`[Value](https://protobuf.dev/reference/protobuf/google.protobuf/#value)` format)` \nResponse provided by users in JSON object format."]]