Google Cloud Document AI Projects API

The Projects API from Google Cloud Document AI — 4 operation(s) for projects.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Artificial Intelligence Management BC-610.60

Operations 41

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/projects/{projectsId}/locations List Document AI locations · List locations #
Ask an LLM
“Which regions and zones support Document AI processors?”
“Can I list only the locations visible to my project?”
Tell an agent
List the locations in project {projectsId}.
Show Document AI locations matching {filter}.
GET /v1/projects/{projectsId}/locations/{locationsId}:fetchProcessorTypes List processor types for a location · Fetch processor types locations #
Ask an LLM
“What processor types can I create in a given location?”
“Which processor type names does Document AI support?”
Tell an agent
List processor types in location {projectsId}/{locationsId}.
Show the processor type names available in {projectsId}/{locationsId}.
GET /v1/projects/{projectsId}/locations/{locationsId} Get a Document AI location · Get locations #
Ask an LLM
“What details are available for one Document AI location?”
“Can I look up a single location by its ID?”
Tell an agent
Get location {projectsId}/{locationsId}.
Show the details of Document AI location {projectsId}/{locationsId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/schemas List document schemas · List schemas #
Ask an LLM
“What document schemas are defined in my project?”
“Can I list only the schemas in one location?”
Tell an agent
List schemas in location {projectsId}/{locationsId}.
Show the first {pageSize} document schemas in {projectsId}/{locationsId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/schemas Create a document schema · Create schemas #
Ask an LLM
“How do I define a new schema for structured document output?”
“Can I give a new schema a display name and labels?”
Tell an agent
Create a schema named {displayName} in {projectsId}/{locationsId}.
Add a new document schema {displayName} to location {projectsId}/{locationsId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId} Get a document schema · Get schemas #
Ask an LLM
“What fields does a specific document schema define?”
“Can I fetch one schema by its ID?”
Tell an agent
Get schema {schemasId} in {projectsId}/{locationsId}.
Show the definition of document schema {schemasId} in {projectsId}/{locationsId}.
PATCH /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId} Update a document schema · Patch schemas #
Ask an LLM
“Can I rename a document schema or change its labels?”
“What fields of an existing schema can I edit?”
Tell an agent
Rename schema {schemasId} in {projectsId}/{locationsId} to {displayName}.
Update labels on document schema {schemasId} in {projectsId}/{locationsId} to {labels}.
DELETE /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId} Delete a document schema · Delete schemas #
Ask an LLM
“How do I delete a document schema I no longer use?”
“Can I force-delete a schema with child resources?”
Tell an agent destructive · confirm first
Delete schema {schemasId} in {projectsId}/{locationsId}.
Force-delete document schema {schemasId} in {projectsId}/{locationsId} with force {force}.
POST /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions:generate Generate a schema version from documents · Generate schemaVersions #
Ask an LLM
“Can I auto-generate a new schema version from sample documents?”
“How do I base a new schema version on an existing one?”
Tell an agent
Generate a schema version from documents {gcsDocuments} in {projectsId}/{locationsId} for schema {schemasId}.
Create a new schema version for {schemasId} in {projectsId}/{locationsId} based on schema version {baseSchemaVersion}.
GET /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId} Get a schema version · Get schemaVersions #
Ask an LLM
“What does a specific version of a document schema contain?”
“Can I retrieve one schema version using its version ID?”
Tell an agent
Get schema version {schemaVersionsId} of schema {schemasId} in {projectsId}/{locationsId}.
Show the contents of version {schemaVersionsId} for document schema {schemasId} in project {projectsId}, location {locationsId}.
PATCH /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId} Update a schema version · Patch schemaVersions #
Ask an LLM
“Can I rename a schema version or change its labels?”
“What fields of a schema version can I edit?”
Tell an agent
Rename schema version {schemaVersionsId} of {schemasId} in {projectsId}/{locationsId} to {displayName}.
Update labels on schema version {schemaVersionsId} for {schemasId} in {projectsId}/{locationsId} to {labels}.
DELETE /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId} Delete a schema version · Delete schemaVersions #
Ask an LLM
“How do I remove an old schema version?”
“Can I delete a single schema version by its ID?”
Tell an agent destructive · confirm first
Delete schema version {schemaVersionsId} of schema {schemasId} in {projectsId}/{locationsId}.
Remove the {schemaVersionsId} version from document schema {schemasId} in {projectsId}/{locationsId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions List schema versions · List schemaVersions #
Ask an LLM
“What versions exist for a document schema?”
“Can I list only the latest schema version of a schema?”
Tell an agent
List schema versions of {schemasId} in {projectsId}/{locationsId}.
Show the first {pageSize} versions of document schema {schemasId} in {projectsId}/{locationsId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions Create a schema version · Create schemaVersions #
Ask an LLM
“How do I add a new version to an existing document schema?”
“Can I set the schema definition when creating a schema version?”
Tell an agent
Create a version of schema {schemasId} in {projectsId}/{locationsId} named {displayName}.
Add a new schema version {displayName} to {schemasId} in {projectsId}/{locationsId} with schema {schema}.
GET /v1/projects/{projectsId}/locations/{locationsId}/processorTypes List processor types · List processorTypes #
Ask an LLM
“Which processor types are available in a location?”
“Can I page through all processor types?”
Tell an agent
List processor types in {projectsId}/{locationsId}.
Show {pageSize} processor types per page in {projectsId}/{locationsId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/processorTypes/{processorTypesId} Get a processor type · Get processorTypes #
Ask an LLM
“What does a single processor type support?”
“Can I look up one processor type by its ID?”
Tell an agent
Get processor type {processorTypesId} in {projectsId}/{locationsId}.
Show the details of processor type {processorTypesId} in {projectsId}/{locationsId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/processors List processors · List processors #
Ask an LLM
“Which processors are created in my project?”
“Can I list only the processors in one location?”
Tell an agent
List processors in {projectsId}/{locationsId}.
Show {pageSize} processors per page in {projectsId}/{locationsId}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors Create a processor · Create processors #
Ask an LLM
“How do I create a new processor for invoice or OCR processing?”
“Can I choose the processor type and default version when creating a processor?”
Tell an agent
Create a {type} processor named {displayName} in {projectsId}/{locationsId}.
Create processor {displayName} of type {type} in {projectsId}/{locationsId} using default version {defaultProcessorVersion}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:batchProcess Batch process many documents · Batch process processors #
Ask an LLM
“Can I process a large batch of documents and write the output to Cloud Storage?”
“Is there a way to skip human review for a batch request?”
Tell an agent
Batch process documents {inputDocuments} with processor {processorsId} in {projectsId}/{locationsId}.
Run a batch process on {processorsId} in {projectsId}/{locationsId} and skip human review: {skipHumanReview}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:process Process one document · Process processors #
Ask an LLM
“How do I process a single document through a processor?”
“Can I process a raw document or an image without a file?”
Tell an agent
Process {gcsDocument} with processor {processorsId} in {projectsId}/{locationsId}.
Process raw document {rawDocument} through {processorsId} in {projectsId}/{locationsId}.
GET /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId} Get a Document AI processor · Get processors #
Ask an LLM
“What details are stored for a Document AI processor?”
“Can I look up a processor by its ID?”
Tell an agent
Get processor {processor} in project {project}, location {location}.
Show the details of Document AI processor {processor}.
DELETE /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId} Delete a Document AI processor · Delete processors #
Ask an LLM
“How do I delete a processor I no longer use?”
“Does deleting a processor remove its deployed model artifacts?”
Tell an agent destructive · confirm first
Delete processor {processor} in project {project}, location {location}.
Remove Document AI processor {processor}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:enable Enable a Document AI processor · Enable processors #
Ask an LLM
“How do I turn a disabled processor back on?”
“Can I enable a processor so it can process documents?”
Tell an agent
Enable processor {processor} in project {project}, location {location}.
Turn on Document AI processor {processor}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:setDefaultProcessorVersion Set a processor's default version · Set default processor version processors #
Ask an LLM
“How do I make a particular processor version the default one?”
“Can I choose which processor version runs when I send documents?”
Tell an agent
Set processor {processor} in project {project}, location {location} to default version {version}.
Make {version} the default version of Document AI processor {processor}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:disable Disable a Document AI processor · Disable processors #
Ask an LLM
“How do I stop a processor from processing documents?”
“Can I disable a processor temporarily?”
Tell an agent
Disable processor {processor} in project {project}, location {location}.
Turn off Document AI processor {processor}.
GET /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions List a processor's versions · List processorVersions #
Ask an LLM
“Which versions exist for a Document AI processor?”
“Can I page through a processor's versions?”
Tell an agent
List versions of processor {processor} in project {project}, location {location}.
Show {page_size} versions of Document AI processor {processor}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:deploy Deploy a processor version · Deploy processorVersions #
Ask an LLM
“How do I deploy a processor version so it can process documents?”
“Can I make a processor version active?”
Tell an agent
Deploy version {version} of processor {processor} in project {project}, location {location}.
Activate Document AI processor version {version} for {processor}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:process Process a single document with a processor version · Process processorVersions #
Ask an LLM
“How do I extract text from one document with a processor version?”
“Can I skip human review when processing a single document?”
Tell an agent
Process {document} with version {version} of processor {processor} in project {project}, location {location}.
Extract text from {document} using Document AI processor {processor} version {version}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:undeploy Undeploy a processor version · Undeploy processorVersions #
Ask an LLM
“How do I undeploy a processor version?”
“Can I deactivate a processor version without deleting it?”
Tell an agent
Undeploy version {version} of processor {processor} in project {project}, location {location}.
Deactivate Document AI processor version {version} for {processor}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:batchProcess Batch process documents with a processor version · Batch process processorVersions #
Ask an LLM
“How do I process hundreds of documents through a Document AI processor version in one batch?”
“Where does the output of a processor version batch job go?”
Tell an agent
Batch process the documents {docs} with processor version {processor_version} of {processor} in {location}.
Run a batch job on {processor_version} for {processor} in project {project}, location {location}, writing output to {output}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:evaluateProcessorVersion Evaluate a processor version · Evaluate processor version processorVersions #
Ask an LLM
“How do I test a processor version against annotated documents?”
“Can I get an evaluation for a processor version?”
Tell an agent
Evaluate version {version} of processor {processor} in project {project}, location {location} against {documents}.
Score Document AI processor {processor} version {version} on {documents}.
GET /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId} Get a processor version · Get processorVersions #
Ask an LLM
“What details are stored for a processor version?”
“Can I look up one version of a Document AI processor?”
Tell an agent
Get version {version} of processor {processor} in project {project}, location {location}.
Show Document AI processor {processor} version {version}.
DELETE /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId} Delete a processor version · Delete processorVersions #
Ask an LLM
“How do I delete a processor version?”
“Are a processor version's artifacts removed when I delete it?”
Tell an agent destructive · confirm first
Delete version {version} of processor {processor} in project {project}, location {location}.
Remove Document AI processor {processor} version {version}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions:train Train a new processor version · Train processorVersions #
Ask an LLM
“How do I train a new Document AI processor version?”
“Can I train a processor version on my own training data?”
Tell an agent
Train a new version of processor {processor} in project {project}, location {location} from {data}.
Train Document AI processor {processor} on {data} with schema {schema}.
GET /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}/evaluations/{evaluationsId} Get a processor version evaluation · Get evaluations #
Ask an LLM
“What were the F1 scores of a processor version's evaluation?”
“Can I look up one evaluation by its ID?”
Tell an agent
Get evaluation {evaluation} for processor version {processor_version} of {processor} in {location}.
Show the results of evaluation {evaluation} on {processor_version} in project {project}, location {location}.
GET /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}/evaluations List evaluations of a processor version · List evaluations #
Ask an LLM
“Which evaluations exist for a Document AI processor version?”
“Can I page through a processor version's evaluations?”
Tell an agent
List evaluations of version {version} of processor {processor} in project {project}, location {location}.
Show {page_size} evaluations for Document AI processor {processor} version {version}.
POST /v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/humanReviewConfig:reviewDocument Send a document for human review · Review document humanReviewConfig #
Ask an LLM
“How do I route a document to human review?”
“Can I set a priority on a human review task?”
Tell an agent
Send {document} for human review on processor {processor} in project {project}, location {location}.
Queue {document} on Document AI processor {processor} for human review with priority {priority}.
POST /v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel Cancel a long-running operation · Cancel operations #
Ask an LLM
“How do I cancel a long-running Document AI operation?”
“Can I stop a batch processing job that is still running?”
Tell an agent destructive · confirm first
Cancel operation {operation} in project {project}, location {location}.
Stop Document AI operation {operation}.
GET /v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId} Get a long-running operation · Get operations #
Ask an LLM
“Has my long-running Document AI operation finished?”
“Where can I check the result of a Document AI operation?”
Tell an agent
Get operation {operation} in project {project}, location {location}.
Check the status of Document AI operation {operation}.
GET /v1/projects/{projectsId}/locations/{locationsId}/operations List long-running operations · List operations #
Ask an LLM
“Which long-running operations are in progress in my project?”
“Can I filter Document AI operations by state?”
Tell an agent
List operations in project {project}, location {location}.
Show {page_size} Document AI operations matching {filter}.
GET /v1/projects/{projectsId}/operations/{operationsId} Get a long-running operation · Get operations #
Ask an LLM
“Has my long-running operation finished?”
“How do I check the status of a Document AI operation?”
Tell an agent
Get operation {operation} in project {project}.
Check whether operation {operation} has completed.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-cloud-document-ai:google-cloud-document-ai-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-cloud-document-ai-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud Document AI Projects API
  version: v1
  description: Generated from Google's published Discovery document for Cloud Document AI API (documentai v1, revision 20261109). 41 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://documentai.googleapis.com
tags:


# --- truncated at 32 KB (208 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-document-ai/openapi/google-cloud-document-ai-projects-api-openapi.yml