Javascript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.supermemory.ai/v3/settings', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "excludeItems": "<string>", "filterPrompt": "<string>", "googleDriveClientId": "<string>", "googleDriveClientSecret": "<string>", "googleDriveCustomKeyEnabled": true, "includeItems": "<string>", "notionClientId": "<string>", "notionClientSecret": "<string>", "notionCustomKeyEnabled": true, "onedriveClientId": "<string>", "onedriveClientSecret": "<string>", "onedriveCustomKeyEnabled": true, "shouldLLMFilter": true, "chunkSize": -1 }
Get settings for an organization
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Settings retrieved successfully
-2147483648 <= x <= 2147483647
Was this page helpful?