Anomalies
Get Anomalies For Project
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringgrain?|nullat?string|nullSuccess
application/json- response
grain*stringValue in
"hour""day"from*number|to*number|baselineFrom*number|seriesScanned*number|health*array<>incidents*array<>suppressed*number|curl -X GET "https://example.com/v0/projects/string/anomalies"{ "grain": "hour", "from": 0, "to": 0, "baselineFrom": 0, "seriesScanned": 0, "health": [ { "metric": "string", "label": "string", "unit": "count", "current": 0, "expected": 0, "status": "normal", "chart": { "from": 0, "bucketSeconds": 0, "values": [ 0 ], "expected": [ 0 ], "lower": [ 0 ], "upper": [ 0 ] } } ], "incidents": [ { "id": "string", "kind": "anomaly", "severity": "critical", "title": "string", "start": 0, "end": 0, "ongoing": true, "findings": [ { "id": "string", "metric": "string", "label": "string", "unit": "count", "polarity": 1, "dimension": "string", "value": "string", "direction": "increase", "kind": "anomaly", "start": 0, "end": 0, "ongoing": true, "observed": 0, "expected": 0, "change": 0, "peakScore": 0, "contribution": 0, "chart": { "from": 0, "bucketSeconds": 0, "values": [ 0 ], "expected": [ 0 ], "lower": [ 0 ], "upper": [ 0 ] } } ], "absorbed": 0, "causes": [ { "type": "deploy", "title": "string", "detail": "string", "at": 0, "reference": "string" } ] } ], "suppressed": 0}