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: /pattern/{pattern_id}

Detail

Returns a summary of the pattern identified in the URL.

Parameters

None. Pattern id is supplied in the URL, e.g.

/pattern/4999

Example Output

{
    "status": { ... see /login method for status block structure ... },
    "data": {
        "pattern": {
            "id": 2393,
            "parent_id": 2392,
            "group_id": 0,
            "creator_type": "machine",
            "creator_user_id": 1,
            "creator_user_display_name": "Anomify AI",
            "metric_id": 709,
            "metric_name": "graphite-labs_wikimedia_org.clouddb-services.clouddb1001.cpu.total.iowait",
            "duration": 86400,
            "duration_string": "24 hour",
            "anomaly_timestamp": 1607001000,
            "created_timestamp": 1607020596,
            "created_string": "December 3rd 2020",
            "enabled": true,
            "origin": "trained",
            "layers": false,
            "checks": 36,
            "matches": 12,
            "match_rate": "33%",
            "last_match_timestamp": 1656056220,
            "last_match_string": "more than 2 weeks ago",
            "label": "echo",
            "positive": false,
            "anomaly_id": 70598,
            "anomaly_value": 32.71,
            "match_rate_string": "33% (12\/36)",
            "deletable": true,
            "graph_url": "https:\/\/api-stage.anomify.ai\/metric\/graphite-labs_wikimedia_org.clouddb-services.clouddb1001.cpu.total.iowait\/graph?from=1606914120&until=1607001000&display_x_axis=below&display_y_axis=right&display_legend=false&display_anomalies=false&display_matches=false",
            "graph_url_debug_png": "https:\/\/api-stage.anomify.ai\/metric\/graphite-labs_wikimedia_org.clouddb-services.clouddb1001.cpu.total.iowait\/graph?from=1606914120&until=1607001000&display_x_axis=below&display_y_axis=right&display_legend=false&display_anomalies=false&display_matches=false&debug_png_output=true"
        }
    }
}

Live Request

URL: /pattern/

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.