Scans
Apply Scan Fixes
Apply automated remediations to openclaw.json
POST
Apply Scan Fixes
Runs the scanner’s automated-fix functions against Request body —
openclaw.json in the given workspace. A .json.bak backup is written before any change. The config file is rewritten only if at least one fix applied successfully.
Request body — ScanFixPayload
Path to the OpenClaw workspace (must contain
openclaw.json).List of check IDs to attempt to fix.
Errors
400—openclaw.json not found at workspace path400— Failed to parseopenclaw.json503— Scanner not installed (pip install tracectrl-scanner)
Response
Check IDs whose fix ran successfully
Check IDs with no registered automated fix
Map of
check_id to error message for fixes that raisedApply Scan Fixes

