Skip to main content
GET
Search Google Drive files as the calling member

Authorizations

Authorization
string
header
required

Session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes.

Query Parameters

query
string

Optional text to search in Drive file names and full text. Omit to list files.

Required string length: 1 - 500
maxResults
integer
default:10

Maximum files to return, capped at 25.

Required range: 1 <= x <= 25
pageToken
string
Required string length: 1 - 2048
modifiedAfter
string<date-time>

Only files modified after this RFC3339 timestamp; follow nextPageToken to enumerate all matching files.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
folderId
string

Limit to direct children of this folder.

Required string length: 1 - 512
Pattern: ^[A-Za-z0-9_-]+$

Response

Google Drive files returned.

ok
boolean
required
files
object[]
required
nextPageToken
string

Google reports some drives were not searched; do not claim these are all matching files.