Update settings
settings.update(SettingUpdateParams**kwargs) -> SettingUpdateResponse
PATCH/v3/settings
Update settings for an organization
Parameters
Update settings
import os
from supermemory import Supermemory
client = Supermemory(
api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted
)
setting = client.settings.update()
print(setting.org_id){
"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
}
}Returns Examples
{
"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
}
}