If you prefer not to grant full Drive access, use Selected files sync mode: Google only sees the files you pick, and you refresh content with Sync when you need updates. File picking is done in the Console or in your own app (e.g. Google Picker)—not via a supermemory “pick files” API. Details: Google Drive — Selected files.
Quick Setup
1. Create Google Drive Connection
- TypeScript
- Python
- cURL
2. Handle OAuth Callback
After user grants permissions, Google redirects to your callback URL. The connection is automatically established.3. Check Connection Status
- TypeScript
- Python
- cURL
Supported Document Types
Based on the API type definitions, Google Drive documents are identified with these types:google_doc- Google Docsgoogle_slide- Google Slidesgoogle_sheet- Google Sheets
Connection Management
List All Connections
- TypeScript
- Python
- cURL
Delete Connection
- TypeScript
- Python
- cURL
Deleting a connection will:
- Stop all future syncs from Google Drive
- Remove the OAuth authorization
- Keep existing synced documents in Supermemory (they won’t be deleted)
Manual Sync
Trigger a manual synchronization:- TypeScript
- Python
- cURL
Advanced Configuration
Custom OAuth Application
Configure your own Google OAuth app using the settings API:- TypeScript
- Python
- cURL
Document Filtering
Configure filtering using the settings API:- TypeScript
- Python
- cURL