POST
/
v3
/
connections
/
list
List connections
const url = 'https://api.supermemory.ai/v3/connections/list';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"containerTags":["user_123","project_123"]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
[
  {
    "createdAt": "2023-11-07T05:31:56Z",
    "documentLimit": 123,
    "email": "<string>",
    "expiresAt": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "metadata": {},
    "provider": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
containerTags
string[]

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

Example:
["user_123", "project_123"]

Response

Connections

createdAt
string<date-time>
required
id
string
required
provider
string
required
documentLimit
number
email
string
expiresAt
string<date-time>
metadata
object