Google Drive · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Drive Labels API
25 actions
25 updates
phrasing
extends
openapi/google-drive-labels-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 25 · first 16 shown; the file carries all of them
$.info
$.paths['/v2/labels/{labelsId}'].get
$.paths['/v2/labels/{labelsId}'].delete
$.paths['/v2/labels/{labelsId}:updateLabelEnabledAppSettings'].post
$.paths['/v2/labels/{labelsId}:updateLabelCopyMode'].post
$.paths['/v2/labels'].get
$.paths['/v2/labels'].post
$.paths['/v2/labels/{labelsId}:enable'].post
$.paths['/v2/labels/{labelsId}:disable'].post
$.paths['/v2/labels/{labelsId}:delta'].post
$.paths['/v2/labels/{labelsId}/permissions'].get
$.paths['/v2/labels/{labelsId}/permissions'].post
$.paths['/v2/labels/{labelsId}/permissions'].patch
$.paths['/v2/labels/{labelsId}:publish'].post
$.paths['/v2/labels/{labelsId}/locks'].get
$.paths['/v2/labels/{labelsId}/permissions:batchUpdate'].post
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 Drive Labels API
version: 1.0.0
extends: openapi/google-drive-labels-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: 24
- target: $.paths['/v2/labels/{labelsId}'].get
update:
x-apievangelist-phrasing:
intent: Get a label
effect: read
questions:
- How do I look up a label by its ID?
- Can I fetch a specific revision of a label?
instructions:
- text: Get label {labelsId}.
slots:
labelsId: path.labelsId
- text: Show the {view} view of label {labelsId}.
slots:
labelsId: path.labelsId
view: query.view
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a label
effect: destructive
questions:
- How do I permanently delete a label and its metadata from Drive items?
- Can I delete a label that is still published?
instructions:
- text: Delete label {labelsId}.
slots:
labelsId: path.labelsId
- text: Permanently remove label {labelsId} and its Drive item metadata.
slots:
labelsId: path.labelsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}:updateLabelEnabledAppSettings'].post
update:
x-apievangelist-phrasing:
intent: Enable a label in apps
effect: write
questions:
- How do I make a label usable in Google Docs or Gmail?
- Can I change which Workspace apps a label is enabled in?
instructions:
- text: Set enabled app settings {enabledAppSettings} on label {labelsId}.
slots:
labelsId: path.labelsId
enabledAppSettings: requestBody.enabledAppSettings
- text: Enable label {labelsId} in the apps described by {enabledAppSettings}.
slots:
labelsId: path.labelsId
enabledAppSettings: requestBody.enabledAppSettings
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}:updateLabelCopyMode'].post
update:
x-apievangelist-phrasing:
intent: Set how a label copies
effect: write
questions:
- How do I control whether a label's values are copied when a Drive item is copied?
- Can I stop a label from being copied to new files?
instructions:
- text: Set copy mode {copyMode} on label {labelsId}.
slots:
labelsId: path.labelsId
copyMode: requestBody.copyMode
- text: Make label {labelsId} copy values according to {copyMode}.
slots:
labelsId: path.labelsId
copyMode: requestBody.copyMode
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels'].get
update:
x-apievangelist-phrasing:
intent: List labels
effect: read
questions:
- Which labels exist in my organization?
- Can I list only published labels?
instructions:
- text: List all labels.
- text: List labels with minimum role {minimumRole}.
slots:
minimumRole: query.minimumRole
- text: 'List published labels only: {publishedOnly}.'
slots:
publishedOnly: query.publishedOnly
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels'].post
update:
x-apievangelist-phrasing:
intent: Create a label
effect: write
questions:
- How do I create a new label with fields?
- Can I create a label as a draft and publish it later?
instructions:
- text: Create a {labelType} label named {name} with fields {fields}.
slots:
labelType: requestBody.labelType
name: requestBody.name
fields: requestBody.fields
- text: Create a new label {name} of type {labelType} in language {languageCode}.
slots:
name: requestBody.name
labelType: requestBody.labelType
languageCode: query.languageCode
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}:enable'].post
update:
x-apievangelist-phrasing:
intent: Enable a disabled label
effect: write
questions:
- How do I turn a disabled label back on?
- What happens to a disabled label when I enable it?
instructions:
- text: Enable disabled label {labelsId}.
slots:
labelsId: path.labelsId
- text: Restore label {labelsId} to its published state.
slots:
labelsId: path.labelsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}:disable'].post
update:
x-apievangelist-phrasing:
intent: Disable a published label
effect: write
questions:
- How do I temporarily turn off a label?
- Can I disable a label without deleting it?
instructions:
- text: Disable label {labelsId}.
slots:
labelsId: path.labelsId
- text: Disable label {labelsId} with policy {disabledPolicy}.
slots:
labelsId: path.labelsId
disabledPolicy: requestBody.disabledPolicy
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}:delta'].post
update:
x-apievangelist-phrasing:
intent: Apply a batch of changes to a label
effect: write
questions:
- How do I update several fields of a label in one request?
- Can I apply a set of update requests to a label and keep it as a draft?
instructions:
- text: Apply update requests {requests} to label {labelsId}.
slots:
labelsId: path.labelsId
requests: requestBody.requests
- text: Batch update label {labelsId} with {requests} and keep it as a draft.
slots:
labelsId: path.labelsId
requests: requestBody.requests
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/permissions'].get
update:
x-apievangelist-phrasing:
intent: List a label's permissions
effect: read
questions:
- Who has access to a label?
- Can I see the permission grants on a label?
instructions:
- text: List the permissions on label {labelsId}.
slots:
labelsId: path.labelsId
- text: Show who can manage label {labelsId}.
slots:
labelsId: path.labelsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/permissions'].post
update:
x-apievangelist-phrasing:
intent: Grant a user or group access to a label
effect: write
questions:
- How do I share a label with a user or group?
- Can I give someone the role of viewer on a label?
instructions:
- text: Grant {role} to {email} on label {labelsId}.
slots:
labelsId: path.labelsId
role: requestBody.role
email: requestBody.email
- text: Add a permission for {person} on label {labelsId} with role {role}.
slots:
labelsId: path.labelsId
person: requestBody.person
role: requestBody.role
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/permissions'].patch
update:
x-apievangelist-phrasing:
intent: Update a label's permissions
effect: write
questions:
- How do I change an existing permission on a label?
- Can I update a permission grant on a label without recreating it?
instructions:
- text: Update the permission on label {labelsId} to {role}.
slots:
labelsId: path.labelsId
role: requestBody.role
- text: Change the existing permission on label {labelsId}.
slots:
labelsId: path.labelsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}:publish'].post
update:
x-apievangelist-phrasing:
intent: Publish a label's draft changes
effect: write
questions:
- How do I publish the draft changes to a label?
- What happens to previous draft revisions when I publish a label?
instructions:
- text: Publish label {labelsId}.
slots:
labelsId: path.labelsId
- text: Publish the draft changes on label {labelsId}.
slots:
labelsId: path.labelsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/locks'].get
update:
x-apievangelist-phrasing:
intent: List locks on a label
effect: read
questions:
- Which fields of a label are locked?
- Can I see the locks on a label?
instructions:
- text: List the locks on label {labelsId}.
slots:
labelsId: path.labelsId
- text: Show which fields of label {labelsId} are locked.
slots:
labelsId: path.labelsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/permissions:batchUpdate'].post
update:
x-apievangelist-phrasing:
intent: Batch update label permissions
effect: write
questions:
- How do I grant several users access to a label in one request?
- Can I update many label permissions at once?
instructions:
- text: Batch update the permissions on label {labelsId} with {requests}.
slots:
labelsId: path.labelsId
requests: requestBody.requests
- text: Grant multiple users access to label {labelsId} in one call.
slots:
labelsId: path.labelsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/permissions/{permissionsId}'].delete
update:
x-apievangelist-phrasing:
intent: Revoke a user's access to a label
effect: destructive
questions:
- How do I remove someone's access to a label?
- Can I delete a single permission on a label?
instructions:
- text: Delete permission {permissionsId} on label {labelsId}.
slots:
labelsId: path.labelsId
permissionsId: path.permissionsId
- text: Revoke the access grant {permissionsId} on label {labelsId}.
slots:
labelsId: path.labelsId
permissionsId: path.permissionsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/permissions:batchDelete'].post
update:
x-apievangelist-phrasing:
intent: Batch remove label permissions
effect: destructive
questions:
- How do I revoke access for several users from a label at once?
- Can I delete many label permission grants in one request?
instructions:
- text: Batch delete the permissions on label {labelsId} with {requests}.
slots:
labelsId: path.labelsId
requests: requestBody.requests
- text: Revoke several users' access to label {labelsId} in one call.
slots:
labelsId: path.labelsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/revisions/{revisionsId}/permissions'].get
update:
x-apievangelist-phrasing:
intent: List permissions on a label revision
effect: read
questions:
- Who has access to a specific revision of a label?
- Can I see the permission grants on one label revision?
instructions:
- text: List the permissions on revision {revisionsId} of label {labelsId}.
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
- text: Show who can manage label {labelsId} at revision {revisionsId}.
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/revisions/{revisionsId}/permissions'].post
update:
x-apievangelist-phrasing:
intent: Grant access to a label revision
effect: write
questions:
- How do I share a specific revision of a label with someone?
- Can I give a user access to one label revision without affecting others?
instructions:
- text: Grant {role} to {email} on revision {revisionsId} of label {labelsId}.
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
role: requestBody.role
email: requestBody.email
- text: Add a permission for {person} on label {labelsId} at revision {revisionsId}.
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
person: requestBody.person
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/revisions/{revisionsId}/permissions'].patch
update:
x-apievangelist-phrasing:
intent: Update a label revision's permissions
effect: write
questions:
- How do I change the permissions on a specific label revision?
- Can I update a permission grant on one label revision?
instructions:
- text: Update the permission on revision {revisionsId} of label {labelsId} to {role}.
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
role: requestBody.role
- text: Change the existing permission on label {labelsId} at revision {revisionsId}.
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/revisions/{revisionsId}/permissions:batchUpdate'].post
update:
x-apievangelist-phrasing:
intent: Batch update label permissions
effect: write
questions:
- How do I grant several people access to a label revision at once?
- Do label permissions need to be published after I change them?
instructions:
- text: 'Apply these permission changes to label {labelsId} revision {revisionsId}: {requests}.'
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
requests: requestBody.requests
- text: Grant the listed principals access to label {labelsId} revision {revisionsId}.
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/revisions/{revisionsId}/permissions/{permissionsId}'].delete
update:
x-apievangelist-phrasing:
intent: Revoke a label permission
effect: destructive
questions:
- How do I remove one person's access to a label revision?
- Can I delete a single label permission by its permission ID?
instructions:
- text: Delete permission {permissionsId} from label {labelsId} revision {revisionsId}.
slots:
permissionsId: path.permissionsId
labelsId: path.labelsId
revisionsId: path.revisionsId
- text: Revoke access for principal {permissionsId} on label {labelsId} revision {revisionsId}.
slots:
permissionsId: path.permissionsId
labelsId: path.labelsId
revisionsId: path.revisionsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/revisions/{revisionsId}/permissions:batchDelete'].post
update:
x-apievangelist-phrasing:
intent: Batch delete label permissions
effect: destructive
questions:
- How do I revoke several people's access to a label revision in one request?
- Can I remove a list of label permissions by their IDs?
instructions:
- text: 'Delete these permissions from label {labelsId} revision {revisionsId}: {requests}.'
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
requests: requestBody.requests
- text: Revoke the listed principals' access to label {labelsId} revision {revisionsId}.
slots:
labelsId: path.labelsId
revisionsId: path.revisionsId
method: generated
generated: '2026-11-16'
- target: $.paths['/v2/labels/{labelsId}/revisions/{revisionsId}/locks'].get
update:
x-apievangelist-phrasing:
intent: List locks on a label revision
effect: read
questions:
- How do I see who has locked fields on a Drive label?
- Which locks apply to a specific label revision?
instructions:
- text: List locks on revision {revisionsId} of label {labelsId}.
slots:
revisionsId: path.revisionsId
labelsId: path.labelsId
- text: Show {pageSize} locks per page for label {labelsId} revision {revisionsId}.
slots:
revisionsId: path.revisionsId
labelsId: path.labelsId
pageSize: query.pageSize
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-labels-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.