Google Drive · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Google Drive Files API
15 actions
15 updates
phrasing
extends
openapi/google-drive-files-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Google Drive's API. It is a proposal applied on top of the contract, not a document Google Drive publishes.
What the actions change
x-apievangelist-phrasing
Targets 15
$.info
$.paths['/drive/v3/files/{fileId}/export'].get
$.paths['/drive/v3/files'].get
$.paths['/drive/v3/files'].post
$.paths['/drive/v3/files/generateCseToken'].get
$.paths['/drive/v3/files/{fileId}/watch'].post
$.paths['/drive/v3/files/{fileId}/modifyLabels'].post
$.paths['/drive/v3/files/{fileId}'].get
$.paths['/drive/v3/files/{fileId}'].delete
$.paths['/drive/v3/files/{fileId}'].patch
$.paths['/drive/v3/files/{fileId}/download'].post
$.paths['/drive/v3/files/generateIds'].get
$.paths['/drive/v3/files/{fileId}/copy'].post
$.paths['/drive/v3/files/{fileId}/listLabels'].get
$.paths['/drive/v3/files/trash'].delete
OpenAPI Overlay
# 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-drive-files-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 14
- target: $.paths['/drive/v3/files/{fileId}/export'].get
update:
x-apievangelist-phrasing:
intent: Export a Google Workspace document
effect: read
questions:
- How do I export a Google Docs, Sheets or Slides file to PDF or another format?
- Is there a size limit on exported files?
instructions:
- text: Export file {file} as {mimeType}.
slots:
file: path.fileId
mimeType: query.mimeType
- text: Download the exported content of document {file} in {mimeType} format.
slots:
file: path.fileId
mimeType: query.mimeType
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files'].get
update:
x-apievangelist-phrasing:
intent: List files
effect: read
questions:
- How do I find files by name or type in Drive?
- Can I search files across all my drives and shared drives?
instructions:
- text: List my files matching {q}.
slots:
q: query.q
- text: Find files in shared drive {drive}.
slots:
drive: query.driveId
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files'].post
update:
x-apievangelist-phrasing:
intent: Create a file
effect: write
questions:
- How do I upload a new file to Drive?
- Can I create a file in a specific folder?
instructions:
- text: Create a file named {name}.
slots:
name: requestBody.name
- text: Create file {name} in folder {parent}.
slots:
name: requestBody.name
parent: requestBody.parents
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files/generateCseToken'].get
update:
x-apievangelist-phrasing:
intent: Generate a CSE token for a file
effect: write
questions:
- How do I generate a token to create a CSE file?
- Can I generate a CSE token for a new file in a shared drive?
instructions:
- text: Generate a CSE token for file {file}.
slots:
file: query.fileId
- text: Generate a CSE token for a new file under parent {parent}.
slots:
parent: query.parent
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files/{fileId}/watch'].post
update:
x-apievangelist-phrasing:
intent: Watch a file for changes
effect: write
questions:
- How do I get notified when a file changes?
- Can I watch a single file instead of my whole Drive?
instructions:
- text: Watch file {file} for changes.
slots:
file: path.fileId
- text: Notify me at {address} when file {file} changes.
slots:
address: requestBody.address
file: path.fileId
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files/{fileId}/modifyLabels'].post
update:
x-apievangelist-phrasing:
intent: Set or clear labels on a file
effect: write
questions:
- How do I set a custom label on a file?
- Can I clear a label from a file?
instructions:
- text: Set label modifications {mods} on file {file}.
slots:
mods: requestBody.labelModifications
file: path.fileId
- text: Apply label changes {mods} to file {file}.
slots:
mods: requestBody.labelModifications
file: path.fileId
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/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 ID?
- Can I fetch a file's metadata without downloading it?
instructions:
- text: Get file {file}.
slots:
file: path.fileId
- text: Show the metadata of file {file}.
slots:
file: path.fileId
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files/{fileId}'].delete
update:
x-apievangelist-phrasing:
intent: Permanently delete a file
effect: destructive
questions:
- How do I permanently delete a file instead of trashing it?
- Does deleting a folder also delete its contents?
instructions:
- text: Permanently delete file {file}.
slots:
file: path.fileId
- text: Delete file {file} without moving it to the trash.
slots:
file: path.fileId
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/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?
- Can I move a file to a different folder by updating it?
instructions:
- text: Rename file {fileId} to {name}.
slots:
fileId: path.fileId
name: requestBody.name
- text: Move file {fileId} into folder {parents}.
slots:
fileId: path.fileId
parents: requestBody.parents
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files/{fileId}/download'].post
update:
x-apievangelist-phrasing:
intent: Download a file's content
effect: read
questions:
- How do I download the actual content of a file?
- Can I download an older revision of a file?
instructions:
- text: Download the content of file {fileId}.
slots:
fileId: path.fileId
- text: Download revision {revisionId} of file {fileId}.
slots:
revisionId: query.revisionId
fileId: path.fileId
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files/generateIds'].get
update:
x-apievangelist-phrasing:
intent: Generate file IDs for new files
effect: read
questions:
- How do I get a new file ID before creating a file?
- Can I generate IDs for shortcuts instead of files?
instructions:
- text: Generate {count} new file IDs.
slots:
count: query.count
- text: Generate {count} shortcut IDs in the {space} space.
slots:
count: query.count
space: query.space
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files/{fileId}/copy'].post
update:
x-apievangelist-phrasing:
intent: Copy a file
effect: write
questions:
- How do I make a copy of a file?
- Can I copy a file into a different folder and keep its comments?
instructions:
- text: Copy file {fileId}.
slots:
fileId: path.fileId
- text: Copy file {fileId} into folder {parents} and copy its comments.
slots:
fileId: path.fileId
parents: requestBody.parents
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/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 see all the labels on one file?
instructions:
- text: List the labels on file {fileId}.
slots:
fileId: path.fileId
- text: Show up to {maxResults} labels on file {fileId}.
slots:
maxResults: query.maxResults
fileId: path.fileId
method: generated
generated: '2026-11-16'
- target: $.paths['/drive/v3/files/trash'].delete
update:
x-apievangelist-phrasing:
intent: Empty the trash
effect: destructive
questions:
- How do I permanently delete all trashed files?
- 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-16'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/google-drive-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.