Skip to main content
Write a new revision onto a channel. Writing production creates the key when it does not exist; writing staging stages a candidate that only Roark-recognized simulation sessions will read. Every write is a new revision; nothing is overwritten.
Calls PUT /v1/agent-config/{key}

Arguments

string
required
The key.

Options

string
required
Which channel to write. One of production, staging
object
required
The full config JSON for the new revision.
string
One-line story of the change.
string
Link this config to a Roark agent (the one your calls report). Required before Autoimprove can run on it: the link is how a fix finds the config channel.

Example

Every command also takes the global options and sets one of the exit codes.