Skip to content
Get started

Sync connection

connections.import_(Literal["notion", "google-drive", "onedrive", 4 more]provider, ConnectionImportParams**kwargs) -> ConnectionImportResponse
POST/v3/connections/{provider}/import

Initiate a manual sync of connections

ParametersExpand Collapse
provider: Literal["notion", "google-drive", "onedrive", 4 more]
One of the following:
"notion"
"google-drive"
"onedrive"
"gmail"
"github"
"web-crawler"
"s3"
container_tags: Optional[Sequence[str]]

Optional comma-separated list of container tags to filter connections by

ReturnsExpand Collapse
str

Sync connection

import os
from supermemory import Supermemory

client = Supermemory(
    api_key=os.environ.get("SUPERMEMORY_API_KEY"),  # This is the default and can be omitted
)
response = client.connections.import_(
    provider="notion",
)
print(response)
Returns Examples