Creates a new environment. repository_id and repository_set_id are mutually exclusive; both may be omitted for an unbound environment that can back repo-less workspaces.
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 environment.
Human-readable name (must be unique within the org)
Optional description
Bind to this repository. Mutually exclusive with repository_set_id.
Bind to this repository set. Mutually exclusive with repository_id.
Optional system prompt prepended to the coding agent.
Environment created
An environment — the config bundle workspaces are created from. Holds an optional repository binding plus the runtime variables, files, skills, MCPs, and warm hook applied to every workspace built from it. Every organization has a singleton Global environment (is_global: true) whose values are layered onto every other environment.