PUT
/v1/bots/:botId
Update Monitor
Update an existing monitoring bot's configuration. You can modify the bot name, watch rules, expressions, and other settings.
Endpoint Details
PUT
https://api.monitor.getfailsafe.com/server
https://api.monitor.getfailsafe.com/server/v1/bots/:botId
Request Body Schema
Updated monitor configuration. All fields are optional - only include fields you want to change.
{
"botName": "string (optional)",
"botDescription": "string (optional)",
"active": true,
"severity": "High|Medium|Low|Critical",
"watchRule": {
"watchRuleType": "simple|advanced",
"expressions": [
"system.emitted(tx1.itx1.CorkHook.E.AddedLiquidity) && system.uintCompare(tx1.itx1.CorkHook.E.AddedLiquidity.mintedLp, >, 0)"
]
},
"notifications": [
"notification_id_1",
"notification_id_2"
],
"botVersion": "string (optional)",
"options": {
"topLevelTxBlockRange": 100
}
}