Get connection (by provider)
connections.get_by_tag(Literal["notion", "google-drive", "onedrive", 4 more]provider, ConnectionGetByTagParams**kwargs) -> ConnectionGetByTagResponse
POST/v3/connections/{provider}/connection
Get connection details with provider and container tags
Get connection (by provider)
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.get_by_tag(
provider="notion",
container_tags=["user_123", "project_123"],
)
print(response.id){
"id": "id",
"createdAt": "createdAt",
"provider": "provider",
"containerTags": [
"string"
],
"documentLimit": 0,
"email": "email",
"expiresAt": "expiresAt",
"metadata": {
"foo": "bar"
}
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"provider": "provider",
"containerTags": [
"string"
],
"documentLimit": 0,
"email": "email",
"expiresAt": "expiresAt",
"metadata": {
"foo": "bar"
}
}