API documentation
AnomalyAlert data ingestion API consists of a single endpoint that accepts JSON payload via HTTP POST.
POST https://io.anomalyalert.com
Key | Value |
---|---|
api_key | String Your AnomalyAlert API key. It can be found in the Settings section of your dashboard. |
monitor | String Monitor name. Can contain letters, digits, hypens and underscores. A slash can be used to organize monitors into groups (i.e. spiders/amazon ). |
data | Key-value map: { [key: string]: number } Keys can contain letters, digits, hypens and underscores. Values must be numerical (integers or floats). |
{
"api_key": "YOUR_API_KEY",
"monitor": "monitor-name",
"data": {
"some_metric": 123,
"another_metric": 456.789,
"yet_another_metric": -0.123
}
}
Successful requests will return HTTP 200 status code, as well as JSON payload indicating success:
{
"success": true
}
In case of errors, an error message will be returned:
{
"success": false,
"message": "The number of metrics for a monitor cannot exceed 10"
}
Check out more guides or start monitoring.