GET
/
monitor
/
{id}
/
alert
curl --request GET \
  --url https://api.alerty.ai/monitor/{id}/alert \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "title": "<string>",
    "description": "<string>",
    "state": "TRIGGED",
    "severity": "NOT_DEFINED",
    "query": "<string>",
    "monitor": {
      "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "pollDurationInterval": "P3Y6M4DT12H30M5S",
      "name": "<string>",
      "description": "<string>",
      "type": "UP_TIME",
      "resourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "snoozedUntil": "2023-11-07T05:31:56Z",
      "state": "ACTIVE",
      "status": "NO_DATA",
      "priority": "NOT_DEFINED",
      "recipients": [
        {
          "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "integration": {
            "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
            "createdAt": "2023-11-07T05:31:56Z",
            "updatedAt": "2023-11-07T05:31:56Z",
            "type": "SLACK",
            "class": "NOTIFICATION",
            "configuration": {
              "teamId": "<string>",
              "accessToken": "<string>",
              "incomingWebhookURL": "<string>",
              "channelID": "<string>"
            }
          },
          "integrationOverride": {
            "teamId": "<string>",
            "accessToken": "<string>",
            "incomingWebhookURL": "<string>",
            "channelID": "<string>"
          }
        }
      ],
      "query": "<string>",
      "resource": {
        "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "name": "<string>",
        "type": "WEBSITE",
        "configuration": {
          "url": "<string>"
        }
      }
    },
    "resolvedAt": "2023-11-07T05:31:56Z",
    "resolvedBy": {
      "id": "<string>",
      "email": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "emailVerified": true,
      "profilePictureURL": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

the monitor identifier

Response

200
application/json
successful retrieved monitor alerts
id
string
required

Unique identifier for the entity

createdAt
string
required
updatedAt
string
required
title
string
required

the alert title

state
enum<string>
required

state of the alert during its lifecycle

Available options:
TRIGGED,
RESOLVED
severity
enum<string>
required

alert severity

Available options:
NOT_DEFINED,
CRITICAL,
HIGH,
MEDIUM,
LOW
description
string

the alert description field

query
string

the monitor query

monitor
object

resource monitor

resolvedAt
string

timestamp when incident was closed

resolvedBy
object