Create an artifact lifecycle rule
One step with Harness. We can help you get access.
Get something done
Create an artifact lifecycle rule
with Harness
Works with AI assistants
Use Harness: its Harness Registry V3 - Lifecycle API lets you create an artifact lifecycle rule in a single step (POST /har/api/v3/lifecycle/rules). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I set up a rule that cleans up old artifacts in my registry?
- Can a lifecycle rule run on a schedule and target only some registries?
Say it to your AI assistant
- Create lifecycle rule {name} with action {action} applied to {applyTo}.
- Create a lifecycle rule {name} doing {action} on {applyTo} with schedule {schedule}.
For your developer
POST /har/api/v3/lifecycle/rules in Harness Registry V3 - Lifecycle API. Full spec on APIs.io.