## Update settings `client.settings.update(SettingUpdateParamsbody, RequestOptionsoptions?): SettingUpdateResponse` **patch** `/v3/settings` Update settings for an organization ### Parameters - `body: SettingUpdateParams` - `chunkSize?: number | null` - `excludeItems?: string | number | boolean | 2 more | null` - `string` - `number` - `boolean` - `Record` - `Array` - `filterPrompt?: string | null` - `githubClientId?: string | null` - `githubClientSecret?: string | null` - `githubCustomKeyEnabled?: boolean | null` - `googleDriveClientId?: string | null` - `googleDriveClientSecret?: string | null` - `googleDriveCustomKeyEnabled?: boolean | null` - `includeItems?: string | number | boolean | 2 more | null` - `string` - `number` - `boolean` - `Record` - `Array` - `notionClientId?: string | null` - `notionClientSecret?: string | null` - `notionCustomKeyEnabled?: boolean | null` - `onedriveClientId?: string | null` - `onedriveClientSecret?: string | null` - `onedriveCustomKeyEnabled?: boolean | null` - `shouldLLMFilter?: boolean | null` ### Returns - `SettingUpdateResponse` - `orgId: string` - `orgSlug: string` - `updated: Updated` - `chunkSize?: number | null` - `excludeItems?: string | number | boolean | 2 more | null` - `string` - `number` - `boolean` - `Record` - `Array` - `filterPrompt?: string | null` - `githubClientId?: string | null` - `githubClientSecret?: string | null` - `githubCustomKeyEnabled?: boolean | null` - `googleDriveClientId?: string | null` - `googleDriveClientSecret?: string | null` - `googleDriveCustomKeyEnabled?: boolean | null` - `includeItems?: string | number | boolean | 2 more | null` - `string` - `number` - `boolean` - `Record` - `Array` - `notionClientId?: string | null` - `notionClientSecret?: string | null` - `notionCustomKeyEnabled?: boolean | null` - `onedriveClientId?: string | null` - `onedriveClientSecret?: string | null` - `onedriveCustomKeyEnabled?: boolean | null` - `shouldLLMFilter?: boolean | null` ### Example ```typescript 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.update(); console.log(setting.orgId); ``` #### 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 } } ```