Extending artifacts API to allow upload

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description

We have good API coverage for artifacts (https://docs.gitlab.com/ee/api/jobs.html#get-job-artifacts) but we don't have a public API for uploading and storing properly.

Proposal

Add API support for artifact upload. It should also support it when the setup includes direct upload to S3 by the runner (https://gitlab.com/gitlab-org/gitlab-ee/issues/2348).

Security considerations

Should these be upload and parse only, not able to download again? not to be used by other jobs? etc.? We want to ensure we're not getting malicious files uploaded and then available to more users.

Edited Aug 04, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading