Get settings
Get settings for an organization
GET
/
v3
/
settings
Copy
Ask AI
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);
Copy
Ask AI
{
"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
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
.
Was this page helpful?
Copy
Ask AI
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);
Copy
Ask AI
{
"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>"
}
Assistant
Responses are generated using AI and may contain mistakes.