Retain a job's artifacts past their expiry
One step with GitLab. We can help you get access.
Get something done
Retain a job's artifacts past their expiry
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Job artifacts API lets you retain a job's artifacts past their expiry in a single step (POST /api/v4/projects/{id}/jobs/{job_id}/artifacts/keep). GitLab 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 prevent a job's artifacts from being automatically deleted?
- Can I keep a job's artifacts archive beyond its expiration date?
Say it to your AI assistant
- Retain the artifacts of job {job_id} in project {id}.
- Keep job {job_id}'s artifacts in {id} past their expiry.
For your developer
POST /api/v4/projects/{id}/jobs/{job_id}/artifacts/keep in GitLab REST Job artifacts API. Full spec on APIs.io.