Clone application
Create an identical copy of an existing application including its processes, environment variables, build settings, and configuration. A clone of an application that uses the retired nixpacks build type is created with ingot instead. The cloned application is created in a new namespace and is not added to the pipeline stage of the source application. No deployment is started - start one with the Trigger Deployment endpoint. The clone copies auto_deploy from the source, so if it is on, the next push to the default branch deploys the clone with the same environment variables as the source, including any database connection URLs. Review the variables or turn auto deploy off before that happens.
Authorizations
Path Parameters
Body
Target cluster to create the cloned application in. When omitted, the clone is created in the same cluster as the source application.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Response
Default Response
Identifier of the project this application is grouped under
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Where the application source code comes from. privateGit - private Git repository connected via OAuth. publicGit - public Git repository URL. dockerImage - Docker container image from a registry. app - pipeline promotion target with no Git repository or Docker image connected; deployments arrive by promoting from another pipeline stage.
privateGit, publicGit, dockerImage, app "privateGit"
Whether the application is suspended or is being suspended. It turns true as soon as a suspension is requested and back to false once an activation has started every process or has failed. While it is true, deployments are skipped instead of run and manual cron runs are refused. Use suspension_status to see whether every process has actually stopped.
false
Build strategy used to build the application. ingot - build using a Dockerfile that Ingot generates from the source code on every build. New Git applications use ingot by default. dockerfile - build using the Dockerfile from your repository. railpack - auto-detected build system, successor to Nixpacks. pack - build using Cloud Native Buildpacks. nixpacks - retired auto-detected build system. Applications that already use it keep it, but it can no longer be selected.
ingot, dockerfile, railpack, pack, nixpacks "ingot"
Timestamp when the application was created, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$"2025-01-30T00:00:00.000Z"
Timestamp when the application was last modified, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$"2025-01-30T00:00:00.000Z"