Download artifacts through GitLab's GraphQL API

Hi there!

I’d like to inquire if there is a method to exclusively download an artifact using the GraphQL API.

While the Job Artifacts page mentions that it can be achieved with the REST API, it lacks instructions for accomplishing the same with the GraphQL API.

Currently, I’m utilizing the following query to obtain the download URL:

  project(fullPath: $fullPath) {
    pipelines(status: SUCCESS, first: 1) {
      nodes {
        jobArtifacts {

However, when attempting to utilize the downloadPath with curl, I only receive the content of the GitLab Sign In page.

Thank you for your assistance!