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

To call this service, we recommend that you use the Google-providedclient libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

ADiscovery 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 documents:

Service endpoint

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

  • https://documentai.googleapis.com
  • https://eu-documentai.googleapis.com
  • https://us-documentai.googleapis.com
  • https://europe-west2-documentai.googleapis.com
  • https://europe-west3-documentai.googleapis.com
  • https://asia-south1-documentai.googleapis.com
  • https://asia-southeast1-documentai.googleapis.com
  • https://australia-southeast1-documentai.googleapis.com
  • https://northamerica-northeast1-documentai.googleapis.com
  • https://us-east7-documentai.googleapis.com

REST Resource:v1beta3.projects.locations

Methods
fetchProcessorTypesGET /v1beta3/{parent}:fetchProcessorTypes
Fetches processor types.
getGET /v1beta3/{name}
Gets information about a location.
listGET /v1beta3/{name}/locations
Lists information about the supported locations for this service.

REST Resource:v1beta3.projects.locations.operations

Methods
cancelPOST /v1beta3/{name}:cancel
Starts asynchronous cancellation on a long-running operation.
getGET /v1beta3/{name}
Gets the latest state of a long-running operation.
listGET /v1beta3/{name}
Lists service operations that match the specified filter in the request.

REST Resource:v1beta3.projects.locations.processorTypes

Methods
getGET /v1beta3/{name}
Gets a processor type detail.
listGET /v1beta3/{parent}/processorTypes
Lists the processor types that exist.

REST Resource:v1beta3.projects.locations.processors

Methods
batchProcessPOST /v1beta3/{name}:batchProcess
LRO endpoint to batch process many documents.
createPOST /v1beta3/{parent}/processors
Creates a processor from theProcessorType provided.
deleteDELETE /v1beta3/{name}
Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor.
disablePOST /v1beta3/{name}:disable
Disables a processor
enablePOST /v1beta3/{name}:enable
Enables a processor
getGET /v1beta3/{name}
Gets a processor detail.
listGET /v1beta3/{parent}/processors
Lists all processors which belong to this project.
processPOST /v1beta3/{name}:process
Processes a single document.
setDefaultProcessorVersionPOST /v1beta3/{processor}:setDefaultProcessorVersion
Set the default (active) version of aProcessor that will be used inProcessDocument andBatchProcessDocuments.
updateDatasetPATCH /v1beta3/{dataset.name}
Updates metadata associated with a dataset.

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

Methods
batchDeleteDocumentsPOST /v1beta3/{dataset}:batchDeleteDocuments
Deletes a set of documents.
getDatasetSchemaGET /v1beta3/{name}
Gets theDatasetSchema of aDataset.
getDocumentGET /v1beta3/{dataset}:getDocument
Returns relevant fields present in the requested document.
importDocumentsPOST /v1beta3/{dataset}:importDocuments
Import documents into a dataset.
listDocumentsPOST /v1beta3/{dataset}:listDocuments
Returns a list of documents present in the dataset.
updateDatasetSchemaPATCH /v1beta3/{datasetSchema.name}
Updates aDatasetSchema.

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

Methods
reviewDocument
(deprecated)
POST /v1beta3/{humanReviewConfig}:reviewDocument
Send a document for Human Review.

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

Methods
batchProcessPOST /v1beta3/{name}:batchProcess
LRO endpoint to batch process many documents.
deleteDELETE /v1beta3/{name}
Deletes the processor version, all artifacts under the processor version will be deleted.
deployPOST /v1beta3/{name}:deploy
Deploys the processor version.
evaluateProcessorVersionPOST /v1beta3/{processorVersion}:evaluateProcessorVersion
Evaluates a ProcessorVersion against annotated documents, producing an Evaluation.
getGET /v1beta3/{name}
Gets a processor version detail.
importProcessorVersionPOST /v1beta3/{parent}/processorVersions:importProcessorVersion
Imports a processor version from source processor version.
listGET /v1beta3/{parent}/processorVersions
Lists all versions of a processor.
processPOST /v1beta3/{name}:process
Processes a single document.
trainPOST /v1beta3/{parent}/processorVersions:train
Trains a new processor version.
undeployPOST /v1beta3/{name}:undeploy
Undeploys the processor version.

REST Resource:v1beta3.projects.locations.processors.processorVersions.evaluations

Methods
getGET /v1beta3/{name}
Retrieves a specific evaluation.
listGET /v1beta3/{parent}/evaluations
Retrieves a set of evaluations for a given processor version.

REST Resource:v1beta3.projects.locations.schemas

Methods
createPOST /v1beta3/{parent}/schemas
Creates a schema.
deleteDELETE /v1beta3/{name}
Deletes a schema.
getGET /v1beta3/{name}
Gets a schema.
listGET /v1beta3/{parent}/schemas
Lists Schemas.
patchPATCH /v1beta3/{schema.name}
Updates a schema.

REST Resource:v1beta3.projects.locations.schemas.schemaVersions

Methods
createPOST /v1beta3/{parent}/schemaVersions
Creates a schema version.
deleteDELETE /v1beta3/{name}
Deletes a schema version.
generatePOST /v1beta3/{parent}/schemaVersions:generate
Generates a schema version.
getGET /v1beta3/{name}
Gets a schema version.
listGET /v1beta3/{parent}/schemaVersions
Lists SchemaVersions.
patchPATCH /v1beta3/{schemaVersion.name}
Updates a schema version.

REST Resource:v1.projects.locations

Methods
fetchProcessorTypesGET /v1/{parent}:fetchProcessorTypes
Fetches processor types.
getGET /v1/{name}
Gets information about a location.
listGET /v1/{name}/locations
Lists information about the supported locations for this service.

REST Resource:v1.projects.locations.operations

Methods
cancelPOST /v1/{name}:cancel
Starts asynchronous cancellation on a long-running operation.
getGET /v1/{name}
Gets the latest state of a long-running operation.
listGET /v1/{name}
Lists service operations that match the specified filter in the request.

REST Resource:v1.projects.locations.processorTypes

Methods
getGET /v1/{name}
Gets a processor type detail.
listGET /v1/{parent}/processorTypes
Lists the processor types that exist.

REST Resource:v1.projects.locations.processors

Methods
batchProcessPOST /v1/{name}:batchProcess
LRO endpoint to batch process many documents.
createPOST /v1/{parent}/processors
Creates a processor from theProcessorType provided.
deleteDELETE /v1/{name}
Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor.
disablePOST /v1/{name}:disable
Disables a processor
enablePOST /v1/{name}:enable
Enables a processor
getGET /v1/{name}
Gets a processor detail.
listGET /v1/{parent}/processors
Lists all processors which belong to this project.
processPOST /v1/{name}:process
Processes a single document.
setDefaultProcessorVersionPOST /v1/{processor}:setDefaultProcessorVersion
Set the default (active) version of aProcessor that will be used inProcessDocument andBatchProcessDocuments.

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

Methods
reviewDocument
(deprecated)
POST /v1/{humanReviewConfig}:reviewDocument
Send a document for Human Review.

REST Resource:v1.projects.locations.processors.processorVersions

Methods
batchProcessPOST /v1/{name}:batchProcess
LRO endpoint to batch process many documents.
deleteDELETE /v1/{name}
Deletes the processor version, all artifacts under the processor version will be deleted.
deployPOST /v1/{name}:deploy
Deploys the processor version.
evaluateProcessorVersionPOST /v1/{processorVersion}:evaluateProcessorVersion
Evaluates a ProcessorVersion against annotated documents, producing an Evaluation.
getGET /v1/{name}
Gets a processor version detail.
listGET /v1/{parent}/processorVersions
Lists all versions of a processor.
processPOST /v1/{name}:process
Processes a single document.
trainPOST /v1/{parent}/processorVersions:train
Trains a new processor version.
undeployPOST /v1/{name}:undeploy
Undeploys the processor version.

REST Resource:v1.projects.locations.processors.processorVersions.evaluations

Methods
getGET /v1/{name}
Retrieves a specific evaluation.
listGET /v1/{parent}/evaluations
Retrieves a set of evaluations for a given processor version.

REST Resource:v1.projects.locations.schemas

Methods
createPOST /v1/{parent}/schemas
Creates a schema.
deleteDELETE /v1/{name}
Deletes a schema.
getGET /v1/{name}
Gets a schema.
listGET /v1/{parent}/schemas
Lists Schemas.
patchPATCH /v1/{schema.name}
Updates a schema.

REST Resource:v1.projects.locations.schemas.schemaVersions

Methods
createPOST /v1/{parent}/schemaVersions
Creates a schema version.
deleteDELETE /v1/{name}
Deletes a schema version.
generatePOST /v1/{parent}/schemaVersions:generate
Generates a schema version.
getGET /v1/{name}
Gets a schema version.
listGET /v1/{parent}/schemaVersions
Lists SchemaVersions.
patchPATCH /v1/{schemaVersion.name}
Updates a schema version.

REST Resource:v1.projects.operations

Methods
getGET /v1/{name}
Gets the latest state of a long-running operation.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.