Save model and placement defaults.
PUT/api/v1/setup/defaults
Scopeconfig
The timeline records the key ID, action and outcome.
Headers.
Idempotency-Keystring
Retry the same request with the same key. Retry rules.
Body.
revisionintegerrequired
The revision these defaults replace: 0 before the first write, else the revision you read. Another revision is 409 revision_conflict; read them again and write on top. ≥ 0.
modelsobjectrequired
The model pick for each role (builder, manager, reviewer). A role left out has no default at this level. Each pick names a connection you can see, with its own harness. Defaults only fill in a form: nothing launches until a person submits it.
ShowHide 3 fields
builderobject
One role's explicit choice: which named connection, which harness, which model, which options.
ShowHide 4 fields
connectionIdstringrequired
The connection this role's agents use, by id (GET /connections). Named every time: the server never picks one. At least 5 characters.
harnessenumrequired
The coding agent program that runs the model. A machine runs it only when that harness is installed there. One of claude-code, pi, codex, opencode.
modelstringrequired
The model this role's agents use, as the connection's provider names it. 1 to 200 characters.
optionsobject
The model's options for this role. Default {}.
ShowHide 1 field
effortenum
How much reasoning the model spends, where its harness lets you choose. Left out, the harness's default. One of low, medium, high, xhigh, max.
managerobject
One role's explicit choice: which named connection, which harness, which model, which options.
ShowHide 4 fields
connectionIdstringrequired
The connection this role's agents use, by id (GET /connections). Named every time: the server never picks one. At least 5 characters.
harnessenumrequired
The coding agent program that runs the model. A machine runs it only when that harness is installed there. One of claude-code, pi, codex, opencode.
modelstringrequired
The model this role's agents use, as the connection's provider names it. 1 to 200 characters.
optionsobject
The model's options for this role. Default {}.
ShowHide 1 field
effortenum
How much reasoning the model spends, where its harness lets you choose. Left out, the harness's default. One of low, medium, high, xhigh, max.
reviewerobject
One role's explicit choice: which named connection, which harness, which model, which options.
ShowHide 4 fields
connectionIdstringrequired
The connection this role's agents use, by id (GET /connections). Named every time: the server never picks one. At least 5 characters.
harnessenumrequired
The coding agent program that runs the model. A machine runs it only when that harness is installed there. One of claude-code, pi, codex, opencode.
modelstringrequired
The model this role's agents use, as the connection's provider names it. 1 to 200 characters.
optionsobject
The model's options for this role. Default {}.
ShowHide 1 field
effortenum
How much reasoning the model spends, where its harness lets you choose. Left out, the harness's default. One of low, medium, high, xhigh, max.
placementobject | nullrequired
Where crews may run by default, or null for no default. A pinned or left-out machine must be paired here.
ShowHide 5 fields
policyenum
pinned runs only on pinnedNodeId. lowest_cost and fastest place the same way today: paired machines before cloud workers, the one with the most free slots first. Default lowest_cost.
pinnedNodeIdstring
Run every agent on this one machine (a machine id). No cloud worker is used. At least 5 characters.
deniedNodeIdsarray
Machine ids the crew may not use. Default empty.
allowCloudboolean
The crew may start cloud VMs, within its limits. Default true.
allowLocalboolean
The crew may use your paired machines. Default true.
projectIdstring
The project these defaults are for. Left out, the workspace's own defaults; a project's replace them role by role. At least 5 characters.
Response.
200 OK · JSON object
- 422 validation_failed
- Each schema error appears in
details.