- 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
/anomaly/lookup
Developing
GET
/anomaly/lookup
Last modified:2023-10-03 16:58:02
Request
Query Params
metric
stringÂ
required
timestamp
stringÂ
required
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 '/anomaly/lookup?metric=×tamp='
Responses
🟢200An example Response
application/json
Body
object {0}
Example
{
"status": {
"created_timestamp": 1657025919,
"created_string": "Tue 05 Jul 2022 @ 12:58 (UTC)",
"duration": 0.243,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 2252,
"session_id": "659e8c297cb040430a660b284a50bd21",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
},
"data": {
"anomaly": {
"id": 7786,
"metric_id": 982,
"metric": "grph_1.cloudinfra.mx-out02.network.eth0.tx_byte",
"value": 12183.4,
"timestamp": 1588685340,
"timestamp_string": "May 5th 2020, 13:29",
"until_timestamp": 1588685460,
"score": 0.78,
"training": {
"trainable": false,
"trainable_status": "expired",
"trainable_until_timestamp": null,
"30_day_trainable_from_timestamp": null,
"30_day_trainable_in": null
},
"patterns": [],
"positive": false,
"expected_range_lower": 0,
"expected_range_upper": 0,
"expected_range_lower_string": "0",
"expected_range_upper_string": "0",
"pending_patterns": []
},
"anomaly_graph_url": "https://api-stage.anomify.ai/metric/grph_1.cloudinfra.mx-out02.network.eth0.tx_byte/graph?from=1586093340&until=1588685340&display_x_axis=neither&display_y_axis=neither&display_legend=true&display_anomalies=false&display_matches=false&context=anomaly_30_day",
"pattern_graph_urls": {},
"matching_watchers": [
{
"id": 265,
"name": "MY TEST",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 103,
"org_id": 101,
"name": "Tom Riley",
"email": "tom@anomalarm.io",
"phone_number": "",
"slack_member_id": "U1626QWFK",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 209,
"name": "sd",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 102,
"org_id": 101,
"name": "Will Floutier",
"email": "will@anomalarm.io",
"phone_number": null,
"slack_member_id": null,
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 264,
"name": "THIS IS A TEST ALERT",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 103,
"org_id": 101,
"name": "Tom Riley",
"email": "tom@anomalarm.io",
"phone_number": "",
"slack_member_id": "U1626QWFK",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 221,
"name": "where is this",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 151,
"org_id": 101,
"name": "101 Admin-account user",
"email": "aa-admin+101@anomalarm.io",
"phone_number": "+447928242424",
"slack_member_id": "UCGSXGR7X",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 181,
"name": "Will removed slack member Id & email so should not receive this alert as a slack notification or email",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 102,
"org_id": 101,
"name": "Will Floutier",
"email": "will@anomalarm.io",
"phone_number": null,
"slack_member_id": null,
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 268,
"name": "Will testsd",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 151,
"org_id": 101,
"name": "101 Admin-account user",
"email": "aa-admin+101@anomalarm.io",
"phone_number": "+447928242424",
"slack_member_id": "UCGSXGR7X",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
}
],
"related": {
"status": {
"code": 500,
"message": "Something went wrong"
}
}
}
}
Modified at 2023-10-03 16:58:02