Anomalies

Get Anomalies For Project

GET
/v0/project/{idOrSlug}/anomalies

Authorization

apiKeyAuth
x-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

In: header

Path Parameters

idOrSlug*string

Query Parameters

grain?|null
at?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v0/project/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}