List documents
connections.list_documents(Literal["notion", "google-drive", "onedrive", 4 more]provider, ConnectionListDocumentsParams**kwargs) -> ConnectionListDocumentsResponse
POST/v3/connections/{provider}/documents
List documents indexed for a provider and container tags
List documents
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.list_documents(
provider="notion",
)
print(response)[
{
"id": "id",
"createdAt": "createdAt",
"status": "status",
"summary": "summary",
"title": "title",
"type": "type",
"updatedAt": "updatedAt"
}
]Returns Examples
[
{
"id": "id",
"createdAt": "createdAt",
"status": "status",
"summary": "summary",
"title": "title",
"type": "type",
"updatedAt": "updatedAt"
}
]