Accept one or more observed changes as the new baseline.
POST
/dns/record-monitor/{monitor_id}/baseline/accept
const url = 'https://api.siteqwality.com/dns/record-monitor/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/baseline/accept';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"accept":[{}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.siteqwality.com/dns/record-monitor/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/baseline/accept \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "accept": [ {} ] }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” monitor_id
required
string format: uuid
DNS monitor identifier
Request Body required
Section titled “Request Body required ” Media type application/json
The accept request body.
object
accept
required
Array<object>
object
Example generated
{ "accept": [ {} ]}Responses
Section titled “ Responses ”The accepted baselines
Media type application/json
Array<object>
One baseline as the api returns it.
object
id
required
string format: uuid
monitor_id
required
string format: uuid
name
required
string
record_type
required
string
rdata
required
Array<string>
rdata_hash
required
Hex-encoded sha256 of the canonical RRset. This is the value an accept request must echo back, which is what makes acceptance non-racy.
string
rotating
required
boolean
rotating_reason
string | null
ttl
Display only. Never a diff input: a TTL change is an operational fact, not a security one.
integer | null format: int32
source
required
string
established_at
required
string format: date-time
accepted_at
string | null format: date-time
Example generated
[ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "monitor_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "record_type": "example", "rdata": [ "example" ], "rdata_hash": "example", "rotating": true, "rotating_reason": "example", "ttl": 1, "source": "example", "established_at": "2026-04-15T12:00:00Z", "accepted_at": "2026-04-15T12:00:00Z" }]Invalid request body
Missing or invalid authentication
DNS monitor or RRset not found
The record changed again since the alert was sent
Internal server error