Skip to main content
PATCH
Set the fallback of a harness's default connection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

harness
enum<string>
required

The agent harness that runs a task, a profile or a connection: claude-code or claude_code is Claude Code, codex is Codex, opencode is OpenCode.

Available options:
codex,
claude-code,
opencode,
claude_code

Body

application/json
fallback
object
required

What a task continues on when its plan's window is spent: none stops it; named takes the connection or Aether inference; any_usable takes the first held connection the window does not block, then its optional named hop.

Response

OK

fallback
object
required

What a task continues on when its plan's window is spent: none stops it; named takes the connection or Aether inference; any_usable takes the first held connection the window does not block, then its optional named hop. A stored named hop without connection_id was disconnected.

harness
enum<string>
required

The agent harness that runs a task, a profile or a connection: claude-code or claude_code is Claude Code, codex is Codex, opencode is OpenCode.

Available options:
codex,
claude-code,
opencode,
claude_code
runs_on
enum<string>
required

aether, Aether inference, paid from your organization's balance; stored, the connection connection_id names.

Available options:
aether,
stored
connection_id
string<uuid>

The connection a stored default runs on.