Update Automation
Updates an existing automation. Only the fields provided in the request body will be updated.
Authorizations
API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.
Path Parameters
The unique identifier of the automation
Body
Request body for updating an automation. Only provided fields are updated.
New name
New description
Replace triggers. Duplicates are not allowed: at most one cron trigger, and at most one event-based trigger per event (e.g. two triggers for pull_request.opened is rejected, but pull_request.opened + merge_request.opened is fine).
New prompt
Set or clear the per-automation debounce window in seconds. When greater than 0, bursty trigger events update one pending run for this automation and the latest payload runs after the automation stops receiving events for this many seconds. Null or 0 disables debouncing.
0 <= x <= 86400Move this automation to a different environment.
Enable or disable the automation
New lifecycle policy
default, delete_when_done, delete_after_inactivity New inactivity timeout in minutes (set to null to clear)
3 <= x <= 1440New compute size for every workspace this automation fires off. small (2 vCPU, 8 GB memory, 20 GB disk) bills at $0.008/min; large (4 vCPU, 16 GB memory, 32 GB disk) bills at $0.016/min.
small, large Workspace behavior configuration. Missing capabilities and preferences default to disabled.
New coding agent override. Null inherits the organization default.
claude, codex, cursor, opencode, null New model override. Requires agent_provider when set.
New thinking/reasoning level override.
low, medium, high, max, null Enable or disable plan mode for automation messages.
Enable or disable Codex goal mode for automation messages.
Enable or disable fast mode for automation messages.
Response
Automation updated successfully
Response containing a single automation
An automation record