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: /metrics/mostanomalous

Detail

This method is not available to demo user accounts.

Returns a list of the most anomalous metrics in the time period requested, ordered by most anomalous first. Returns 10 results unless the optional limit parameter is specified.

Parameters

Key Required Example Description
from yes 1588603852 Timestamp
until no 1588690252 Timestamp
alerting_metrics_only no true When set 'true' (default), only consider alerting metrics
limit no 5 Limit the number of results returned, must be between 1 and 30. Defaults to 10 if not specified.

Example Output

{
    "status": { ... see /login method for status block structure ... },
    "data": {
        "metrics": [
            {
                "metric": "grph_1.cloudinfra.mx-out02.network.eth0.rx_byte",
                "anomalies": 3,
                "last_anomaly_id": 7785,
                "last_anomaly_timestamp": 1588685340,
                "last_anomaly_timestamp_string": "Tue 05 May 2020 @ 14:29 (+01:00)"
            },
            {
                "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1002.cpu.total.steal",
                "anomalies": 3,
                "last_anomaly_id": 7750,
                "last_anomaly_timestamp": 1588669860,
                "last_anomaly_timestamp_string": "Tue 05 May 2020 @ 10:11 (+01:00)"
            },
            {
                "metric": "grph_1.cloudinfra.mx-out02.network.eth0.tx_byte",
                "anomalies": 3,
                "last_anomaly_id": 7786,
                "last_anomaly_timestamp": 1588685340,
                "last_anomaly_timestamp_string": "Tue 05 May 2020 @ 14:29 (+01:00)"
            },
            {
                "metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.memory.MemFree",
                "anomalies": 2,
                "last_anomaly_id": 7687,
                "last_anomaly_timestamp": 1588642500,
                "last_anomaly_timestamp_string": "Tue 05 May 2020 @ 02:35 (+01:00)"
            },
            {
                "metric": "grph_1.cloudinfra.cloud-cumin-01.network.eth0.rx_byte",
                "anomalies": 2,
                "last_anomaly_id": 7643,
                "last_anomaly_timestamp": 1588612140,
                "last_anomaly_timestamp_string": "Mon 04 May 2020 @ 18:09 (+01:00)"
            }
        ]
    }
}

Live Request

URL: /metrics/mostanomalous

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.