App Logo
drive.google.com

Search Google Drive

Search Google Drive by free text, or filter by name, file type, owner and modified-date range. Returns each match's file id, name, link and the folder it sits in. Drive's search results carry no sizes, types or dates, so filter by type rather than expecting those fields back, and use the folder listing script when you need full metadata.

Input

name optional

Restrict to files whose name contains these words.

type optional

Restrict to one Drive file type. Use this rather than filtering on mimeType afterwards — the search surface does not expose mimeTypes.

owner optional

Restrict by owner: an email address, or "me".

query optional

Free-text query, matched by Drive against file names and contents.

modifiedAfter optional

Only files modified on or after this date, as YYYY-MM-DD.

modifiedBefore optional

Only files modified before this date, as YYYY-MM-DD.

Output

url required
count required
files required
query required

The query string as submitted to Drive, including any operators built from the filters.

note optional

Present only when nothing was found, stating that Drive rendered no rows within the wait rather than implying a certain empty set.

Start building not clicking