Skip to main content
Sets the agent’s API-managed prompt. This is its own version history (source: API_MANAGED), separate from prompts observed on calls, edited in the app, or managed by config-as-code. Setting the same content twice is a no-op (no new version). Roark does not run your agent and no metric reads this prompt: it is stored and versioned for your reference.
Calls PUT /v1/agent/{agentId}/prompts

Arguments

string
required
The agent-id.

Options

string
required
The prompt content to set.

Example

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