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/v1beta3/{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
{
  "document": {
    object (Document)
  }
}
Fields
document

object (Document)

The document that needs human review.

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.