Back to Google Drive

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

Search for files by name within a specific Google Drive folder.
googleDriveSearchFilesInFolder
BETA
Internal
Permissions
  • https://www.googleapis.com/auth/drive.file
Optional permissions
  • https://www.googleapis.com/auth/drive
Parameters
NameTypeDescriptionRequired
parentFolderIdfile Folder to search within.Yes
querymustache File name query (e.g. "invoice" or "report").Yes
includeFoldersboolean Whether to include subfolders in results.No
pageSizenumber Maximum number of files to return (max 1000).No
pageTokenstring Optional. Token for fetching the next page of results.No
includeTrashedboolean Whether to include trashed files.No
Returns
NameTypeDescription
statusstring DONE when files are returned.
sensitive.files.fileIdstring File ID.
sensitive.files.namestring File name.
sensitive.files.mimeTypestring File MIME type.
sensitive.files.parentsarray Parent folder IDs.
sensitive.files.sizestring File size in bytes, if available.
sensitive.files.webViewLinkstring Link to open the file in Google Drive.
sensitive.files.webContentLinkstring Direct download link for the file content (if available).
sensitive.files.createdTimestring File creation time (RFC 3339).
sensitive.files.modifiedTimestring File last modified time (RFC 3339).
sensitive.nextPageTokenstring Token for fetching the next page of results.