Skip to main content
Templates capture setup once so future machines start from a prepared environment.

Template Builders

Builds

Build handles and history rows expose cache and artifact fields when the API has them: cache_summary, artifact_availability, promotability, and retention_expires_at.
Dockerfile builds use BuildKit. build_backend="native" remains valid for non-Dockerfile declarative/OCI inputs and historical build filters, but is rejected for Dockerfile input. BuildKit secrets can be attached fluently or passed at request time:
Retry does not persist secret values from the original request. Supply private base image credentials and BuildKit secrets again when the original build required them, for example build.retry(build_secrets=[...]).

Refs And Versioning

Template Warm Pools

Machine create accepts warm_pool, warm_pool_mode, and warm_pool_wait_ms; MachineInfo.warm_pool_checkout reports hit, fallback, or bypass results.