PATCH
/
v3
/
settings
const options = {
  method: 'PATCH',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"shouldLLMFilter":true,"filterPrompt":"<string>","includeItems":["<string>"],"excludeItems":["<string>"],"filterTags":{}}'
};

fetch('https://api.supermemory.ai/v3/settings', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
{
  "orgId": "<string>",
  "orgSlug": "<string>",
  "updated": {
    "shouldLLMFilter": true,
    "filterPrompt": "<string>",
    "includeItems": [
      "<string>"
    ],
    "excludeItems": [
      "<string>"
    ],
    "filterTags": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Settings updated successfully

The response is of type object.