Method: projects.locations.reasoningEngines.query

Queries using a reasoning engine.

Endpoint

post https://aiplatform.googleapis.com/v1beta1/{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
}