---
title: "POST /v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}:execute"
method: POST
path: "/v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}:execute"
tags: ["reasoningEngines"]
---

# POST /v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}:execute

`POST /v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}:execute`

## Request

- Base URL: `https://aiplatform.googleapis.com`
- URL: `https://aiplatform.googleapis.com/v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}:execute`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Executes using a sandbox environment.

## Path parameters

- `reasoningEnginesId` string, required
- `sandboxEnvironmentsId` string, required

## Request body

- GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest: Request message for SandboxEnvironmentExecutionService.Execute.
  - `inputs` GoogleCloudAiplatformV1Chunk[]: Required. The inputs to the sandbox environment.
    - `data` string, byte: Required. The data in the chunk.
    - `metadata` GoogleCloudAiplatformV1Metadata: Metadata for a chunk.
      - `attributes` object: Optional. Attributes attached to the data. The keys have semantic conventions and the consumers of the attributes should know how to deserialize the value bytes based on the keys.
    - `mimeType` string: Required. Mime type of the chunk data. See https://www.iana.org/assignments/media-types/media-types.xhtml for the full list.

## Response `200`

Successful response

- GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse: Response message for SandboxEnvironmentExecutionService.Execute.
  - `outputs` GoogleCloudAiplatformV1Chunk[]: The outputs from the sandbox environment.
    - `data` string, byte: Required. The data in the chunk.
    - `metadata` GoogleCloudAiplatformV1Metadata: Metadata for a chunk.
      - `attributes` object: Optional. Attributes attached to the data. The keys have semantic conventions and the consumers of the attributes should know how to deserialize the value bytes based on the keys.
    - `mimeType` string: Required. Mime type of the chunk data. See https://www.iana.org/assignments/media-types/media-types.xhtml for the full list.

---

[API](https://skmtc.dev/google/apis/aiplatform.md) - [All operations](https://skmtc.dev/google/apis/aiplatform/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/aiplatform/revisions/3aca3b348f0c?raw)
