Update AI alert settings
PUT
/api/settings/ai/alertsSave what is watched, how sensitive each watcher is, and where alerts go.
Needs the ManageSettings permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/settings/ai/alerts" \ -H "Content-Type: application/json" \ -d '{ "discordChannelId": null, "quietHours": 0, "writeSentence": true, "watchers": null }'{ "discordChannelId": null, "quietHours": 0, "writeSentence": true, "aiOn": true, "watchers": [ { "watcher": "string", "label": "string", "sensitivity": "string", "last": null } ], "secondInstanceAtPeople": null, "secondInstanceAtPercent": null}