Method: projects.locations.processors.humanReviewConfig.reviewDocument

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

HTTP request

POST https://documentai.googleapis.com/v1/{humanReviewConfig=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
humanReviewConfig

string

Required. The resource name of the HumanReviewConfig that the document will be reviewed with.

Authorization requires the following IAM permission on the specified resource humanReviewConfig:

  • documentai.humanReviewConfigs.review

Request body

The request body contains data with the following structure:

JSON representation
{
  "inlineDocument": {
    object (Document)
  }
}
Fields
inlineDocument

object (Document)

An inline document proto.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the humanReviewConfig resource:

  • documentai.humanReviewConfigs.review

For more information, see the IAM documentation.