Skip to main content
POST
Clone application

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Application identifier

Pattern: ^([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)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Body

application/json
display_name
string
required

Human-readable name for the cloned application. Must be unique within the company.

Required string length: 2 - 64
Example:

"My App (Clone)"

cluster_id
string<uuid>

Target cluster to create the cloned application in. When omitted, the clone is created in the same cluster as the source application.

Pattern: ^([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)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Response

Default Response

id
string<uuid>
required

Unique identifier for the application

Pattern: ^([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)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

company_id
string | null
required

Identifier of the company that owns this application

Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

project_id
string<uuid> | null
required

Identifier of the project this application is grouped under

Pattern: ^([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)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

name
string
required

Unique system name used in URLs and internal references. Auto-generated from the display name and cannot be changed after creation.

Required string length: 1 - 64
Example:

"my-app"

namespace
string | null
required

Kubernetes namespace where the application workloads run. Assigned automatically during creation.

Example:

"my-app-abc123"

display_name
string
required

Human-readable name shown in the dashboard and API responses

Required string length: 1 - 255
Example:

"My Application"

source
enum<string>
required

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.

Available options:
privateGit,
publicGit,
dockerImage,
app
Example:

"privateGit"

type
enum<string>
required

Application type. app - standard application. previewApp - ephemeral preview environment created from a pull request.

Available options:
app,
previewApp
Example:

"app"

status
enum<string> | null
required

Current status of the application reflecting the most recent deployment or lifecycle operation

Available options:
deploymentInProgress,
deploymentFailed,
deploymentSuccess,
deleting,
appDeletionFailed,
deploymentCancelled
Example:

"deploymentSuccess"

build_cache_enabled
boolean
required

When enabled, build artifacts are cached between deployments to speed up subsequent builds

Example:

true

git_lfs_enabled
boolean
required

When enabled, Git LFS objects are fetched during the source checkout step of a deployment. Enabled by default. Disable this to skip LFS downloads and speed up checkout when the repository contains LFS files that are not needed at build time.

Example:

true

hibernation_enabled
boolean
required

When enabled, the application automatically scales down to zero after a period of inactivity and wakes up on the next incoming request

Example:

false

hibernate_after_seconds
integer | null
required

Number of seconds of inactivity before the application is hibernated. Only applies when hibernation is enabled.

Required range: 1 <= x <= 9007199254740991
Example:

3600

auto_deploy
boolean
required

When enabled, a new deployment is automatically triggered on every push to the default branch. Only applies to applications with a private Git connection (privateGit) - has no effect on publicGit or dockerImage applications.

Example:

true

is_suspended
boolean
required

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.

Example:

false

git_type
enum<string> | null
required

Git hosting provider for the repository. github - GitHub. bitbucket - Bitbucket. gitlab - GitLab. Null for non-git sources.

Available options:
github,
bitbucket,
gitlab
Example:

"github"

repo_url
string | null
required

Full URL of the Git repository. Null for Docker image source applications.

Example:

"https://github.com/user/repo"

default_branch
string | null
required

Git branch used for automatic and manual deployments when no branch is explicitly specified

Example:

"main"

docker_image
string | null
required

Docker image reference including tag or digest. Only set for applications with dockerImage source.

Example:

"nginx:latest"

build_type
enum<string>
required

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.

Available options:
ingot,
dockerfile,
railpack,
pack,
nixpacks
Example:

"ingot"

build_path
string | null
required

Relative path to the build directory within the repository. Defaults to the repository root.

Example:

"."

pack_builder
string | null
required

Cloud Native Buildpacks builder image. Only applies when build type is pack.

Example:

"heroku/builder:22"

nixpacks_version
string | null
required

Pinned Nixpacks version. When null, the platform default version is used. Only applies to applications that still use the retired nixpacks build type.

Example:

"1.21.0"

dockerfile_path
string | null
required

Relative path to the Dockerfile within the repository. Only applies when build type is dockerfile.

Example:

"Dockerfile"

docker_context
string | null
required

Docker build context path relative to the repository root. Only applies when build type is dockerfile.

Example:

"."

allow_deploy_paths
string[]
required

Glob patterns for file paths that trigger a deployment when changed. When set, only commits touching these paths will trigger auto deploy.

Example:
ignore_deploy_paths
string[]
required

Glob patterns for file paths to exclude from deployment triggers. Commits that only touch ignored paths will not trigger auto deploy.

Example:
created_by
string | null
required

Identifier of the user who created the application

Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

created_at
string<date-time>
required

Timestamp when the application was created, in ISO 8601 format

Pattern: ^(?:(?:\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))$
Example:

"2025-01-30T00:00:00.000Z"

updated_at
string<date-time>
required

Timestamp when the application was last modified, in ISO 8601 format

Pattern: ^(?:(?:\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))$
Example:

"2025-01-30T00:00:00.000Z"