Vertex AI documentation is no longer being updated Vertex AI's services are now part of Gemini Enterprise Agent Platform. See the most up-to-date information in the Agent Platform documentation .
Send feedback
Method: reasoningEngines.query
Stay organized with collections
Save and categorize content based on your preferences.
Full name : projects.locations.reasoningEngines.query
Queries using a reasoning engine.
Endpoint
post
https://aiplatform.googleapis.com/v1/{name}:query
Path parameters
name
string
Required. The name of the ReasoningEngine resource to use. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}
Request body
The request body contains data with the following structure:
Fields
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
classMethod
string
Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified.
Response body
Response message for [ReasoningEngineExecutionService.Query][]
If successful, the response body contains data with the following structure:
Fields
output
value (Value format)
Response provided by users in JSON object format.
JSON representation
{
"output" : value
}
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.
Need to tell us more?
[[["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."],[],[]]