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/mostrecentlymatched

Detail

This method is not available to demo user accounts.

Returns a list of unique metrics which have had matches most recently, ordered by the most recent match on each metric.

Only matches in the last 7 days are considered, so where no matches have occurred in that period, this method will return an empty result, not the most recent matches further back.

Parameters

Key Required Example Description
limit no 10 Limit the number of results returned, must be between 1 and 500. Defaults to 30 if not specified.

Example Output

{
    "status": { ... see /login method for status block structure ... },
    "data": {
        "metrics": [
            {
                "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1003.cpu.total.steal",
                "last_match_timestamp": 1656987960,
                "last_match_string": "Today, 02:26",
                "num_matches": "5"
            },
            {
                "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1003.cpu.total.user",
                "last_match_timestamp": 1656935100,
                "last_match_string": "July 4th, 11:45",
                "num_matches": "7"
            },
            {
                "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1003.cpu.total.idle",
                "last_match_timestamp": 1656884520,
                "last_match_string": "July 3rd, 21:42",
                "num_matches": "6"
            },
            {
                "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1001.cpu.total.system",
                "last_match_timestamp": 1656808800,
                "last_match_string": "July 3rd, 00:40",
                "num_matches": "7"
            },
            {
                "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1001.memory.MemAvailable",
                "last_match_timestamp": 1656804000,
                "last_match_string": "July 2nd, 23:20",
                "num_matches": "5"
            }
        ]
    }
}

Live Request

URL: /metrics/mostrecentlymatched

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.