Skip to main content
POST
Promote a held update

Authorizations

Authorization
string
header
required

An admin API key. Personal admin keys reach the API key, billing and Account endpoints for the creator's personal account; the other endpoints need an organization admin key. Security requirement entries list the permission a scoped key needs for the operation.

Scopes

containers.update.promote

Path Parameters

id
string<uuid>
required

Container ID.

Response

The container after promotion.

A container, Bunker or Monitor.

id
string<uuid> | null
required
name
string
required
repo
string | null
required

Source repository. For a container rendered from a template, the template repository.

config_name
string | null
required

Config registry name backing the deployment, when config-backed.

source
enum<string>
required
Available options:
github,
registry,
local
current_tag
string | null
required

Deployed version. For a container rendered from a template, the template version.

status
enum<string>
required
Available options:
created,
pending,
deploying,
started,
running,
failed,
stopping,
stopped
host_id
string<uuid> | null
required
domain
string | null
required

Domain the container serves on; the custom domain when set, otherwise internal_domain.

cpus
integer
required

CPU count from the measured tinfoil-config.yml of the deployed release; requests cannot override it.

gpus
integer
required

GPU count from the measured tinfoil-config.yml of the deployed release; requests cannot override it.

memory_mb
integer | null
required

Memory from the measured tinfoil-config.yml of the deployed release; requests cannot override it.

config
string | null
required

Saved tinfoil-config.yml contents.

variables
string<byte> | null
required

Base64-encoded JSON object mapping variable names to values.

secrets
string[] | null
required

Names of the secrets the container uses.

ssh_keys
string[] | null
required

Names of the SSH keys installed in the container.

stale_secrets
string[] | null
required

Secrets changed since the container was deployed.

debug
boolean
required
held
boolean
required

Whether updates are held for review before going live.

github_app_connected
boolean
required
repo_status
enum<string>
required
Available options:
active,
deleted,
archived,
privatized
update_tag
string | null
required

Version an in-progress update deploys.

update_status
string | null
required

Status of the in-progress update deployment.

update_type
enum<string> | null
required

How the in-progress update replaces the running container.

Available options:
blue_green,
replace,
queued_deploy,
null
internal_domain
string
required
project_id
string<uuid> | null
required
deploy_started_at
string<date-time> | null
required
deploy_completed_at
string<date-time> | null
required
update_started_at
string<date-time> | null
required
update_completed_at
string<date-time> | null
required
boot_stages
any
required

Boot progress reported by the deployment as JSON, or null when none was reported.

update_boot_stages
any
required

Boot progress reported by the update deployment as JSON, or null when none was reported.

error_message
string | null
required
mark_latest_release
boolean
required

Whether a deployed version is marked as the repository's latest GitHub release.

created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required
last_deploy_attempt_tag
string | null
required
last_deploy_attempt_error
string | null
required
last_deploy_attempt_at
string<date-time> | null
required
sandbox
boolean
required
purpose
enum<string>
required
Available options:
production,
rnd
network_policy
object | null
required

Saved network policy, or null when none is set.

owner_key_mode
enum<string> | null
required

Who holds the owner key of a Bunker or Monitor; null unless owner_public_key is set.

Available options:
tmk,
umk,
null
update_strategy
enum<string>
required

Whether an update boots a candidate alongside the running container (blue_green) or must stop it first (replace), causing downtime. Derived from the saved configuration; an update's target release may require a different strategy, which the update plan reports.

Available options:
blue_green,
replace
connections
object
required

Endpoints of the container. Connect with a verifying client; opening a URL does not verify attestation, and a debug container is not confidential.

owner_public_key
string | null
required

Owner public key measured into a Bunker or Monitor.

clerk_user_id
string | null
required

ID of the user who created the container.

clerk_org_id
string | null
required

ID of the organization that owns the container, or null for a personal container.

disable_cc_mode
boolean
required

Whether the container was launched with confidential computing mode turned off.

display_order
integer
required

Position of the container within its project.

tinfoild_deployment_id
string | null
required

ID of the container's deployment on its host.

update_config
object | null
required

Configuration a pending update relaunches the container with, such as variables, secrets, ssh_keys, cpus and memory_mb.

update_deployment_id
string | null
required

ID of the update candidate's deployment on its host while an update runs.

ssh_port
integer

Published SSH port of the active deployment; omitted when none.

update_ssh_port
integer

Published SSH port of the update deployment; omitted when none.

supports_version_change
boolean

Whether a template-rendered container can change version; omitted when false.

host_name
string

Display name of the container's host; omitted when unknown.

update_host_name
string

Host an in-progress update moves the container to; omitted when it stays on the same host.

host_gpu_type
string

GPU type of the container's host; omitted for hosts without GPUs or when unknown.

host_cpu_type
string

CPU type of the container's host; omitted when unknown.

volumes
object

Volume ID attached to each mount name. Only returned by the single-container view, and omitted when none are attached.

volume_slots
object[]

Volume mounts the container's config declares.

object_storage
object