Skip to main content
PATCH
Set default harness and models

Authorizations

Authorization
string
header
required

An API key (zode_tok_...). Create one in the console under API keys (https://console.zode.dev/tokens), or with zode login.

Body

application/json
default_harness
enum<string>
Available options:
,
claude-code,
codex,
opencode,
pi,
kimi-code
default_models
object
auth_methods
object

One way in per harness. subscription needs a connected subscription and the kill switch on.

Response

Updated agents view

harnesses
object[]
required
credentials
object[]
required
default_harness
string | null
required
secrets_available
boolean
required
sign_in_sandbox
null | object

Where one-click subscription sign-in runs (the caller's newest running sandbox); null means paste only.