Google Cloud Document AI · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloud Document AI Projects API

42 actions 42 updates phrasing extends openapi/google-cloud-document-ai-projects-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Google Cloud Document AI's API. It is a proposal applied on top of the contract, not a document Google Cloud Document AI publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 42 · first 16 shown; the file carries all of them

$.info
$.paths['/v1/projects/{projectsId}/locations'].get
$.paths['/v1/projects/{projectsId}/locations/{locationsId}:fetchProcessorTypes'].get
$.paths['/v1/projects/{projectsId}/locations/{locationsId}'].get
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas'].get
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas'].post
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}'].get
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}'].delete
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}'].patch
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions:generate'].post
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}'].get
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}'].delete
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}'].patch
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions'].get
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions'].post
$.paths['/v1/projects/{projectsId}/locations/{locationsId}/processorTypes'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Cloud Document AI Projects API
  version: 1.0.0
extends: openapi/google-cloud-document-ai-projects-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 41
- target: $.paths['/v1/projects/{projectsId}/locations'].get
  update:
    x-apievangelist-phrasing:
      intent: List Document AI locations
      effect: read
      questions:
      - Which regions and zones support Document AI processors?
      - Can I list only the locations visible to my project?
      instructions:
      - text: List the locations in project {projectsId}.
        slots:
          projectsId: path.projectsId
      - text: Show Document AI locations matching {filter}.
        slots:
          filter: query.filter
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}:fetchProcessorTypes'].get
  update:
    x-apievangelist-phrasing:
      intent: List processor types for a location
      effect: read
      questions:
      - What processor types can I create in a given location?
      - Which processor type names does Document AI support?
      instructions:
      - text: List processor types in location {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the processor type names available in {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a Document AI location
      effect: read
      questions:
      - What details are available for one Document AI location?
      - Can I look up a single location by its ID?
      instructions:
      - text: Get location {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the details of Document AI location {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas'].get
  update:
    x-apievangelist-phrasing:
      intent: List document schemas
      effect: read
      questions:
      - What document schemas are defined in my project?
      - Can I list only the schemas in one location?
      instructions:
      - text: List schemas in location {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the first {pageSize} document schemas in {projectsId}/{locationsId}.
        slots:
          pageSize: query.pageSize
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a document schema
      effect: write
      questions:
      - How do I define a new schema for structured document output?
      - Can I give a new schema a display name and labels?
      instructions:
      - text: Create a schema named {displayName} in {projectsId}/{locationsId}.
        slots:
          displayName: requestBody.displayName
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Add a new document schema {displayName} to location {projectsId}/{locationsId}.
        slots:
          displayName: requestBody.displayName
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a document schema
      effect: read
      questions:
      - What fields does a specific document schema define?
      - Can I fetch one schema by its ID?
      instructions:
      - text: Get schema {schemasId} in {projectsId}/{locationsId}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the definition of document schema {schemasId} in {projectsId}/{locationsId}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a document schema
      effect: destructive
      questions:
      - How do I delete a document schema I no longer use?
      - Can I force-delete a schema with child resources?
      instructions:
      - text: Delete schema {schemasId} in {projectsId}/{locationsId}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Force-delete document schema {schemasId} in {projectsId}/{locationsId} with force {force}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
          force: query.force
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a document schema
      effect: write
      questions:
      - Can I rename a document schema or change its labels?
      - What fields of an existing schema can I edit?
      instructions:
      - text: Rename schema {schemasId} in {projectsId}/{locationsId} to {displayName}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          displayName: requestBody.displayName
          locationsId: path.locationsId
      - text: Update labels on document schema {schemasId} in {projectsId}/{locationsId} to {labels}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          labels: requestBody.labels
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions:generate'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate a schema version from documents
      effect: write
      questions:
      - Can I auto-generate a new schema version from sample documents?
      - How do I base a new schema version on an existing one?
      instructions:
      - text: Generate a schema version from documents {gcsDocuments} in {projectsId}/{locationsId} for schema {schemasId}.
        slots:
          gcsDocuments: requestBody.gcsDocuments
          projectsId: path.projectsId
          locationsId: path.locationsId
          schemasId: path.schemasId
      - text: Create a new schema version for {schemasId} in {projectsId}/{locationsId} based on schema version {baseSchemaVersion}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
          baseSchemaVersion: requestBody.baseSchemaVersion
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a schema version
      effect: read
      questions:
      - What does a specific version of a document schema contain?
      - Can I retrieve one schema version using its version ID?
      instructions:
      - text: Get schema version {schemaVersionsId} of schema {schemasId} in {projectsId}/{locationsId}.
        slots:
          schemaVersionsId: path.schemaVersionsId
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the contents of version {schemaVersionsId} for document schema {schemasId} in project {projectsId}, location {locationsId}.
        slots:
          schemaVersionsId: path.schemaVersionsId
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a schema version
      effect: destructive
      questions:
      - How do I remove an old schema version?
      - Can I delete a single schema version by its ID?
      instructions:
      - text: Delete schema version {schemaVersionsId} of schema {schemasId} in {projectsId}/{locationsId}.
        slots:
          schemaVersionsId: path.schemaVersionsId
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Remove the {schemaVersionsId} version from document schema {schemasId} in {projectsId}/{locationsId}.
        slots:
          schemaVersionsId: path.schemaVersionsId
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a schema version
      effect: write
      questions:
      - Can I rename a schema version or change its labels?
      - What fields of a schema version can I edit?
      instructions:
      - text: Rename schema version {schemaVersionsId} of {schemasId} in {projectsId}/{locationsId} to {displayName}.
        slots:
          schemaVersionsId: path.schemaVersionsId
          schemasId: path.schemasId
          projectsId: path.projectsId
          displayName: requestBody.displayName
          locationsId: path.locationsId
      - text: Update labels on schema version {schemaVersionsId} for {schemasId} in {projectsId}/{locationsId} to {labels}.
        slots:
          schemaVersionsId: path.schemaVersionsId
          schemasId: path.schemasId
          projectsId: path.projectsId
          labels: requestBody.labels
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions'].get
  update:
    x-apievangelist-phrasing:
      intent: List schema versions
      effect: read
      questions:
      - What versions exist for a document schema?
      - Can I list only the latest schema version of a schema?
      instructions:
      - text: List schema versions of {schemasId} in {projectsId}/{locationsId}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the first {pageSize} versions of document schema {schemasId} in {projectsId}/{locationsId}.
        slots:
          pageSize: query.pageSize
          schemasId: path.schemasId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a schema version
      effect: write
      questions:
      - How do I add a new version to an existing document schema?
      - Can I set the schema definition when creating a schema version?
      instructions:
      - text: Create a version of schema {schemasId} in {projectsId}/{locationsId} named {displayName}.
        slots:
          schemasId: path.schemasId
          projectsId: path.projectsId
          displayName: requestBody.displayName
          locationsId: path.locationsId
      - text: Add a new schema version {displayName} to {schemasId} in {projectsId}/{locationsId} with schema {schema}.
        slots:
          displayName: requestBody.displayName
          schemasId: path.schemasId
          projectsId: path.projectsId
          schema: requestBody.schema
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processorTypes'].get
  update:
    x-apievangelist-phrasing:
      intent: List processor types
      effect: read
      questions:
      - Which processor types are available in a location?
      - Can I page through all processor types?
      instructions:
      - text: List processor types in {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show {pageSize} processor types per page in {projectsId}/{locationsId}.
        slots:
          pageSize: query.pageSize
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processorTypes/{processorTypesId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a processor type
      effect: read
      questions:
      - What does a single processor type support?
      - Can I look up one processor type by its ID?
      instructions:
      - text: Get processor type {processorTypesId} in {projectsId}/{locationsId}.
        slots:
          processorTypesId: path.processorTypesId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show the details of processor type {processorTypesId} in {projectsId}/{locationsId}.
        slots:
          processorTypesId: path.processorTypesId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors'].get
  update:
    x-apievangelist-phrasing:
      intent: List processors
      effect: read
      questions:
      - Which processors are created in my project?
      - Can I list only the processors in one location?
      instructions:
      - text: List processors in {projectsId}/{locationsId}.
        slots:
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Show {pageSize} processors per page in {projectsId}/{locationsId}.
        slots:
          pageSize: query.pageSize
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a processor
      effect: write
      questions:
      - 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?
      instructions:
      - text: Create a {type} processor named {displayName} in {projectsId}/{locationsId}.
        slots:
          type: requestBody.type
          displayName: requestBody.displayName
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Create processor {displayName} of type {type} in {projectsId}/{locationsId} using default version {defaultProcessorVersion}.
        slots:
          displayName: requestBody.displayName
          type: requestBody.type
          projectsId: path.projectsId
          locationsId: path.locationsId
          defaultProcessorVersion: requestBody.defaultProcessorVersion
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:batchProcess'].post
  update:
    x-apievangelist-phrasing:
      intent: Batch process many documents
      effect: write
      questions:
      - 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?
      instructions:
      - text: Batch process documents {inputDocuments} with processor {processorsId} in {projectsId}/{locationsId}.
        slots:
          inputDocuments: requestBody.inputDocuments
          processorsId: path.processorsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: 'Run a batch process on {processorsId} in {projectsId}/{locationsId} and skip human review: {skipHumanReview}.'
        slots:
          processorsId: path.processorsId
          projectsId: path.projectsId
          locationsId: path.locationsId
          skipHumanReview: requestBody.skipHumanReview
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:process'].post
  update:
    x-apievangelist-phrasing:
      intent: Process one document
      effect: write
      questions:
      - How do I process a single document through a processor?
      - Can I process a raw document or an image without a file?
      instructions:
      - text: Process {gcsDocument} with processor {processorsId} in {projectsId}/{locationsId}.
        slots:
          gcsDocument: requestBody.gcsDocument
          processorsId: path.processorsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      - text: Process raw document {rawDocument} through {processorsId} in {projectsId}/{locationsId}.
        slots:
          rawDocument: requestBody.rawDocument
          processorsId: path.processorsId
          projectsId: path.projectsId
          locationsId: path.locationsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a Document AI processor
      effect: read
      questions:
      - What details are stored for a Document AI processor?
      - Can I look up a processor by its ID?
      instructions:
      - text: Get processor {processor} in project {project}, location {location}.
        slots:
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Show the details of Document AI processor {processor}.
        slots:
          processor: path.processorsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a Document AI processor
      effect: destructive
      questions:
      - How do I delete a processor I no longer use?
      - Does deleting a processor remove its deployed model artifacts?
      instructions:
      - text: Delete processor {processor} in project {project}, location {location}.
        slots:
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Remove Document AI processor {processor}.
        slots:
          processor: path.processorsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:enable'].post
  update:
    x-apievangelist-phrasing:
      intent: Enable a Document AI processor
      effect: write
      questions:
      - How do I turn a disabled processor back on?
      - Can I enable a processor so it can process documents?
      instructions:
      - text: Enable processor {processor} in project {project}, location {location}.
        slots:
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Turn on Document AI processor {processor}.
        slots:
          processor: path.processorsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:setDefaultProcessorVersion'].post
  update:
    x-apievangelist-phrasing:
      intent: Set a processor's default version
      effect: write
      questions:
      - How do I make a particular processor version the default one?
      - Can I choose which processor version runs when I send documents?
      instructions:
      - text: Set processor {processor} in project {project}, location {location} to default version {version}.
        slots:
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
          version: requestBody.defaultProcessorVersion
      - text: Make {version} the default version of Document AI processor {processor}.
        slots:
          version: requestBody.defaultProcessorVersion
          processor: path.processorsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:disable'].post
  update:
    x-apievangelist-phrasing:
      intent: Disable a Document AI processor
      effect: write
      questions:
      - How do I stop a processor from processing documents?
      - Can I disable a processor temporarily?
      instructions:
      - text: Disable processor {processor} in project {project}, location {location}.
        slots:
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Turn off Document AI processor {processor}.
        slots:
          processor: path.processorsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions'].get
  update:
    x-apievangelist-phrasing:
      intent: List a processor's versions
      effect: read
      questions:
      - Which versions exist for a Document AI processor?
      - Can I page through a processor's versions?
      instructions:
      - text: List versions of processor {processor} in project {project}, location {location}.
        slots:
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Show {page_size} versions of Document AI processor {processor}.
        slots:
          page_size: query.pageSize
          processor: path.processorsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:deploy'].post
  update:
    x-apievangelist-phrasing:
      intent: Deploy a processor version
      effect: write
      questions:
      - How do I deploy a processor version so it can process documents?
      - Can I make a processor version active?
      instructions:
      - text: Deploy version {version} of processor {processor} in project {project}, location {location}.
        slots:
          version: path.processorVersionsId
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Activate Document AI processor version {version} for {processor}.
        slots:
          version: path.processorVersionsId
          processor: path.processorsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:process'].post
  update:
    x-apievangelist-phrasing:
      intent: Process a single document with a processor version
      effect: write
      questions:
      - How do I extract text from one document with a processor version?
      - Can I skip human review when processing a single document?
      instructions:
      - text: Process {document} with version {version} of processor {processor} in project {project}, location {location}.
        slots:
          document: requestBody.gcsDocument
          version: path.processorVersionsId
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Extract text from {document} using Document AI processor {processor} version {version}.
        slots:
          document: requestBody.gcsDocument
          processor: path.processorsId
          version: path.processorVersionsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:undeploy'].post
  update:
    x-apievangelist-phrasing:
      intent: Undeploy a processor version
      effect: write
      questions:
      - How do I undeploy a processor version?
      - Can I deactivate a processor version without deleting it?
      instructions:
      - text: Undeploy version {version} of processor {processor} in project {project}, location {location}.
        slots:
          version: path.processorVersionsId
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Deactivate Document AI processor version {version} for {processor}.
        slots:
          version: path.processorVersionsId
          processor: path.processorsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:batchProcess'].post
  update:
    x-apievangelist-phrasing:
      intent: Batch process documents with a processor version
      effect: write
      questions:
      - 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?
      instructions:
      - text: Batch process the documents {docs} with processor version {processor_version} of {processor} in {location}.
        slots:
          docs: requestBody.inputDocuments
          processor_version: path.processorVersionsId
          processor: path.processorsId
          location: path.locationsId
      - text: Run a batch job on {processor_version} for {processor} in project {project}, location {location}, writing output to {output}.
        slots:
          processor_version: path.processorVersionsId
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
          output: requestBody.documentOutputConfig
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:evaluateProcessorVersion'].post
  update:
    x-apievangelist-phrasing:
      intent: Evaluate a processor version
      effect: write
      questions:
      - How do I test a processor version against annotated documents?
      - Can I get an evaluation for a processor version?
      instructions:
      - text: Evaluate version {version} of processor {processor} in project {project}, location {location} against {documents}.
        slots:
          version: path.processorVersionsId
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
          documents: requestBody.evaluationDocuments
      - text: Score Document AI processor {processor} version {version} on {documents}.
        slots:
          processor: path.processorsId
          version: path.processorVersionsId
          documents: requestBody.evaluationDocuments
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a processor version
      effect: read
      questions:
      - What details are stored for a processor version?
      - Can I look up one version of a Document AI processor?
      instructions:
      - text: Get version {version} of processor {processor} in project {project}, location {location}.
        slots:
          version: path.processorVersionsId
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Show Document AI processor {processor} version {version}.
        slots:
          processor: path.processorsId
          version: path.processorVersionsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a processor version
      effect: destructive
      questions:
      - How do I delete a processor version?
      - Are a processor version's artifacts removed when I delete it?
      instructions:
      - text: Delete version {version} of processor {processor} in project {project}, location {location}.
        slots:
          version: path.processorVersionsId
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
      - text: Remove Document AI processor {processor} version {version}.
        slots:
          processor: path.processorsId
          version: path.processorVersionsId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions:train'].post
  update:
    x-apievangelist-phrasing:
      intent: Train a new processor version
      effect: write
      questions:
      - How do I train a new Document AI processor version?
      - Can I train a processor version on my own training data?
      instructions:
      - text: Train a new version of processor {processor} in project {project}, location {location} from {data}.
        slots:
          processor: path.processorsId
          project: path.projectsId
          location: path.locationsId
          data: requestBody.inputData
      - text: Train Document AI processor {processor} on {data} with schema {schema}.
        slots:
          processor: path.processorsId
          data: requestBody.inputData
          schema: requestBody.documentSchema
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v1/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}/evaluations/{evaluationsId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a processor version evaluation
      effect: read
      questions:
      - What were the F1 scores of a processor version's evaluation?
      - Can I look up one evaluation by its ID?
      instructions:
      - text: Get evaluation {evaluation} for processor version {processor_version} of {processor} in {location}.
        slots:
          evaluation: path.evaluationsId
          processor_version: path.processorVersionsId
          processor: path.processorsId
          location: path.locationsId
      - text: Show the results of evaluation {evaluation} on {processor_version} in project {project}, location {location}.
        slots:
          evaluation: path.evaluationsId
          processor_version: path.processorVersionsId
          project: path.projectsId
          location: path.locationsId
      method: generated
      generated: '2026-11-22'


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-document-ai/overlays/google-cloud-document-ai-projects-api-phrasing-overlay.yaml

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/google-cloud-document-ai-projects-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.