/pattern/{pattern_id}
DevelopingGET
/pattern/{pattern_id}Last modified: 2 months ago
Returns a summary of the pattern identified in the URL.Pattern id is supplied in the URL, e.g.
/pattern/4999
Request
Path Params
pattern_id
string
required
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
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"
}
}
}
Last modified: 2 months ago