curl --request GET \
--url https://api.dnsradar.dev/monitors/{monitor_id}/events/{event_id} \
--header 'X-Api-Key: <api-key>'{
"id": "evt_abc123...",
"monitor_id": "mon_abc123...",
"monitor": {
"domain": "example.com",
"subdomain": "www",
"record_type": "A",
"expected_value": [
"192.168.1.1"
]
},
"occurred": "2023-11-07T05:31:56Z",
"previous_value": [
"192.168.1.1"
],
"current_value": [
"10.0.0.1"
],
"old_state": "MISMATCH",
"new_state": "VALID",
"incidence_count": 0
}Get details of a specific event.
curl --request GET \
--url https://api.dnsradar.dev/monitors/{monitor_id}/events/{event_id} \
--header 'X-Api-Key: <api-key>'{
"id": "evt_abc123...",
"monitor_id": "mon_abc123...",
"monitor": {
"domain": "example.com",
"subdomain": "www",
"record_type": "A",
"expected_value": [
"192.168.1.1"
]
},
"occurred": "2023-11-07T05:31:56Z",
"previous_value": [
"192.168.1.1"
],
"current_value": [
"10.0.0.1"
],
"old_state": "MISMATCH",
"new_state": "VALID",
"incidence_count": 0
}API key used to authenticate yourself on DNSRadar. Obtain your API key from your DNSRadar dashboard.
Event details
DNS change event detected by monitoring
Event identifier with 'evt_' prefix
"evt_abc123..."
UUID of the associated monitor
"mon_abc123..."
Monitor information associated with this event
Show child attributes
Datetime when the event occurred in ISO 8601 format
Previous DNS values
["192.168.1.1"]New DNS values
["10.0.0.1"]Previous monitoring state
UNSET, VALID, INVALID, TIMEOUT, MISMATCH, NOT_FOUND, NO_DATA, BAD_SETUP "MISMATCH"
New monitoring state
VALID, INVALID, TIMEOUT, MISMATCH, NOT_FOUND, NO_DATA, BAD_SETUP "VALID"
Total number of incidents for the monitor.
0