v1
latestOpenAPI 3.1.02026-07-26269227514.8 KBcode-scans
Remediate Code Scan Finding
Launch a Devin session to remediate a code scan finding.
The session analyzes the vulnerable code, implements a fix, and opens a pull request. The session is attributed to the calling principal (the service user or PAT that made the request). Returns 409 if the finding already has a remediation session.
post/v3/enterprise/organizations/{org_id}/code-scans/{scan_id}/findings/{finding_id}/remediate
Path parameters
org_idstring required
Example:org-abc123def456
Organization ID (prefix: org-)
scan_idstring required
finding_idstring required
Response
Successful Response