Skip to main content
PUT
Set or clear the project's fix setting

Body

application/json
organizationId
string
required
Minimum string length: 1
projectId
string<uuid>
required
agent
object
required

The agent issues.fixes.create hands off to when it names no agent: a coding agent account, or Sazabi's agent (provider: "sazabi", no connection). Null clears the selection and turns auto-fix off.

autoFix
boolean

Whether every new issue starts a fix with the selected agent; refused with no agent selected. Omitted keeps the stored value.

autoFixMinSeverity
enum<string>

The lowest severity auto-fix starts a fix for; low is every severity. Omitted keeps the stored value.

Available options:
low,
medium,
high,
critical
clearEnvironment
boolean
default:false

Forget the remembered vendor environment while keeping the agent; the next launch records the one it uses.

environmentId
string

The vendor environment the next launch runs in: one of integrations.codingAgentEnvironments.list for the agent's connection, stored with the name the vendor reports. Omitted keeps the remembered one; refused for Sazabi's agent.

Required string length: 1 - 200
onlyIfUnset
boolean
default:false

Save the agent only while the project has no default agent. A default chosen in the meantime stands, and the response is the stored setting. Refused with a null agent.

Response

200 - application/json

OK

default
object | null
required

The selected agent as stored, whether or not its connection still works; null while none is selected.

autoFix
boolean
required

Whether every new issue starts a fix with the selected agent. False while no agent is selected.

autoFixMinSeverity
enum<string>
required

The lowest severity a new issue needs for auto-fix to start its fix; low is every severity.

Available options:
low,
medium,
high,
critical
connectionBroken
boolean
required

True while the selected coding agent connection is disconnected or needs attention: issues.fixes.create requests that name no agent go to Sazabi's agent until it reconnects, and the selection stays.

agents
object[]
required

The connected coding agent accounts the project may select (active, no attention), oldest first; Sazabi's agent is always a choice.