ai
Policy Scan Auto Fix Automation
Auto-fix policy violations on a draft AutomationPayload.
Backend rewrites flagged content + applies static fixes, then re-scans. If still flagged, retries up to MAX_FIX_ATTEMPTS times until verdict=allow OR the model stops making progress. The response carries attempts and verified_clean so the UI knows whether the result was self-verified or hit the cap.
post/v1/ai/policy_scan_auto_fix_automation
Request
- Base URLhttps://api.linktodm.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
exclude_automation_idinteger nullable
When fixing an EDIT, pass the current automation id so the post-fix re-scan's keyword-reuse + content-reuse checks don't flag the automation's own keywords/text against itself.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.