Google · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Drive Files API

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

What the actions change

x-apievangelist-phrasing

Targets 13

$.info
$.paths['/files'].get
$.paths['/files'].post
$.paths['/files/generateIds'].get
$.paths['/files/trash'].delete
$.paths['/files/{fileId}'].get
$.paths['/files/{fileId}'].delete
$.paths['/files/{fileId}'].patch
$.paths['/files/{fileId}/copy'].post
$.paths['/files/{fileId}/export'].get
$.paths['/files/{fileId}/listLabels'].get
$.paths['/files/{fileId}/modifyLabels'].post
$.paths['/files/{fileId}/watch'].post

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 Google Drive Files API
  version: 1.0.0
extends: openapi/google-files-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 12
- target: $.paths['/files'].get
  update:
    x-apievangelist-phrasing:
      intent: List the user's files
      effect: read
      questions:
      - How do I list all the files in my Google Drive?
      - Can I search my Drive files with a query like name or type?
      - Does the file list include files in the trash?
      instructions:
      - text: List all my files.
      - text: Find files matching {q}.
        slots:
          q: query.q
      - text: List files in shared drive {driveId}.
        slots:
          driveId: query.driveId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a new file
      effect: write
      questions:
      - How do I upload a new file to Google Drive?
      - Can I create a shortcut to a folder in Drive?
      instructions:
      - text: Create a file named {name} in folder {parents}.
        slots:
          name: requestBody.name
          parents: requestBody.parents
      - text: Create a shortcut to {shortcutDetails} called {name}.
        slots:
          shortcutDetails: requestBody.shortcutDetails
          name: requestBody.name
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/generateIds'].get
  update:
    x-apievangelist-phrasing:
      intent: Generate file IDs for new files
      effect: read
      questions:
      - Can I get a batch of new file IDs before creating files?
      - What space and type do generated file IDs work in?
      instructions:
      - text: Generate {count} file IDs in {space}.
        slots:
          count: query.count
          space: query.space
      - text: Generate {count} {type} IDs in {space}.
        slots:
          count: query.count
          type: query.type
          space: query.space
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/trash'].delete
  update:
    x-apievangelist-phrasing:
      intent: Permanently empty the trash
      effect: destructive
      questions:
      - How do I permanently delete every file in my trash?
      - Can I empty the trash of a shared drive?
      instructions:
      - text: Empty my trash.
      - text: Empty the trash of shared drive {driveId}.
        slots:
          driveId: query.driveId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/{fileId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a file's metadata or content
      effect: read
      questions:
      - How do I download the content of a file by its ID?
      - Can I get the metadata of one file in Drive?
      instructions:
      - text: Get file {fileId}.
        slots:
          fileId: path.fileId
      - text: Download the content of file {fileId}.
        slots:
          fileId: path.fileId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/{fileId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Permanently delete a file
      effect: destructive
      questions:
      - How do I permanently delete a file from my Drive without moving it to trash?
      - What happens to a folder's children when I delete the folder?
      instructions:
      - text: Permanently delete file {fileId}.
        slots:
          fileId: path.fileId
      - text: Delete folder {fileId} and all its owned descendants.
        slots:
          fileId: path.fileId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/{fileId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a file's metadata or content
      effect: write
      questions:
      - How do I rename a file or change its description in Drive?
      - Can I move a file to a different folder by patching it?
      instructions:
      - text: Rename file {fileId} to {name}.
        slots:
          fileId: path.fileId
          name: requestBody.name
      - text: Move file {fileId} to folder {parents}.
        slots:
          fileId: path.fileId
          parents: requestBody.parents
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/{fileId}/copy'].post
  update:
    x-apievangelist-phrasing:
      intent: Copy a file
      effect: write
      questions:
      - How do I make a copy of a document?
      - Can I copy a file into a specific folder and keep its revision history?
      instructions:
      - text: Copy file {fileId} to folder {parents}.
        slots:
          fileId: path.fileId
          parents: requestBody.parents
      - text: Make a copy of {fileId} named {name}.
        slots:
          fileId: path.fileId
          name: requestBody.name
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/{fileId}/export'].get
  update:
    x-apievangelist-phrasing:
      intent: Export a document to a format
      effect: read
      questions:
      - How do I download a Google Docs file as a PDF?
      - Is there a size limit on exported document content?
      instructions:
      - text: Export file {fileId} as {mimeType}.
        slots:
          fileId: path.fileId
          mimeType: query.mimeType
      - text: Download the document {fileId} in {mimeType} format.
        slots:
          fileId: path.fileId
          mimeType: query.mimeType
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/{fileId}/listLabels'].get
  update:
    x-apievangelist-phrasing:
      intent: List labels on a file
      effect: read
      questions:
      - Which labels are applied to a file?
      - Can I page through the labels on a file?
      instructions:
      - text: List the labels on file {fileId}.
        slots:
          fileId: path.fileId
      - text: Show up to {maxResults} labels on {fileId}.
        slots:
          maxResults: query.maxResults
          fileId: path.fileId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/{fileId}/modifyLabels'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or change labels on a file
      effect: write
      questions:
      - How do I tag a file with a new label?
      - Can I change several labels on a file in one call?
      instructions:
      - text: Apply label changes {labelModifications} to file {fileId}.
        slots:
          labelModifications: requestBody.labelModifications
          fileId: path.fileId
      - text: Label file {fileId} with {labelModifications}.
        slots:
          fileId: path.fileId
          labelModifications: requestBody.labelModifications
      method: generated
      generated: '2026-11-15'
- target: $.paths['/files/{fileId}/watch'].post
  update:
    x-apievangelist-phrasing:
      intent: Subscribe to changes on a file
      effect: write
      questions:
      - How do I get notified when a file changes?
      - Can I watch a file and include its labels in the change notifications?
      instructions:
      - text: Watch file {fileId} for changes and notify {address}.
        slots:
          fileId: path.fileId
          address: requestBody.address
      - text: Subscribe to changes on file {fileId} with label info {includeLabels}.
        slots:
          fileId: path.fileId
          includeLabels: query.includeLabels
      method: generated
      generated: '2026-11-15'

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-files-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.