Update settings
Update settings for an organization
PATCH
/
v3
/
settings
Copy
Ask AI
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));
Copy
Ask AI
{
"orgId": "<string>",
"orgSlug": "<string>",
"updated": {
"shouldLLMFilter": true,
"filterPrompt": "<string>",
"includeItems": [
"<string>"
],
"excludeItems": [
"<string>"
],
"filterTags": {}
}
}
Authorizations
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
.
Was this page helpful?
Copy
Ask AI
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));
Copy
Ask AI
{
"orgId": "<string>",
"orgSlug": "<string>",
"updated": {
"shouldLLMFilter": true,
"filterPrompt": "<string>",
"includeItems": [
"<string>"
],
"excludeItems": [
"<string>"
],
"filterTags": {}
}
}
Assistant
Responses are generated using AI and may contain mistakes.