## 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 ### Parameters - `provider: Literal["notion", "google-drive", "onedrive", 4 more]` - `"notion"` - `"google-drive"` - `"onedrive"` - `"gmail"` - `"github"` - `"web-crawler"` - `"s3"` - `container_tags: Optional[Sequence[str]]` Optional comma-separated list of container tags to filter documents by ### Returns - `List[ConnectionListDocumentsResponseItem]` - `id: str` - `created_at: str` - `status: str` - `summary: Optional[str]` - `title: Optional[str]` - `type: str` - `updated_at: str` ### Example ```python 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) ``` #### Response ```json [ { "id": "id", "createdAt": "createdAt", "status": "status", "summary": "summary", "title": "title", "type": "type", "updatedAt": "updatedAt" } ] ```