---
title: "POST /v1/{+name}:asyncQuery"
method: POST
path: "/v1/{+name}:asyncQuery"
tags: ["projects"]
---

# POST /v1/{+name}:asyncQuery

`POST /v1/{+name}:asyncQuery`

Async query using a reasoning engine.

## Path parameters

- `name` string, required

## Request body

- GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest — Request message for ReasoningEngineExecutionService.AsyncQueryReasoningEngine.
  - `outputGcsUri` string — Optional. Output Cloud Storage URI for the Async query. This contains the final response of the query.
  - `inputGcsUri` string — 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 `200`

Successful response

---

[API](https://skmtc.net/google/apis/aiplatform.md) · [All operations](https://skmtc.net/google/apis/aiplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/aiplatform/versions/b608d71b91f0/schema)
