Anomify API Documentation

/anomalies

/anomalies

/anomaly

/anomaly/lookup
/anomaly/train
/anomaly/{anomaly_id}

/image

/image/anomaly
/image/metric

/js

/js/eventsender

/login

/login
/login/forgotpassword
/login/resetpassword
/login/validateclient

/match

/match/{match_id}
/match/{match_id}/graph
/match/{match_id}/motif/graph

/metric

/metric/{metric_name}
/metric/{metric_name}/anomalies
/metric/{metric_name}/anomalysummary
/metric/{metric_name}/bundle
/metric/{metric_name}/graph
/metric/{metric_name}/patterns
/metric/{metric_name}/timeseries
/metric/{metric_name}/yhat

/metrics

/metrics
/metrics/mostanomalous
/metrics/mostrecentlyanomalous
/metrics/mostrecentlymatched

/misc

/misc/phonecodes
/misc/timesince
/misc/timezones

/org

/org/adminalert/{alert_code}
/org/adminalerts
/org/channels
/org/graph
/org/info
/org/summary
/org/update
/org/users

/pattern

/pattern/{pattern_id}
/pattern/{pattern_id}/disable
/pattern/{pattern_id}/matches
/pattern/{pattern_id}/timeseries

/patterns

/patterns/pending

/ping

/ping

/signup

/signup/demo
/signup/demo-orgs
/signup/selfserve
/signup/verify

/status

/status

/user

/user/info
/user/logout
/user/ping
/user/reportissue
/user/update
/user/updatepassword

/watcher

/watcher/create
/watcher/{watcher_id}/delete
/watcher/{watcher_id}/undelete
/watcher/{watcher_id}/update

/watchers

/watchers/chips
/watchers/list

Method: /watcher/{watcher_id}/update

Detail

This method is not available to demo user accounts.

Updates a watcher.

Parameters

Parameters are the same as for /watcher/create.

The id of the watcher to be updated is provided in URL, e.g.

/watcher/123/update

Example Output

{
    "status": { ... see /login method for status block structure ... },
    "data": {
        "watcher": {
            "id": 343,
            "owner_user_id": 101,
            "owner_user_display_name": "[owner user display name redacted]",
            "owner_user_email": "[owner user email redacted]",
            "name": "[name redacted]",
            "modified_timestamp": 1657645029,
            "modified_timestamp_string": "Today, 16:57:09",
            "dispatched_count": 0,
            "last_dispatched_timestamp": null,
            "last_dispatched_timestamp_string": "",
            "alert_slack_channel": "anomify-alerts",
            "report_frequency": "",
            "expiration_time": 600,
            "chips": "memory,MemFree",
            "is_alert": 0,
            "is_deleted": 0,
            "alert_email_recipient_ids": "101",
            "alert_sms_recipient_ids": null,
            "mention_slack_recipient_ids": "102",
            "summary_report_recipient_ids": null
        }
    }
}

Live Request

URL: /watcher//update

You need to be logged in to your Anomify account to to make live API requests.

Please log in here or sign up to Anomify

Email
Password

Live request results will appear here.