- 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
/pattern/{pattern_id}
Developing
GET
/pattern/{pattern_id}
Last modified:2024-12-11 16:14:10
/pattern/4999
Request
Path Params
pattern_id
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 '/pattern/'
Responses
🟢200An example Response
application/json
Body
object {0}
Example
{
"status": {
"created_timestamp": 1657641415,
"created_string": "Tue 12 Jul 2022 @ 15:56 (UTC)",
"duration": 0.292,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 763,
"session_id": "103bfbd9f2cdd43fe809104eefc713f7",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": true,
"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": {
"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"
}
}
}
Modified at 2024-12-11 16:14:10