# Settings ## Get settings **get** `/v3/settings` Get settings for an organization ### Returns - `chunkSize: optional number` - `excludeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `filterPrompt: optional string` - `githubClientId: optional string` - `githubClientSecret: optional string` - `githubCustomKeyEnabled: optional boolean` - `googleDriveClientId: optional string` - `googleDriveClientSecret: optional string` - `googleDriveCustomKeyEnabled: optional boolean` - `includeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `notionClientId: optional string` - `notionClientSecret: optional string` - `notionCustomKeyEnabled: optional boolean` - `onedriveClientId: optional string` - `onedriveClientSecret: optional string` - `onedriveCustomKeyEnabled: optional boolean` - `shouldLLMFilter: optional boolean` ### Example ```http curl https://api.supermemory.ai/v3/settings \ -H "Authorization: Bearer $SUPERMEMORY_API_KEY" ``` #### Response ```json { "chunkSize": -2147483648, "excludeItems": "string", "filterPrompt": "filterPrompt", "githubClientId": "githubClientId", "githubClientSecret": "githubClientSecret", "githubCustomKeyEnabled": true, "googleDriveClientId": "googleDriveClientId", "googleDriveClientSecret": "googleDriveClientSecret", "googleDriveCustomKeyEnabled": true, "includeItems": "string", "notionClientId": "notionClientId", "notionClientSecret": "notionClientSecret", "notionCustomKeyEnabled": true, "onedriveClientId": "onedriveClientId", "onedriveClientSecret": "onedriveClientSecret", "onedriveCustomKeyEnabled": true, "shouldLLMFilter": true } ``` ## Update settings **patch** `/v3/settings` Update settings for an organization ### Body Parameters - `chunkSize: optional number` - `excludeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `filterPrompt: optional string` - `githubClientId: optional string` - `githubClientSecret: optional string` - `githubCustomKeyEnabled: optional boolean` - `googleDriveClientId: optional string` - `googleDriveClientSecret: optional string` - `googleDriveCustomKeyEnabled: optional boolean` - `includeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `notionClientId: optional string` - `notionClientSecret: optional string` - `notionCustomKeyEnabled: optional boolean` - `onedriveClientId: optional string` - `onedriveClientSecret: optional string` - `onedriveCustomKeyEnabled: optional boolean` - `shouldLLMFilter: optional boolean` ### Returns - `orgId: string` - `orgSlug: string` - `updated: object { chunkSize, excludeItems, filterPrompt, 14 more }` - `chunkSize: optional number` - `excludeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `filterPrompt: optional string` - `githubClientId: optional string` - `githubClientSecret: optional string` - `githubCustomKeyEnabled: optional boolean` - `googleDriveClientId: optional string` - `googleDriveClientSecret: optional string` - `googleDriveCustomKeyEnabled: optional boolean` - `includeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `notionClientId: optional string` - `notionClientSecret: optional string` - `notionCustomKeyEnabled: optional boolean` - `onedriveClientId: optional string` - `onedriveClientSecret: optional string` - `onedriveCustomKeyEnabled: optional boolean` - `shouldLLMFilter: optional boolean` ### Example ```http curl https://api.supermemory.ai/v3/settings \ -X PATCH \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $SUPERMEMORY_API_KEY" \ -d '{}' ``` #### Response ```json { "orgId": "orgId", "orgSlug": "orgSlug", "updated": { "chunkSize": -2147483648, "excludeItems": "string", "filterPrompt": "filterPrompt", "githubClientId": "githubClientId", "githubClientSecret": "githubClientSecret", "githubCustomKeyEnabled": true, "googleDriveClientId": "googleDriveClientId", "googleDriveClientSecret": "googleDriveClientSecret", "googleDriveCustomKeyEnabled": true, "includeItems": "string", "notionClientId": "notionClientId", "notionClientSecret": "notionClientSecret", "notionCustomKeyEnabled": true, "onedriveClientId": "onedriveClientId", "onedriveClientSecret": "onedriveClientSecret", "onedriveCustomKeyEnabled": true, "shouldLLMFilter": true } } ``` ## Domain Types ### Setting Get Response - `SettingGetResponse object { chunkSize, excludeItems, filterPrompt, 14 more }` - `chunkSize: optional number` - `excludeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `filterPrompt: optional string` - `githubClientId: optional string` - `githubClientSecret: optional string` - `githubCustomKeyEnabled: optional boolean` - `googleDriveClientId: optional string` - `googleDriveClientSecret: optional string` - `googleDriveCustomKeyEnabled: optional boolean` - `includeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `notionClientId: optional string` - `notionClientSecret: optional string` - `notionCustomKeyEnabled: optional boolean` - `onedriveClientId: optional string` - `onedriveClientSecret: optional string` - `onedriveCustomKeyEnabled: optional boolean` - `shouldLLMFilter: optional boolean` ### Setting Update Response - `SettingUpdateResponse object { orgId, orgSlug, updated }` - `orgId: string` - `orgSlug: string` - `updated: object { chunkSize, excludeItems, filterPrompt, 14 more }` - `chunkSize: optional number` - `excludeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `filterPrompt: optional string` - `githubClientId: optional string` - `githubClientSecret: optional string` - `githubCustomKeyEnabled: optional boolean` - `googleDriveClientId: optional string` - `googleDriveClientSecret: optional string` - `googleDriveCustomKeyEnabled: optional boolean` - `includeItems: optional string or number or boolean or 2 more` - `string` - `number` - `boolean` - `map[unknown]` - `array of unknown` - `notionClientId: optional string` - `notionClientSecret: optional string` - `notionCustomKeyEnabled: optional boolean` - `onedriveClientId: optional string` - `onedriveClientSecret: optional string` - `onedriveCustomKeyEnabled: optional boolean` - `shouldLLMFilter: optional boolean`