List connections
connections.list(ConnectionListParams**kwargs) -> ConnectionListResponse
POST/v3/connections/list
List all connections
List connections
import os
from supermemory import Supermemory
client = Supermemory(
api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted
)
connections = client.connections.list()
print(connections)[
{
"id": "id",
"createdAt": "createdAt",
"provider": "provider",
"containerTags": [
"string"
],
"documentLimit": 0,
"email": "email",
"expiresAt": "expiresAt",
"lastSyncRun": {
"status": "status",
"completedAt": "completedAt",
"error": "error",
"errorCode": "auth_expired",
"startedAt": "startedAt"
},
"metadata": {
"foo": "bar"
}
}
]Returns Examples
[
{
"id": "id",
"createdAt": "createdAt",
"provider": "provider",
"containerTags": [
"string"
],
"documentLimit": 0,
"email": "email",
"expiresAt": "expiresAt",
"lastSyncRun": {
"status": "status",
"completedAt": "completedAt",
"error": "error",
"errorCode": "auth_expired",
"startedAt": "startedAt"
},
"metadata": {
"foo": "bar"
}
}
]