/metric/{metric_name}/anomalysummary
DevelopingGET
/metric/{metric_name}/anomalysummaryLast modified: 2 months ago
Return a summary of anomalies for an individual metric.
Request
Path Params
metric_name
string
required
Query Params
from
string
required
Timestamp. Example: 1588603852.
until
string
optional
Timestamp. Example: 1588690252.
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": 1657044823,
"created_string": "Tue 05 Jul 2022 @ 18:13 (UTC)",
"duration": 0.403,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 2980,
"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": {
"anomalysummary": {
"total_current_period": 6,
"total_previous_period": 0,
"total_change": "N/A",
"matched_current_period": 0,
"matched_previous_period": 0,
"matched_change": "Not Implemented"
}
}
}
Last modified: 2 months ago