v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132661,4471.5 MB
projects

Async query using a reasoning engine.

post/v1/{+name}:asyncQuery

Path parameters

namestring required

Required. The name of the ReasoningEngine resource to use. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

Request body

outputGcsUristring

Optional. Output Cloud Storage URI for the Async query. This contains the final response of the query.

inputGcsUristring

Optional. Input Cloud Storage URI for the Async query. If you are not bringing your own container (BYOC), the content of the file should be a JSON object with an input field matching the input field of QueryReasoningEngineRequest (e.g. { "input": { "user_id": "hello", "message":"$QUERY"} }). For BYOC, the content of the file depends on the the agent application.

Response

Successful response