Alerts

List Alerts

Retrieves a list of all alerts for the authenticated team

get/api/v2/alerts

Response

Successfully retrieved alerts

Example response

{
  "data": [
    {
      "id": "65f5e4a3b9e77c001a123456",
      "name": "High Error Rate",
      "message": "Error rate exceeds threshold",
      "threshold": 100,
      "interval": "15m",
      "thresholdType": "above",
      "source": "tile",
      "state": "ALERT",
      "channel": {
        "type": "webhook",
        "webhookId": "65f5e4a3b9e77c001a789012"
      },
      "team": "65f5e4a3b9e77c001a345678",
      "tileId": "65f5e4a3b9e77c001a901234",
      "dashboard": "65f5e4a3b9e77c001a567890",
      "createdAt": "2023-01-01T00:00:00.000Z",
      "updatedAt": "2023-01-01T00:00:00.000Z"
    }
  ]
}

Changes