/anomalies
DevelopingGET
/anomaliesLast modified:Â 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
object (API Response Status)Â
required
created_timestamp
integerÂ
required
Response created timestamp
created_string
stringÂ
required
Response created date/time string
duration
numberÂ
required
Duration of response, seconds
language
stringÂ
required
Language
timezone
object (Timezone)Â
required
code
enum<integer>Â
required
Response code, following HTTP status spec
Allowed values:
200202203204307400401404418500501
oldest_cached_component_age
integerÂ
required
Age in seconds of oldest cached component
session_id
stringÂ
required
Session id
org_onboarding_status_id
integer  | nullÂ
required
Org onboarding status id
api_host
string  | nullÂ
required
API host
user_onboarding_flags
object (User Onboarding Flags)Â
optional
org_upgraded
integer  | booleanÂ
required
data
objectÂ
required
anomalies
array[object (Anomaly) {9}]Â
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