Download an artifact file from a job
One step with GitLab. We can help you get access.
Look something up
Download an artifact file from a job
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Job artifacts API lets you download an artifact file from a job in a single step (GET /api/v4/projects/{id}/jobs/{job_id}/artifacts/{artifact_path}). 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.
- What's the way to grab a file from an artifact archive of a finished job?
- Can a downstream job use its own job token to fetch artifacts?
Say it to your AI assistant
- Download {path} from job {job_id} in project {id}.
- Fetch artifact {path} produced by job {job_id} in project {id}.
For your developer
GET /api/v4/projects/{id}/jobs/{job_id}/artifacts/{artifact_path} in GitLab REST Job artifacts API. Full spec on APIs.io.