GET
/
v3
/
settings
import Supermemory from 'supermemory';

const client = new Supermemory({
  apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted
});

const setting = await client.settings.get();

console.log(setting.excludeItems);
{
  "shouldLLMFilter": true,
  "filterPrompt": "<string>",
  "includeItems": "<string>",
  "excludeItems": "<string>",
  "filterTags": "<string>",
  "googleDriveCustomKeyEnabled": true,
  "googleDriveClientId": "<string>",
  "googleDriveClientSecret": "<string>",
  "notionCustomKeyEnabled": true,
  "notionClientId": "<string>",
  "notionClientSecret": "<string>",
  "onedriveCustomKeyEnabled": true,
  "onedriveClientId": "<string>",
  "onedriveClientSecret": "<string>"
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

Settings retrieved successfully

The response is of type object.