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

# POST /v1/{+name}:analyze

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

Analyze a Batch for possible recommendations and insights.

## Path parameters

- `name` string, required

## Request body

- AnalyzeBatchRequest — A request to analyze a batch workload.
  - `requestId` string — Optional. A unique ID used to identify the request. If the service receives two AnalyzeBatchRequest (http://cloud/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.AnalyzeBatchRequest)s with the same request_id, the second request is ignored and the Operation that corresponds to the first request created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
  - `requestorId` string — Optional. The requestor ID is used to identify if the request comes from a GCA investigation or the old Ask Gemini Experience.

## Response `200`

Successful response

---

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