Skip to content
Get started

Update settings

PATCH/v3/settings

Update settings for an organization

Body ParametersJSONExpand Collapse
chunkSize: optional number
minimum-2147483648
maximum2147483647
excludeItems: optional string or number or boolean or 2 more
One of the following:
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
One of the following:
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
ReturnsExpand Collapse
orgId: string
orgSlug: string
updated: object { chunkSize, excludeItems, filterPrompt, 14 more }
chunkSize: optional number
minimum-2147483648
maximum2147483647
excludeItems: optional string or number or boolean or 2 more
One of the following:
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
One of the following:
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

Update settings

curl https://api.supermemory.ai/v3/settings \
    -X PATCH \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $SUPERMEMORY_API_KEY" \
    -d '{}'
{
  "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
  }
}