> [!WARNING]
> This item is deprecated!

**Full name**: projects.locations.processors.humanReviewConfig.reviewDocument

Send a document for Human Review. The input document should be processed by the specified processor.

### HTTP request

Choose a location:
<button value="global" default="">global</button> <button value="us">us</button> <button value="eu">eu</button> <button value="asia-south1">asia-south1</button> <button value="asia-southeast1">asia-southeast1</button> <button value="northamerica-northeast1">northamerica-northeast1</button> <button value="australia-southeast1">australia-southeast1</button> <button value="europe-west2">europe-west2</button> <button value="europe-west3">europe-west3</button>   
`POST https://documentai.googleapis.com/v1beta3/{humanReviewConfig}:reviewDocument`

<br />

### Path parameters

| Parameters ||
|---|---|
| `humanReviewConfig` | `string` Required. The resource name of the `HumanReviewConfig` that the document will be reviewed with. It takes the form `projects/{project}/locations/{location}/processors/{processor}/humanReviewConfig`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `humanReviewConfig`: - `documentai.humanReviewConfigs.review` |

### Request body

The request body contains data with the following structure:

| JSON representation |
|---|
| ``` { "document": { object (`https://docs.cloud.google.com/document-ai/docs/reference/rest/v1beta3/Document`) }, "enableSchemaValidation": boolean, "priority": enum (`https://docs.cloud.google.com/document-ai/docs/reference/rest/v1beta3/projects.locations.processors.humanReviewConfig/reviewDocument#Priority`), "documentSchema": { object (`https://docs.cloud.google.com/document-ai/docs/reference/rest/Shared.Types/DocumentSchema`) }, // Union field `source` can be only one of the following: "inlineDocument": { object (`https://docs.cloud.google.com/document-ai/docs/reference/rest/v1beta3/Document`) } // End of list of possible types for union field `source`. } ``` |

| Fields ||
|---|---|
| `document (deprecated)` | ``object (`https://docs.cloud.google.com/document-ai/docs/reference/rest/v1beta3/Document`)`` The document that needs human review. |
| `enableSchemaValidation` | `boolean` Whether the validation should be performed on the ad-hoc review request. |
| `priority` | ``enum (`https://docs.cloud.google.com/document-ai/docs/reference/rest/v1beta3/projects.locations.processors.humanReviewConfig/reviewDocument#Priority`)`` The priority of the human review task. |
| `documentSchema` | ``object (`https://docs.cloud.google.com/document-ai/docs/reference/rest/Shared.Types/DocumentSchema`)`` The document schema of the human review task. |
| Union field `source`. The document payload. `source` can be only one of the following: ||
| `inlineDocument` | ``object (`https://docs.cloud.google.com/document-ai/docs/reference/rest/v1beta3/Document`)`` An inline document proto. |

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/document-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `humanReviewConfig` resource:

- `documentai.humanReviewConfigs.review`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## Priority

The priority level of the human review task.

| Enums ||
|---|---|
| `DEFAULT` | The default priority level. |
| `URGENT` | The urgent priority level. The labeling manager should allocate labeler resource to the urgent task queue to respect this priority level. |