Skip to content

Deployment

deployment_environment_fork

Fork an environment: deep-clone services, variables (not secrets), domains, and volumes from a base environment

Tool

deployment_environment_fork

Fork an environment: deep-clone services, variables (not secrets), domains, and volumes from a base environment

Fork an environment: deep-clone services, variables (not secrets), domains, and volumes from a base environment

Behavior

HTTP
POST /deployment/environments/fork

Arguments

NameTypeRequiredDescription
namestringNo description in the catalog.
slugstringNo description in the catalog.
baseEnvironmentIdstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
namestring
slugstring
typestring
statusstring
prBranchstring
prNumberinteger
createdAtstring
expiresAtstring
updatedAtstring
isProductionboolean
lastErrorMessagestring
baseEnvironmentIdstring

Try it

Fork an environment: deep-clone services, variables (not secrets), domains, and volumes from a base environment.

When to use

Fork an environment: deep-clone services, variables (not secrets), domains, and volumes from a base environment

Example

Ask your agent something like this:

Fork an environment: deep-clone services, variables (not secrets), domains, and volumes from a base environment.

The agent will invoke deployment_environment_fork with these arguments:

{
  "name": "<name>",
  "baseEnvironmentId": "<baseEnvironmentId>"
}

Esc

Start typing to search the docs.

navigateselect