List user's Google Drive files
AUTHORITATIVE: Returns LIVE list of files from the authenticated user's actual Google Drive. Use when user asks 'show my files', 'what's in my Drive', 'my recent files'. Supports pagination - use nextPageToken to iterate through large drives without loading everything at once.
get/api/v1/drive/files
Request
- Base URL: https://localhost:3000
- URL: https://localhost:3000/api/v1/drive/files
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token)
Query parameters
max_resultsinteger
Files per page (default: 100, max: 1000)
page_tokenstring
Token from previous response to get next page
mime_typestring
Filter by type: 'application/pdf', 'application/vnd.google-apps.document', 'application/vnd.google-apps.spreadsheet', 'application/vnd.google-apps.folder'
folder_idstring
List contents of specific folder
Response
LIVE file list from user's Drive
Changes
No recorded changes to this operation across all 1 revision of this API.