You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/changelog/developer-platform.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ description: "API updates, new endpoints, and SDK releases"
6
6
7
7
API updates, new endpoints, SDK releases, and developer-focused features.
8
8
9
+
## April 13, 2026
10
+
11
+
-**Google Drive scoped sync:** New connections default to a **hosted folder/file picker** after OAuth; only chosen items sync. Use `metadata.syncScope: "full"` to sync the whole Drive. Import jobs **skip** scoped connections until a selection exists.
12
+
9
13
## March 18, 2026
10
14
11
15
-**Supermemory CLI:** New command-line tool for managing memories, documents, profiles, tags, connectors, and API keys directly from the terminal.
New Google Drive connections default to **folder and file** scope: after OAuth, users complete a hosted picker; only selected items sync. Set `metadata.syncScope` to `"full"` on connection creation to sync the entire Drive without the picker. Scoped connections without a saved selection are skipped by import jobs until setup is finished.
Copy file name to clipboardExpand all lines: apps/docs/connectors/google-drive.mdx
+23-4Lines changed: 23 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@ icon: "google-drive"
6
6
7
7
Connect Google Drive to sync documents into your Supermemory knowledge base with OAuth authentication and custom app support.
8
8
9
+
## Sync scope
10
+
11
+
**Default for new connections:** after OAuth, the user completes a **folder and file** picker (Google Docs, Sheets, Slides, and PDFs). Only items they select are synced and updated until they change the selection (for example from the Supermemory console).
12
+
13
+
**Whole Drive:** set `metadata.syncScope` to `"full"` when creating the connection so the entire Drive syncs without the picker.
14
+
15
+
**Explicit scoped mode:** set `metadata.syncScope` to `"selected"` for the picker flow, or rely on the default for new connects.
16
+
17
+
<Note>
18
+
If you use scoped sync and the user has not finished the picker yet, **scheduled or manual import may skip that connection** until a selection is saved on the connection.
19
+
</Note>
20
+
9
21
## Quick Setup
10
22
11
23
### 1. Create Google Drive Connection
@@ -25,7 +37,8 @@ Connect Google Drive to sync documents into your Supermemory knowledge base with
25
37
documentLimit: 3000,
26
38
metadata: {
27
39
source: 'google-drive',
28
-
department: 'engineering'
40
+
department: 'engineering',
41
+
syncScope: 'selected'
29
42
}
30
43
});
31
44
@@ -48,7 +61,8 @@ Connect Google Drive to sync documents into your Supermemory knowledge base with
48
61
document_limit=3000,
49
62
metadata={
50
63
'source': 'google-drive',
51
-
'department': 'engineering'
64
+
'department': 'engineering',
65
+
'syncScope': 'selected',
52
66
}
53
67
)
54
68
@@ -68,16 +82,21 @@ Connect Google Drive to sync documents into your Supermemory knowledge base with
68
82
"documentLimit": 3000,
69
83
"metadata": {
70
84
"source": "google-drive",
71
-
"department": "engineering"
85
+
"department": "engineering",
86
+
"syncScope": "selected"
72
87
}
73
88
}'
74
89
```
75
90
</Tab>
76
91
</Tabs>
77
92
93
+
<Note>
94
+
For **whole Drive** sync, include `"syncScope": "full"` in `metadata` on the same `POST /v3/connections/google-drive` request instead of `"selected"`.
95
+
</Note>
96
+
78
97
### 2. Handle OAuth Callback
79
98
80
-
After user grants permissions, Google redirects to your callback URL. The connection is automatically established.
99
+
After the user grants permissions, Google redirects through Supermemory to finish the connection. With **scoped** sync (`syncScope` omitted or `"selected"`), the user is sent to Supermemory’s **hosted file and folder picker**; they must complete that step before imports run. With **`syncScope: "full"`**, Supermemory redirects to your `redirectUrl` (or returns connection details) **without** the picker. You can open the picker again later for an existing connection (Supermemory console, or `POST /v3/connections/{connectionId}/google-drive/hosted-picker` with an authenticated admin session).
0 commit comments