Download a file from a ref's artifacts
One step with GitLab. We can help you get access.
Look something up
Download a file from a ref's artifacts
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Job artifacts API lets you download a file from a ref's artifacts in a single step (GET /api/v4/projects/{id}/jobs/artifacts/{ref_name}/raw/{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.
- How do I download a file from an artifact archive on a branch?
- Can I fetch an artifact file using a tag name rather than a job?
Say it to your AI assistant
- Download {path} from {ref_name} artifacts in project {id}.
- Download {path} from {job} on branch {ref_name} in project {id}.
For your developer
GET /api/v4/projects/{id}/jobs/artifacts/{ref_name}/raw/{artifact_path} in GitLab REST Job artifacts API. Full spec on APIs.io.