Back to Google Drive

Connect Knoon AI with Google Drive (Google) to automate AI workflows.

Get metadata for a Google Drive file or folder.
googleDriveGetFile
BETA
Permissions
  • https://www.googleapis.com/auth/drive.file
Optional permissions
  • https://www.googleapis.com/auth/drive
Parameters
NameTypeDescriptionRequired
fileIdfile Select the file or folder to fetch metadata for.Yes
Returns
NameTypeDescription
statusstring DONE.
sensitive.fileIdstring Google Drive file ID.
sensitive.namestring Name of the item.
sensitive.mimeTypestring File MIME type (if available).
sensitive.sizestring Size (bytes).
sensitive.parentsarray Parent folder IDs.
sensitive.createdTimestring Created time (RFC 3339).
sensitive.modifiedTimestring Last modified time (RFC 3339).
confidential.webViewLinkstring Link to open the file in Google Drive (if available).
confidential.webContentLinkstring Direct download link for the file content (if available).