Skip to main content

Generate an auto-fix proposal on demand.

POST 

/v1/scans/:scan_id/findings/:finding_id/autofix-proposals

Runs the restricted agent (read-only tools, file deny-list, size cap) against the finding and stages a proposal. If an open proposal already exists for the same fingerprint+repo, that one is returned with 200 instead — idempotent on the dev-tool path, so a CI loop can safely retry. If the agent declined to produce a patch (forbidden file, model refusal, …), the response is still 201 with a failed-status proposal whose error carries the reason.

Request

Responses

Existing open proposal returned (idempotent).