Environments

Fork environment

Creates a live fork that inherits everything from this environment and stores only its own overrides and exclusions. Team environments fork into shared (scope: "org", needs Read on the parent and counts toward your environment limit) or personal (scope: "user", needs Read) forks; your own personal environments fork only into personal ones. Other people's personal environments can't be forked. Forks nest at most 3 levels. A shared fork starts with its parent's access grants, and members also need Read on every ancestor to see it.

post/v1/environments/{id}/fork

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/environments/{id}/fork
  • Auth
    HTTP bearer

Path parameters

idstring required

Environment UUID.

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Request body

namestring required
descriptionstring nullable
scope'org' | 'user'

Response

Fork created

Changes

No recorded changes to this operation across all 1 revision of this API.