Pin an RRset to values the customer DECLARES rather than to values we observed.
const url = 'https://api.siteqwality.com/dns/record-monitor/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/baseline/declare';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","record_type":"example","rdata":["example"]}'};
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/declare \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "record_type": "example", "rdata": [ "example" ] }'This is what makes the feature useful BEFORE a migration instead of only
after one: “these are my four nameservers, tell me if the zone ever says
anything else.” Same table, different source, no new mechanism.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”DNS monitor identifier
Request Body required
Section titled “Request Body required ”What a customer may pin without us having observed it.
source = user_declared. This is what makes the feature useful BEFORE a
migration instead of only after one.
object
Example generated
{ "name": "example", "record_type": "example", "rdata": [ "example" ]}Responses
Section titled “ Responses ”The declared baseline
One baseline as the api returns it.
object
Hex-encoded sha256 of the canonical RRset. This is the value an accept request must echo back, which is what makes acceptance non-racy.
Display only. Never a diff input: a TTL change is an operational fact, not a security one.
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 not found
Internal server error