Skip to main content
PUT
JavaScript

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string<uuid>
required

Body

application/json
settings
object
required

The settings to change. Omitted settings stay as they are; null clears one to the runtime default. subAgents replaces every speaker, model configs included, and must include main; in a model config, omitted fields use the runtime default.

expectedRevision
integer

The draft's revision when you read it. When sent, the edit is refused if the draft changed since; when omitted, it applies on top of the latest edit.

Required range: x >= 1

Response

The edited draft.

data
object
required

One version of a Roark-hosted agent's configuration. Null settings use the runtime default.