Creates a new replica in your organization and sends an initial message to the coding agent. The workspace and agent are initialized asynchronously.
Documentation Index
Fetch the complete documentation index at: https://docs.replicas.dev/llms.txt
Use this file to discover all available pages before exploring further.
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
ID of the environment to use. The server derives the repository or repository set from the environment binding. Required unless repository_set_id or repository_ids is provided for backwards compatibility.
Deprecated. Use environment_id instead. Provided for backwards compatibility: the server resolves the first environment bound to this repository set.
Deprecated. Use environment_id instead. Provided for backwards compatibility: the server resolves the first environment bound to one of the given repositories.
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 Thinking/reasoning level. Controls how much effort the agent puts into reasoning. Falls back to provider default when omitted (Claude default: high, Codex default: medium).
low, medium, high, max Replica created successfully
A replica item in list responses