These docs are a work in progress: some pages may still be incomplete or contain inaccuracies.
fastmon Docs
Notifications

Update a rule

Update mutable fields on an existing rule (name, threshold, window, operator, filters, re-notify cadence, enabled state). Scope and metric are fixed at creation; delete and recreate to change them.

If actions is included, the entire action list is replaced (existing action rows are deleted and re-inserted). Requires org owner role.

Authorization

bearerAuth
AuthorizationBearer <token>

API token generated from the fastmon dashboard (Account → API Token). Send as Authorization: Bearer fm_... or paste the full token (including the fm_ prefix) into the Authorize dialog.

In: header

Path Parameters

rule_id*Rule Id
Formatuuid

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

PATCH
/v1/notification-rules/{rule_id}
curl -X PATCH "https://example.com/v1/notification-rules/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",  "name": "string",  "is_active": true,  "scope_type": "site",  "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",  "tag": "string",  "metric": "string",  "aggregation": "string",  "identity": "string",  "operator": "gt",  "condition_type": "absolute",  "threshold": 0,  "window_seconds": 0,  "baseline_window_seconds": 0,  "filters": {},  "re_notify_after_seconds": 0,  "last_evaluated_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "actions": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "type": "email",      "is_active": true,      "config": {}    }  ]}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}
{  "error": {    "code": "string",    "message": "string",    "request_id": "string",    "doc_url": "string",    "details": {}  }}