Cloud Document AI API

Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.

Service: documentai.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://documentai.googleapis.com

REST Resource: v1beta3.projects.locations

Methods
get GET /v1beta3/{name=projects/*/locations/*}
Gets information about a location.
list GET /v1beta3/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v1beta3.projects.locations.operations

Methods
get GET /v1beta3/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.

REST Resource: v1beta3.projects.locations.processors

Methods
batchProcess POST /v1beta3/{name=projects/*/locations/*/processors/*}:batchProcess
LRO endpoint to batch process many documents.
process POST /v1beta3/{name=projects/*/locations/*/processors/*}:process
Processes a single document.

REST Resource: v1beta3.projects.locations.processors.humanReviewConfig

Methods
reviewDocument POST /v1beta3/{humanReviewConfig=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument
Send a document for Human Review.