# Google Drive API API

> Google Drive API API on Apizie: 64 endpoints (Gets information about the user, the user's Drive, and system capabilities. For more information, see…, Retrieves an access proposal by ID. For more information, see [Manage pending access…, List the access proposals on a file. For more information, see [Manage pending access…, Approves or denies an access proposal. For more information, see [Manage pending access…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/analytics:googleapis-drive/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-drive`
- Category: Analytics
- Status: byok
- Source: https://developers.google.com/workspace/drive/
- Page: https://apizie.tech/api/analytics/googleapis-drive
- OpenAPI: https://apizie.tech/api/analytics/googleapis-drive/openapi.json

The Google Drive API allows clients to access resources from Google Drive.

## Endpoints

### Gets information about the user, the user's Drive, and system capabilities. For more information, see…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-about-get` (byok)

### Retrieves an access proposal by ID. For more information, see [Manage pending access…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-accessproposals-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | Required. The ID of the item the request is on. |
| proposalId | string | yes | Required. The ID of the access proposal to resolve. |

### List the access proposals on a file. For more information, see [Manage pending access…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-accessproposals-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | Required. The ID of the item the request is on. |
| pageSize | integer | no | Optional. The number of results per page. |
| pageToken | string | no | Optional. The continuation token on the list of access requests. |

### Approves or denies an access proposal. For more information, see [Manage pending access…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-accessproposals-resolve` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | Required. The ID of the item the request is on. |
| proposalId | string | yes | Required. The ID of the access proposal to resolve. |
| body | object | yes | JSON request body |

### Approves an approval. For more information, see [Manage…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-approvals-approve` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| approvalId | string | yes | Required. The ID of the approval to approve. |
| fileId | string | yes | Required. The ID of the file that the approval is on. |
| body | object | yes | JSON request body |

### Cancels an approval. For more information, see [Manage…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-approvals-cancel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| approvalId | string | yes | Required. The ID of the approval to cancel. |
| fileId | string | yes | Required. The ID of the file that the approval is on. |
| body | object | yes | JSON request body |

### Comments on an approval. For more information, see [Manage…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-approvals-comment` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| approvalId | string | yes | Required. The ID of the approval to comment on. |
| fileId | string | yes | Required. The ID of the file that the approval is on. |
| body | object | yes | JSON request body |

### Declines an approval. For more information, see [Manage…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-approvals-decline` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| approvalId | string | yes | Required. The ID of the approval to decline. |
| fileId | string | yes | Required. The ID of the file that the approval is on. |
| body | object | yes | JSON request body |

### Gets an approval by ID. For more information, see [Manage…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-approvals-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| approvalId | string | yes | Required. The ID of the approval. |
| fileId | string | yes | Required. The ID of the file that the approval is on. |

### Lists the approvals on a file. For more information, see [Manage…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-approvals-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | Required. The ID of the file that the approval is on. |
| pageSize | integer | no | The maximum number of approvals to return. When not set, at most 100 approvals are returned. |
| pageToken | string | no | The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous… |

### Reassigns the reviewers on an approval. For more information, see [Manage…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-approvals-reassign` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| approvalId | string | yes | Required. The ID of the approval to reassign. |
| fileId | string | yes | Required. The ID of the file that the approval is on. |
| body | object | yes | JSON request body |

### Starts an approval on a file. For more information, see [Manage…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-approvals-start` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | Required. The ID of the file that the approval is created on. |
| body | object | yes | JSON request body |

### Gets a specific app. For more information, see [Return user…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-apps-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| appId | string | yes | The ID of the app. |

### Lists a user's installed apps. For more information, see [Return user…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-apps-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| appFilterExtensions | string | no | A comma-separated list of file extensions to limit returned results. All results within the given app query scope which can open any of… |
| appFilterMimeTypes | string | no | A comma-separated list of file extensions to limit returned results. All results within the given app query scope which can open any of… |
| languageCode | string | no | A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/). |

### Gets the starting pageToken for listing future changes. For more information, see [Retrieve…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-changes-get-start-page-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| driveId | string | no | The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| teamDriveId | string | no | Deprecated: Use `driveId` instead. |

### Lists the changes for a user or shared drive. For more information, see [Retrieve…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-changes-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| driveId | string | no | The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined… |
| includeCorpusRemovals | boolean | no | Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file… |
| includeItemsFromAllDrives | boolean | no | Whether both My Drive and shared drive items should be included in results. |
| includeLabels | string | no | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only 'published' is supported. |
| includeRemoved | boolean | no | Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. |
| includeTeamDriveItems | boolean | no | Deprecated: Use `includeItemsFromAllDrives` instead. |
| pageSize | integer | no | The maximum number of changes to return. The service may return fewer than this value. If unspecified, at most 100 changes will be… |
| pageToken | string | yes | The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous… |
| restrictToMyDrive | boolean | no | Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application… |
| spaces | string | no | A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| teamDriveId | string | no | Deprecated: Use `driveId` instead. |

### Subscribes to changes for a user. For more information, see [Notifications for resource…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-changes-watch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| driveId | string | no | The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined… |
| includeCorpusRemovals | boolean | no | Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file… |
| includeItemsFromAllDrives | boolean | no | Whether both My Drive and shared drive items should be included in results. |
| includeLabels | string | no | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only 'published' is supported. |
| includeRemoved | boolean | no | Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. |
| includeTeamDriveItems | boolean | no | Deprecated: Use `includeItemsFromAllDrives` instead. |
| pageSize | integer | no | The maximum number of changes to return. The service may return fewer than this value. If unspecified, at most 100 changes will be… |
| pageToken | string | yes | The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous… |
| restrictToMyDrive | boolean | no | Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application… |
| spaces | string | no | A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| teamDriveId | string | no | Deprecated: Use `driveId` instead. |
| body | object | yes | JSON request body |

### Stops watching resources through this channel. For more information, see [Notifications for resource…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-channels-stop` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Lists a file's comments. For more information, see [Manage comments and…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-comments-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file. |
| includeDeleted | boolean | no | Whether to include deleted comments. Deleted comments will not include their original content. |
| pageSize | integer | no | The maximum number of comments to return. The service may return fewer than this value. If unspecified, at most 20 comments will be… |
| pageToken | string | no | The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous… |
| startModifiedTime | string | no | The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time). |

### Creates a comment on a file. For more information, see [Manage comments and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-comments-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file. |
| body | object | yes | JSON request body |

### Gets a comment by ID. For more information, see [Manage comments and…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-comments-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| commentId | string | yes | The ID of the comment. |
| fileId | string | yes | The ID of the file. |
| includeDeleted | boolean | no | Whether to return deleted comments. Deleted comments will not include their original content. |

### Updates a comment with patch semantics. For more information, see [Manage comments and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-comments-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| commentId | string | yes | The ID of the comment. |
| fileId | string | yes | The ID of the file. |
| body | object | yes | JSON request body |

### Deletes a comment. For more information, see [Manage comments and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-comments-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| commentId | string | yes | The ID of the comment. |
| fileId | string | yes | The ID of the file. |

### Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-drives-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | The maximum number of shared drives to return. The service may return fewer than this value. If unspecified, at most 10 shared drives will… |
| pageToken | string | no | Page token for shared drives. |
| q | string | no | Query string for searching shared drives. |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an… |

### Creates a shared drive. For more information, see [Manage shared…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-drives-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| requestId | string | yes | Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a shared drive. A… |
| body | object | yes | JSON request body |

### Gets a shared drive's metadata by ID. For more information, see [Manage shared…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-drives-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| driveId | string | yes | The ID of the shared drive. |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the… |

### Updates the metadata for a shared drive. For more information, see [Manage shared…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-drives-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| driveId | string | yes | The ID of the shared drive. |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the… |
| body | object | yes | JSON request body |

### Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-drives-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| allowItemDeletion | boolean | no | Whether any items inside the shared drive should also be deleted. This option is only supported when `useDomainAdminAccess` is also set to… |
| driveId | string | yes | The ID of the shared drive. |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the… |

### Hides a shared drive from the default view. For more information, see [Manage shared…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-drives-hide` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| driveId | string | yes | The ID of the shared drive. |

### Restores a shared drive to the default view. For more information, see [Manage shared…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-drives-unhide` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| driveId | string | yes | The ID of the shared drive. |

### Creates a copy of a file and applies any requested updates with patch semantics. For more information, see…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-files-copy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| copyComments | boolean | no | Whether to copy the open (unresolved) comments associated with the file. |
| enforceSingleParent | boolean | no | Deprecated: Copying files into multiple folders is no longer supported. Use shortcuts instead. |
| fileId | string | yes | The ID of the file. |
| ignoreDefaultVisibility | boolean | no | Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded… |
| includeLabels | string | no | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only `published` is supported. |
| keepRevisionForever | boolean | no | Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive.… |
| ocrLanguage | string | no | A language hint for OCR processing during image import (ISO 639-1 code). |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| body | object | yes | JSON request body |

### Lists the user's files. For more information, see [Search for files and…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-files-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| corpora | string | no | Specifies a collection of items (files or documents) to which the query applies. Supported items include: * `user` * `domain` * `drive` *… |
| corpus | string | no | Deprecated: The source of files to list. Use `corpora` instead. |
| driveId | string | no | ID of the shared drive to search. |
| includeItemsFromAllDrives | boolean | no | Whether both My Drive and shared drive items should be included in results. |
| includeLabels | string | no | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only `published` is supported. |
| includeTeamDriveItems | boolean | no | Deprecated: Use `includeItemsFromAllDrives` instead. |
| orderBy | string | no | A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was created. Avoid using this key for queries on large… |
| pageSize | integer | no | The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned… |
| pageToken | string | no | The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous… |
| q | string | no | A query for filtering the file results. For supported syntax, see [Search for files and folders](/workspace/drive/api/guides/search-files). |
| spaces | string | no | A comma-separated list of spaces to query within the corpora. Supported values are `drive` and `appDataFolder`. For more information, see… |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| teamDriveId | string | no | Deprecated: Use `driveId` instead. |

### Creates a file. For more information, see [Create and manage…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-files-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| enforceSingleParent | boolean | no | Deprecated: Creating files in multiple folders is no longer supported. |
| ignoreDefaultVisibility | boolean | no | Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded… |
| includeLabels | string | no | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only `published` is supported. |
| keepRevisionForever | boolean | no | Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive.… |
| ocrLanguage | string | no | A language hint for OCR processing during image import (ISO 639-1 code). |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| useContentAsIndexableText | boolean | no | Whether to use the uploaded content as indexable text. |
| body | object | yes | JSON request body |

### Gets a file's metadata or content by ID. For more information, see [Search for files and…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-files-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| acknowledgeAbuse | boolean | no | Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the `alt`… |
| fileId | string | yes | The ID of the file. |
| includeLabels | string | no | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only `published` is supported. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |

### Updates a file's metadata, content, or both. When calling this method, only populate fields in the request…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-files-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| addParents | string | no | A comma-separated list of parent IDs to add. |
| enforceSingleParent | boolean | no | Deprecated: Adding files to multiple folders is no longer supported. Use shortcuts instead. |
| fileId | string | yes | The ID of the file. |
| includeLabels | string | no | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only `published` is supported. |
| keepRevisionForever | boolean | no | Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive.… |
| ocrLanguage | string | no | A language hint for OCR processing during image import (ISO 639-1 code). |
| removeParents | string | no | A comma-separated list of parent IDs to remove. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| useContentAsIndexableText | boolean | no | Whether to use the uploaded content as indexable text. |
| body | object | yes | JSON request body |

### Permanently deletes a file owned by the user without moving it to the trash. For more information, see…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-files-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| enforceSingleParent | boolean | no | Deprecated: If an item isn't in a shared drive and its last parent is deleted but the item itself isn't, the item will be placed under its… |
| fileId | string | yes | The ID of the file. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |

### Downloads the content of a file. For more information, see [Download and export…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-files-download` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | Required. The ID of the file to download. |
| mimeType | string | no | Optional. The MIME type the file should be downloaded as. This field can only be set when downloading Google Workspace documents. For a… |
| revisionId | string | no | Optional. The revision ID of the file to download. This field can only be set when downloading blob files, Google Docs, and Google Sheets.… |

### Permanently deletes all of the user's trashed files. For more information, see [Trash or delete files and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-files-empty-trash` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| driveId | string | no | If set, empties the trash of the provided shared drive. |
| enforceSingleParent | boolean | no | Deprecated: If an item isn't in a shared drive and its last parent is deleted but the item itself isn't, the item will be placed under its… |

### Exports a Google Workspace document to the requested MIME type and returns exported byte content. For more…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-files-export` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file. |
| mimeType | string | yes | Required. The MIME type of the format requested for this export. For a list of supported MIME types, see [Export MIME types for Google… |

### Generates a CSE token which can be used to create or update CSE files.
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-files-generate-cse-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | no | The ID of the file for which the JWT should be generated. If not provided, an id will be generated. |
| parent | string | no | The ID of the expected parent of the file. Used when generating a JWT for a new CSE file. If specified, the parent will be fetched, and if… |

### Generates a set of file IDs which can be provided in create or copy requests. For more information, see…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-files-generate-ids` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| count | integer | no | The number of IDs to return. |
| space | string | no | The space in which the IDs can be used to create files. Supported values are `drive` and `appDataFolder`. (Default: `drive`.) For more… |
| type | string | no | The type of items which the IDs can be used for. Supported values are `files` and `shortcuts`. Note that `shortcuts` are only supported in… |

### Lists the labels on a file. For more information, see [List labels on a…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-files-list-labels` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID for the file. |
| maxResults | integer | no | The maximum number of labels to return per page. When not set, defaults to 100. |
| pageToken | string | no | The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous… |

### Modifies the set of labels applied to a file. For more information, see [Set a label field on a…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-files-modify-labels` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file to which the labels belong. |
| body | object | yes | JSON request body |

### Subscribes to changes to a file. For more information, see [Notifications for resource…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-files-watch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| acknowledgeAbuse | boolean | no | Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the `alt`… |
| fileId | string | yes | The ID of the file. |
| includeLabels | string | no | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only `published` is supported. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| body | object | yes | JSON request body |

### Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-operations-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource. |

### Lists a file's or shared drive's permissions. For more information, see [Share files, folders, and…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-permissions-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file or shared drive. |
| includePermissionsForView | string | no | Specifies which additional view's permissions to include in the response. Only `published` is supported. |
| pageSize | integer | no | The maximum number of permissions to return. The service may return fewer than this value. If unspecified, at most 100 permissions will be… |
| pageToken | string | no | The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous… |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is… |

### Creates a permission for a file or shared drive. For more information, see [Share files, folders, and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-permissions-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| emailMessage | string | no | A plain text custom message to include in the notification email. |
| enforceExpansiveAccess | boolean | no | Deprecated: All requests use the expansive access rules. |
| enforceSingleParent | boolean | no | Deprecated: See `moveToNewOwnersRoot` for details. |
| fileId | string | yes | The ID of the file or shared drive. |
| moveToNewOwnersRoot | boolean | no | This parameter only takes effect if the item isn't in a shared drive and the request is attempting to transfer the ownership of the item.… |
| sendNotificationEmail | boolean | no | Whether to send a notification email when sharing to users or groups. This defaults to `true` for users and groups, and is not allowed for… |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| transferOwnership | boolean | no | Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an… |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is… |
| body | object | yes | JSON request body |

### Gets a permission by ID. For more information, see [Share files, folders, and…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-permissions-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file. |
| permissionId | string | yes | The ID of the permission. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is… |

### Updates a permission with patch semantics. For more information, see [Share files, folders, and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-permissions-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| enforceExpansiveAccess | boolean | no | Deprecated: All requests use the expansive access rules. |
| fileId | string | yes | The ID of the file or shared drive. |
| permissionId | string | yes | The ID of the permission. |
| removeExpiration | boolean | no | Whether to remove the expiration date. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| transferOwnership | boolean | no | Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an… |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is… |
| body | object | yes | JSON request body |

### Deletes a permission. For more information, see [Share files, folders, and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-permissions-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| enforceExpansiveAccess | boolean | no | Deprecated: All requests use the expansive access rules. |
| fileId | string | yes | The ID of the file or shared drive. |
| permissionId | string | yes | The ID of the permission. |
| supportsAllDrives | boolean | no | Whether the requesting application supports both My Drives and shared drives. |
| supportsTeamDrives | boolean | no | Deprecated: Use `supportsAllDrives` instead. |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is… |

### Lists a comment's replies. For more information, see [Manage comments and…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-replies-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| commentId | string | yes | The ID of the comment. |
| fileId | string | yes | The ID of the file. |
| includeDeleted | boolean | no | Whether to include deleted replies. Deleted replies don't include their original content. |
| pageSize | integer | no | The maximum number of replies to return. The service may return fewer than this value. If unspecified, at most 20 replies will be… |
| pageToken | string | no | The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous… |

### Creates a reply to a comment. For more information, see [Manage comments and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-replies-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| commentId | string | yes | The ID of the comment. |
| fileId | string | yes | The ID of the file. |
| body | object | yes | JSON request body |

### Gets a reply by ID. For more information, see [Manage comments and…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-replies-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| commentId | string | yes | The ID of the comment. |
| fileId | string | yes | The ID of the file. |
| includeDeleted | boolean | no | Whether to return deleted replies. Deleted replies don't include their original content. |
| replyId | string | yes | The ID of the reply. |

### Updates a reply with patch semantics. For more information, see [Manage comments and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-replies-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| commentId | string | yes | The ID of the comment. |
| fileId | string | yes | The ID of the file. |
| replyId | string | yes | The ID of the reply. |
| body | object | yes | JSON request body |

### Deletes a reply. For more information, see [Manage comments and…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-replies-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| commentId | string | yes | The ID of the comment. |
| fileId | string | yes | The ID of the file. |
| replyId | string | yes | The ID of the reply. |

### Gets a revision's metadata or content by ID. For more information, see [Manage file…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-revisions-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| acknowledgeAbuse | boolean | no | Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the `alt`… |
| fileId | string | yes | The ID of the file. |
| revisionId | string | yes | The ID of the revision. |

### Updates a revision with patch semantics. For more information, see [Manage file…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-revisions-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file. |
| revisionId | string | yes | The ID of the revision. |
| body | object | yes | JSON request body |

### Permanently deletes a file version. You can only delete revisions for files with binary content in Google…
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-revisions-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file. |
| revisionId | string | yes | The ID of the revision. |

### Lists a file's revisions. For more information, see [Manage file…
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-revisions-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | yes | The ID of the file. |
| pageSize | integer | no | The maximum number of revisions to return. The service may return fewer than this value. If unspecified, at most 200 revisions will be… |
| pageToken | string | no | The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous… |

### Deprecated: Use `drives.list` instead.
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-teamdrives-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Maximum number of Team Drives to return. |
| pageToken | string | no | Page token for Team Drives. |
| q | string | no | Query string for searching Team Drives. |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator; if set to true, then all Team Drives of the domain in which the requester is an administrator… |

### Deprecated: Use `drives.create` instead.
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-teamdrives-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| requestId | string | yes | Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated… |
| body | object | yes | JSON request body |

### Deprecated: Use `drives.get` instead.
`GET https://apizie.tech/v1/analytics:googleapis-drive/drive-teamdrives-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| teamDriveId | string | yes | The ID of the Team Drive |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the… |

### Deprecated: Use `drives.update` instead.
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-teamdrives-update` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| teamDriveId | string | yes | The ID of the Team Drive |
| useDomainAdminAccess | boolean | no | Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the… |
| body | object | yes | JSON request body |

### Deprecated: Use `drives.delete` instead.
`POST https://apizie.tech/v1/analytics:googleapis-drive/drive-teamdrives-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| teamDriveId | string | yes | The ID of the Team Drive |

## Example
```
curl "https://apizie.tech/v1/analytics:googleapis-drive/drive-about-get" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Google Drive API API?
Create a free Apizie key, then send GET https://apizie.tech/v1/analytics:googleapis-drive/drive-about-get with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Google Drive API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Google Drive API itself also needs your own key from googleapis.com.

### Can AI agents use the Google Drive API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-drive.

### What is the status of the Google Drive API API?
Needs your own provider key (bring your own key)
