ai

AI fix suggestion

Get AI-assisted fix recommendations with configuration examples. Requires a signed-in free IntoDNS.ai account using the existing Auth.js session cookie. Shares a free per-account daily allowance with /ai/explain, plus burst protection and a service-wide daily budget. Public diagnostic scans and record generators do not require this session.

post/ai/fix

Request

  • Base URL: https://intodns.ai/api
  • URL: https://intodns.ai/api/ai/fix
  • Auth: API key in cookie __Secure-authjs.session-token

Request body

issuestring required
domainstring required
contextobject

Example request

{
  "issue": "no_dmarc",
  "domain": "example.com",
  "context": {}
}

Response

Fix suggestion generated

cachedboolean required

True for pre-built or fallback helper output. Preserved on API cache hits; this is not an API cache-hit indicator.

source'pre-built' | 'claude-api' required
timestampinteger required

Unix time in milliseconds when the helper response was generated. Preserved when serving a cached response.

Changes

No recorded changes to this operation across all 1 revision of this API.