Creates a new automation in your organization. Requires a Developer plan or higher. Provide either repository_ids or repository_set_id (mutually exclusive).
API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.
Request body for creating a new automation. Provide either repository_ids or repository_set_id (mutually exclusive).
Human-readable name for the automation
One or more triggers. At most one cron trigger is allowed.
1The instruction sent to the coding agent when the automation fires
Optional description
Target repository IDs. Mutually exclusive with repository_set_id.
Target repository set ID. Mutually exclusive with repository_ids.
Whether the automation should be active (defaults to true)
Lifecycle policy for workspaces created by this automation
default, delete_when_done, delete_after_inactivity Inactivity timeout in minutes (requires delete_after_inactivity policy)
3 <= x <= 1440Automation created successfully
Response containing a single automation
An automation record