Method: reasoningEngines.query

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
input object (Struct format)

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
}

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.