/anomalies
DevelopingGET
/anomaliesModified at: a year ago
Return a list of anomalies in the requested time period, ordered by most recent first.
Request
Query Params
from
string
required
Timestamp. Example: 1588603852.
Example:
1666189503
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
status
#/definitions/875319required
data
object
required
anomalies
$ref(#/definitions/875241)[]
required
Example
{
"status": {
"created_timestamp": 1657023668,
"created_string": "Tue 05 Jul 2022 @ 12:21 (UTC)",
"duration": 1.309,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 3474,
"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": {
"anomalies": [
{
"id": 7636,
"metric_id": 1558,
"metric": "grph_1.cloudinfra.cloud-cumin-01.network.eth0.rx_byte",
"value": 75229.666667,
"timestamp": 1588610880,
"timestamp_string": "May 4th 2020, 16:48",
"until_timestamp": 1588610940,
"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
},
{
"id": 7626,
"metric_id": 688,
"metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.memory.MemFree",
"value": 1110985113.6,
"timestamp": 1588608180,
"timestamp_string": "May 4th 2020, 16:03",
"until_timestamp": 1588608300,
"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
},
{
"id": 7625,
"metric_id": 687,
"metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.memory.MemAvailable",
"value": 1649193779.2,
"timestamp": 1588608180,
"timestamp_string": "May 4th 2020, 16:03",
"until_timestamp": 1588608300,
"score": 0.78,
"training": {
"trainable": false,
"trainable_status": "disabled",
"trainable_until_timestamp": null,
"30_day_trainable_from_timestamp": null,
"30_day_trainable_in": null
},
"patterns": [],
"positive": false
},
{
"id": 7624,
"metric_id": 684,
"metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.memory.Active",
"value": 571816345.6,
"timestamp": 1588608180,
"timestamp_string": "May 4th 2020, 16:03",
"until_timestamp": 1588608420,
"score": 0.89,
"training": {
"trainable": false,
"trainable_status": "expired",
"trainable_until_timestamp": null,
"30_day_trainable_from_timestamp": null,
"30_day_trainable_in": null
},
"patterns": [],
"positive": false
}
]
}
}
Last modified: a year ago