curl --request GET \
--url https://api.alerty.ai/incident/{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>",
"state": "TRIGGED",
"severity": "NOT_DEFINED",
"description": "<string>",
"query": "<string>",
"monitor": {
"id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"type": "UP_TIME",
"resourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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>"
}
}
],
"pollDurationInterval": "P3Y6M4DT12H30M5S",
"description": "<string>",
"snoozedUntil": "2023-11-07T05:31:56Z",
"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>"
}
}
]curl --request GET \
--url https://api.alerty.ai/incident/{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>",
"state": "TRIGGED",
"severity": "NOT_DEFINED",
"description": "<string>",
"query": "<string>",
"monitor": {
"id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"type": "UP_TIME",
"resourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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>"
}
}
],
"pollDurationInterval": "P3Y6M4DT12H30M5S",
"description": "<string>",
"snoozedUntil": "2023-11-07T05:31:56Z",
"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>"
}
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
the incident identifier Unique identifier for the entity
"5df33a85-2b9c-40e3-8854-760ee3b8efc7"
successful retrieved incident alerts
Unique identifier for the entity
"5df33a85-2b9c-40e3-8854-760ee3b8efc7"
the alert title
state of the alert during its lifecycle
TRIGGED, RESOLVED alert severity
NOT_DEFINED, CRITICAL, HIGH, MEDIUM, LOW the alert description field
the monitor query
the common monitor interval configuration resource monitor
Show child attributes
Unique identifier for the entity
"5df33a85-2b9c-40e3-8854-760ee3b8efc7"
the monitor name
the monitor type
UP_TIME, LATENCY, LOAD_TIME, WEBSITE_TYPO, STRIPE, DOMAIN_EXPIRATION, CERT_EXPIRATION, CDN_CONFIGURATION, CLOUDFLARE_REQUESTS, CLOUDFRONT_REQUESTS, STATUS_PAGE, DATABASE_STORAGE_LIMIT, DATABASE_CPU_USAGE, DATABASE_MEMORY_USAGE state of the monitor during its lifecycle
ACTIVE, PAUSED, SNOOZED, ERROR status of the monitor
NO_DATA, OK, ALERT, WARN monitor priority
NOT_DEFINED, CRITICAL, HIGH, MEDIUM, LOW, INFO the monitor recipients of the incidents/alerts notifications
Show child attributes
Unique identifier for the entity
"5df33a85-2b9c-40e3-8854-760ee3b8efc7"
the integration information
Show child attributes
Unique identifier for the entity
"5df33a85-2b9c-40e3-8854-760ee3b8efc7"
the integration type
SLACK, PAGERDUTY, EMAIL the integration class
NOTIFICATION, CLOUD_PROVIDER the slack integration configuration
Show child attributes
the team ID associated with the integration/app
the slack access token returned from the oauth
the slack incoming webhook url returned from the oauth
the default slack channel
the slack integration configuration
Show child attributes
the team ID associated with the integration/app
the slack access token returned from the oauth
the slack incoming webhook url returned from the oauth
the default slack channel
the interval in which the monitor will be checked
"P3Y6M4DT12H30M5S"
the monitor description
until when the monitor will be in snoozed mode
the monitor query
Show child attributes
Unique identifier for the entity
"5df33a85-2b9c-40e3-8854-760ee3b8efc7"
the inventory resource name
the inventory resource type
WEBSITE, DATABASE, COMPUTE, STRIPE, AWS_CLOUDFRONT, CLOUDFLARE, STATUS_PAGE, RDS_DATABASE timestamp when incident was closed
Show child attributes
the user workos ID
the user email address
the user first name
the user last name
flags if the user email was already verified
the user profile picture URL