Skip to main content
Extend the expiration of an artifact. artifact extend pushes out the expiration of a finalized artifact in this workspace. This enables dynamic, access-based retention: create artifacts with a short expiration and extend it whenever they are accessed. At least one of --by or --ensure_minimum must be set. When both are set, --by is applied first and --ensure_minimum then acts as a lower bound on the result.

Usage

Example

Options

—by <duration>

Extend the current expiration by this duration, relative to the artifact’s current expiration.

—ensure_minimum <duration>

Ensure the artifact expires no sooner than this duration from now.

—namespace <namespace>

Namespace of the artifact. Defaults to “main”.
Last modified on August 19, 2026