Cloud Document AI API Stay organized with collections Save and categorize content based on your preferences.
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.comhttps://eu-documentai.googleapis.comhttps://us-documentai.googleapis.comhttps://europe-west2-documentai.googleapis.comhttps://europe-west3-documentai.googleapis.comhttps://asia-south1-documentai.googleapis.comhttps://asia-southeast1-documentai.googleapis.comhttps://australia-southeast1-documentai.googleapis.comhttps://northamerica-northeast1-documentai.googleapis.comhttps://us-east7-documentai.googleapis.com
REST Resource:v1beta3.projects.locations
| Methods | |
|---|---|
fetchProcessorTypes | GET /v1beta3/{parent}:fetchProcessorTypesFetches processor types. |
get | GET /v1beta3/{name}Gets information about a location. |
list | GET /v1beta3/{name}/locationsLists information about the supported locations for this service. |
REST Resource:v1beta3.projects.locations.operations
| Methods | |
|---|---|
cancel | POST /v1beta3/{name}:cancelStarts asynchronous cancellation on a long-running operation. |
get | GET /v1beta3/{name}Gets the latest state of a long-running operation. |
list | GET /v1beta3/{name}Lists service operations that match the specified filter in the request. |
REST Resource:v1beta3.projects.locations.processorTypes
| Methods | |
|---|---|
get | GET /v1beta3/{name}Gets a processor type detail. |
list | GET /v1beta3/{parent}/processorTypesLists the processor types that exist. |
REST Resource:v1beta3.projects.locations.processors
| Methods | |
|---|---|
batchProcess | POST /v1beta3/{name}:batchProcessLRO endpoint to batch process many documents. |
create | POST /v1beta3/{parent}/processorsCreates a processor from the ProcessorType provided. |
delete | DELETE /v1beta3/{name}Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor. |
disable | POST /v1beta3/{name}:disableDisables a processor |
enable | POST /v1beta3/{name}:enableEnables a processor |
get | GET /v1beta3/{name}Gets a processor detail. |
list | GET /v1beta3/{parent}/processorsLists all processors which belong to this project. |
process | POST /v1beta3/{name}:processProcesses a single document. |
setDefaultProcessorVersion | POST /v1beta3/{processor}:setDefaultProcessorVersionSet the default (active) version of a Processor that will be used inProcessDocument andBatchProcessDocuments. |
updateDataset | PATCH /v1beta3/{dataset.name}Updates metadata associated with a dataset. |
REST Resource:v1beta3.projects.locations.processors.dataset
| Methods | |
|---|---|
batchDeleteDocuments | POST /v1beta3/{dataset}:batchDeleteDocumentsDeletes a set of documents. |
getDatasetSchema | GET /v1beta3/{name}Gets the DatasetSchema of aDataset. |
getDocument | GET /v1beta3/{dataset}:getDocumentReturns relevant fields present in the requested document. |
importDocuments | POST /v1beta3/{dataset}:importDocumentsImport documents into a dataset. |
listDocuments | POST /v1beta3/{dataset}:listDocumentsReturns a list of documents present in the dataset. |
updateDatasetSchema | PATCH /v1beta3/{datasetSchema.name}Updates a DatasetSchema. |
REST Resource:v1beta3.projects.locations.processors.humanReviewConfig
| Methods | |
|---|---|
reviewDocument | POST /v1beta3/{humanReviewConfig}:reviewDocumentSend a document for Human Review. |
REST Resource:v1beta3.projects.locations.processors.processorVersions
| Methods | |
|---|---|
batchProcess | POST /v1beta3/{name}:batchProcessLRO endpoint to batch process many documents. |
delete | DELETE /v1beta3/{name}Deletes the processor version, all artifacts under the processor version will be deleted. |
deploy | POST /v1beta3/{name}:deployDeploys the processor version. |
evaluateProcessorVersion | POST /v1beta3/{processorVersion}:evaluateProcessorVersionEvaluates a ProcessorVersion against annotated documents, producing an Evaluation. |
get | GET /v1beta3/{name}Gets a processor version detail. |
importProcessorVersion | POST /v1beta3/{parent}/processorVersions:importProcessorVersionImports a processor version from source processor version. |
list | GET /v1beta3/{parent}/processorVersionsLists all versions of a processor. |
process | POST /v1beta3/{name}:processProcesses a single document. |
train | POST /v1beta3/{parent}/processorVersions:trainTrains a new processor version. |
undeploy | POST /v1beta3/{name}:undeployUndeploys the processor version. |
REST Resource:v1beta3.projects.locations.processors.processorVersions.evaluations
| Methods | |
|---|---|
get | GET /v1beta3/{name}Retrieves a specific evaluation. |
list | GET /v1beta3/{parent}/evaluationsRetrieves a set of evaluations for a given processor version. |
REST Resource:v1beta3.projects.locations.schemas
| Methods | |
|---|---|
create | POST /v1beta3/{parent}/schemasCreates a schema. |
delete | DELETE /v1beta3/{name}Deletes a schema. |
get | GET /v1beta3/{name}Gets a schema. |
list | GET /v1beta3/{parent}/schemasLists Schemas. |
patch | PATCH /v1beta3/{schema.name}Updates a schema. |
REST Resource:v1beta3.projects.locations.schemas.schemaVersions
| Methods | |
|---|---|
create | POST /v1beta3/{parent}/schemaVersionsCreates a schema version. |
delete | DELETE /v1beta3/{name}Deletes a schema version. |
generate | POST /v1beta3/{parent}/schemaVersions:generateGenerates a schema version. |
get | GET /v1beta3/{name}Gets a schema version. |
list | GET /v1beta3/{parent}/schemaVersionsLists SchemaVersions. |
patch | PATCH /v1beta3/{schemaVersion.name}Updates a schema version. |
REST Resource:v1.projects.locations
| Methods | |
|---|---|
fetchProcessorTypes | GET /v1/{parent}:fetchProcessorTypesFetches processor types. |
get | GET /v1/{name}Gets information about a location. |
list | GET /v1/{name}/locationsLists information about the supported locations for this service. |
REST Resource:v1.projects.locations.operations
| Methods | |
|---|---|
cancel | POST /v1/{name}:cancelStarts asynchronous cancellation on a long-running operation. |
get | GET /v1/{name}Gets the latest state of a long-running operation. |
list | GET /v1/{name}Lists service operations that match the specified filter in the request. |
REST Resource:v1.projects.locations.processorTypes
| Methods | |
|---|---|
get | GET /v1/{name}Gets a processor type detail. |
list | GET /v1/{parent}/processorTypesLists the processor types that exist. |
REST Resource:v1.projects.locations.processors
| Methods | |
|---|---|
batchProcess | POST /v1/{name}:batchProcessLRO endpoint to batch process many documents. |
create | POST /v1/{parent}/processorsCreates a processor from the ProcessorType provided. |
delete | DELETE /v1/{name}Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor. |
disable | POST /v1/{name}:disableDisables a processor |
enable | POST /v1/{name}:enableEnables a processor |
get | GET /v1/{name}Gets a processor detail. |
list | GET /v1/{parent}/processorsLists all processors which belong to this project. |
process | POST /v1/{name}:processProcesses a single document. |
setDefaultProcessorVersion | POST /v1/{processor}:setDefaultProcessorVersionSet the default (active) version of a Processor that will be used inProcessDocument andBatchProcessDocuments. |
REST Resource:v1.projects.locations.processors.humanReviewConfig
| Methods | |
|---|---|
reviewDocument | POST /v1/{humanReviewConfig}:reviewDocumentSend a document for Human Review. |
REST Resource:v1.projects.locations.processors.processorVersions
| Methods | |
|---|---|
batchProcess | POST /v1/{name}:batchProcessLRO endpoint to batch process many documents. |
delete | DELETE /v1/{name}Deletes the processor version, all artifacts under the processor version will be deleted. |
deploy | POST /v1/{name}:deployDeploys the processor version. |
evaluateProcessorVersion | POST /v1/{processorVersion}:evaluateProcessorVersionEvaluates a ProcessorVersion against annotated documents, producing an Evaluation. |
get | GET /v1/{name}Gets a processor version detail. |
list | GET /v1/{parent}/processorVersionsLists all versions of a processor. |
process | POST /v1/{name}:processProcesses a single document. |
train | POST /v1/{parent}/processorVersions:trainTrains a new processor version. |
undeploy | POST /v1/{name}:undeployUndeploys the processor version. |
REST Resource:v1.projects.locations.processors.processorVersions.evaluations
| Methods | |
|---|---|
get | GET /v1/{name}Retrieves a specific evaluation. |
list | GET /v1/{parent}/evaluationsRetrieves a set of evaluations for a given processor version. |
REST Resource:v1.projects.locations.schemas
| Methods | |
|---|---|
create | POST /v1/{parent}/schemasCreates a schema. |
delete | DELETE /v1/{name}Deletes a schema. |
get | GET /v1/{name}Gets a schema. |
list | GET /v1/{parent}/schemasLists Schemas. |
patch | PATCH /v1/{schema.name}Updates a schema. |
REST Resource:v1.projects.locations.schemas.schemaVersions
| Methods | |
|---|---|
create | POST /v1/{parent}/schemaVersionsCreates a schema version. |
delete | DELETE /v1/{name}Deletes a schema version. |
generate | POST /v1/{parent}/schemaVersions:generateGenerates a schema version. |
get | GET /v1/{name}Gets a schema version. |
list | GET /v1/{parent}/schemaVersionsLists SchemaVersions. |
patch | PATCH /v1/{schemaVersion.name}Updates a schema version. |
REST Resource:v1.projects.operations
| Methods | |
|---|---|
get | GET /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.