Skip to content
Get started

List documents

POST/v3/connections/{provider}/documents

List documents indexed for a provider and container tags

Path ParametersExpand Collapse
provider: "notion" or "google-drive" or "onedrive" or 4 more
One of the following:
"notion"
"google-drive"
"onedrive"
"gmail"
"github"
"web-crawler"
"s3"
Body ParametersJSONExpand Collapse
containerTags: optional array of string

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

ReturnsExpand Collapse
id: string
createdAt: string
formatdatetime
status: string
formatdatetime
summary: string
title: string
type: string
updatedAt: string
formatdatetime

List documents

curl https://api.supermemory.ai/v3/connections/$PROVIDER/documents \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $SUPERMEMORY_API_KEY" \
    -d '{
          "containerTags": [
            "user_123",
            "project_123"
          ]
        }'
[
  {
    "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"
  }
]