Creates a new replica in your organization and sends an initial message to the coding agent. The workspace and agent are initialized asynchronously.
API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.
Request body for creating a new replica
Human-readable name for the replica. Must not contain whitespace.
^\S+$Initial message to send to the coding agent
IDs of repositories to include. Mutually exclusive with repository_set_id.
ID of a repository set to use. Mutually exclusive with repository_ids.
Coding agent to use
claude, codex Model to use for the coding agent
Images to attach to the initial message
Lifecycle policy for the replica
default, delete_when_done, delete_after_inactivity Replica created successfully
A replica item in list responses