App Logo
drive.google.com

List a Google Drive folder

List the files and sub-folders directly inside a Google Drive folder, without recursing or downloading anything. Returns each item's id, name, type, size, last-modified date, owner and link. Omit folderId to list My Drive's root.

Input

folderId optional

Google Drive folder id, i.e. the <id> in drive.google.com/drive/folders/<id>. Omit to list the root of My Drive.

Output

url required
count required

Folders plus files returned.

files required
folders required
complete required

False when the folder holds more rows than the listing payload described; missingMetadataFor then carries their ids.

folderId required

The folder listed, or "root" for My Drive.

missingMetadataFor optional

Start building not clicking