Javascript
const url = 'https://api.supermemory.ai/v3/settings'; const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); }
{ "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
-2147483648 <= x <= 2147483647
Was this page helpful?