v1
latestOpenAPI 3.0.32026-07-22238629559.2 KBCreate Autofix
This feature is currently in Public Beta.
Triggers an Autofix workflow for the given issue. The workflow runs asynchronously; it analyzes the issue, generates a fix, and opens a pull request in the underlying repository. Supports SAST, AI SAST, and SCA issue types — the issue's type is resolved server-side and dispatched to the corresponding Autofix path.
A success: true response means the Autofix job has been accepted for processing, not that a pull request has been opened. The PR is created by an asynchronous workflow that runs after this endpoint returns.
Path parameters
The unique numerical identifier of the deployment. Can be found via the Deployments Service or in your Settings in the web UI.
Deployment ID
The unique numerical identifier of the issue to generate a fix for.
Issue ID to fix
Request body
Request message for creating a unified Autofix job.
Response
OK
Example response
{
"errors": [
{
"errorType": "AUTOFIX_ERROR_TYPE_NO_WRITE_ACCESS",
"message": "Issue not found"
}
],
"success": true
}