Generated by API Evangelist
Written by API Evangelist tooling for Google Docs's API. It is a proposal applied on top of the contract, not a document Google Docs publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Google Docs Documents API
version: 1.0.0
extends: openapi/google-docs-documents-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/v1/documents/{documentId}'].get
update:
x-apievangelist-phrasing:
intent: Get a document's content
effect: read
questions:
- How do I read the text of a Google Doc by its ID?
- Can I fetch a document with its comments and suggestions included?
instructions:
- text: Get document {documentId}.
slots:
documentId: path.documentId
- text: Fetch {documentId} with comments view mode {commentsViewMode}.
slots:
documentId: path.documentId
commentsViewMode: query.commentsViewMode
method: generated
generated: '2026-11-18'
- target: $.paths['/v1/documents'].post
update:
x-apievangelist-phrasing:
intent: Create a blank document
effect: write
questions:
- How do I create a new blank Google Doc from scratch?
- Does a new document start with a title and body, or are they ignored?
instructions:
- text: Create a blank document titled {title}.
slots:
title: requestBody.title
- text: Create a new document called {title} with body {body}.
slots:
title: requestBody.title
body: requestBody.body
method: generated
generated: '2026-11-18'
- target: $.paths['/v1/documents/{documentId}:batchUpdate'].post
update:
x-apievangelist-phrasing:
intent: Apply several changes to a document
effect: write
questions:
- How do I insert text, replace text and add a table in one request?
- Do batch updates fail entirely if one change is invalid?
instructions:
- text: Apply batch updates {requests} to document {documentId}.
slots:
requests: requestBody.requests
documentId: path.documentId
- text: Update {documentId} with write control {writeControl}.
slots:
documentId: path.documentId
writeControl: requestBody.writeControl
method: generated
generated: '2026-11-18'
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.