Autofix

Change the project's autofix policy. The caller becomes the user that automatic incidents act as.

Changed on
patch/projects/{project_id}/autofix/settings

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/autofix/settings
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

ai_modelstring nullable

Empty string clears it.

ai_providerstring nullable

Empty string clears it (back to the assistant's default).

min_confidenceinteger nullable

Confidence level, 0-5, an auto_merge fix must reach.

modestring nullable

off, propose or auto_merge.

protected_pathsstring[] nullable
test_commandstring nullable

Empty string clears it.

Response

ai_modelstring nullable
ai_providerstring nullable
min_confidenceinteger required

Confidence level, 0-5, an auto_merge fix must reach.

modestring required

off, propose or auto_merge.

owner_user_idinteger nullable

User automatic incidents act as.

pausedboolean required
project_idinteger required
protected_pathsstring[] required
test_commandstring nullable

Command the server runs to verify a fix, in addition to the agent's reproduction.

updated_atstring date-time nullable

Changes