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.

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

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.

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.