- About Anomify
- Getting Started
- /anomaliesGET
- /anomaly/{anomaly_id}GET
- /anomaly/lookupGET
- /anomaly/trainGET
- /benchmark/modelsGET
- /benchmark/startPOST
- /benchmark/setemailaddressPOST
- /benchmark/statusGET
- /benchmark/chartGET
- /benchmark/chartdataGET
- /billing/checkoutcallbackGET
- /billing/getcheckoutsessionGET
- /billing/getportalsessionGET
- /billing/historyGET
- /doc/openapiGET
- /exclusion/addGET
- /exclusion/deleteGET
- /exclusionPOST
- /exclusion/{exclusion_id}DELETE
- /exclusion/listGET
- /exclusion/testGET
- /exclusion/typesGET
- /image/anomalyGET
- /image/metricGET
- /integration/listGET
- /integration/{service_id}/orgconfigGET
- /integration/{service_id}/orgpropertiesGET
- /integration/{service_id}/userconfigGET
- /integration/{service_id}/userpropertiesGET
- /js/eventsenderPOST
- /loginPOST
- /login/forgotpasswordPOST
- /login/resetpasswordPOST
- /login/validateclientGET
- /match/{match_id}GET
- /match/{match_id}/graphGET
- /match/{match_id}/motif/graphGET
- /metric/{metric_name}GET
- /metric/{metric_name}/anomaliesGET
- /metric/{metric_name}/anomalysummaryGET
- /metric/{metric_name}/bundleGET
- /metric/{metric_name}/graphGET
- /metric/{metric_name}/patternsGET
- /metric/{metric_name}/timeseriesGET
- /metric/{metric_name}/yhatGET
- /metricsGET
- /metrics/mostanomalousGET
- /metrics/mostrecentlyanomalousGET
- /metrics/mostrecentlymatchedGET
- /metrics/searchGET
- /misc/phonecodesGET
- /misc/timesinceGET
- /misc/timezonesGET
- /org/adminalert/{alert_code}GET
- /org/adminalertsPOST
- /orgPUT
- /org/adminalertsGET
- /org/adminalertsPUT
- /org/channelsGET
- /org/eventsGET
- /org/getquotametricsGET
- /org/graphGET
- /org/infoGET
- /org/overviewGET
- /org/removequotametricsGET
- /org/stripecallbackGET
- /org/summaryGET
- /org/testmetricsGET
- /org/tokensGET
- /org/updatePOST
- /org/usersGET
- /pattern/{pattern_id}GET
- /pattern/{pattern_id}/disableGET
- /pattern/{pattern_id}/matchesGET
- /pattern/{pattern_id}/timeseriesGET
- /patterns/pendingGET
- /pingGET
- /pingOPTIONS
- /progress/demoGET
- /progressGET
- /progress/{progress_id}/updateGET
- /signup/demoPOST
- /signup/demo-orgsGET
- /signup/selfservePOST
- /signup/verifyPOST
- /statusPOST
- /user/deletePOST
- /user/infoGET
- /user/logoutGET
- /user/pingGET
- /user/reportissuePOST
- /user/updatePOST
- /userPUT
- /user/updatepasswordPOST
- /user/passwordPUT
- /watcher/createGET
- /watcherPOST
- /watcher/thresholdPOST
- /watcher/{watcher_id}/deleteGET
- /watcher/{watcher_id}GET
- /watcher/{watcher_id}DELETE
- /watcher/{watcher_id}/undeleteGET
- /watcher/{watcher_id}/updateGET
- /watcher/{watcher_id}PUT
- /watcher/threshold/{watcher_id}PUT
- /watchers/chipsGET
- /watchers/listGET
- /grafana/metric/{metric_name}/anomaliesGET
- /grafana/metric/{metric_name}/matchesGET
- /grafana/{metric_name}/{panel_name}GET
- /grafana/org/{panel_name}GET
/metrics/mostrecentlymatched
Developing
GET
/metrics/mostrecentlymatched
Last modified:2024-09-26 12:40:33
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.
Request
Query Params
limit
stringÂ
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/metrics/mostrecentlymatched'
Responses
🟢200An example Response
application/json
Body
object {0}
Example
{
"status": {
"created_timestamp": 1657043532,
"created_string": "Tue 05 Jul 2022 @ 17:52 (UTC)",
"duration": 0.118,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 2868,
"session_id": "9574317bd9284de6d6d21f1cc6d128ce",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
},
"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"
}
]
}
}
Modified at 2024-09-26 12:40:33