GitLab API

GitlabTool

Actions1095

Jobs → getApiV4JobsIdArtifacts

AI-generated

Summary

Downloads the artifact archive for a GitLab CI job using GET /api/v4/jobs/{id}/artifacts. Set the job ID in Path Parameters; optionally provide the job token and enable direct download in Query Parameters.

Inputs

  • Skip Authentication — Defaults to false. Controls whether authentication is skipped; when enabled, the GitLab API credential is hidden.
  • GitLab API credential — Used for authentication unless Skip Authentication is enabled.
  • Base URL — Defaults to https://gitlab.com; the source says the actual base URL is defined in the GitLab API credential.
  • Method — Defaults to GET. The UI also offers POST, PUT, DELETE, HEAD, and PATCH.
  • Path Parameters: Id (required) — The job's ID.
  • Query Parameters: Token — The job's authentication token.
  • Query Parameters: Direct_download — Requests direct download from remote storage instead of proxying artifacts. The schema declares a boolean default of false; the UI exposes this as a string field.

Output shape

A binary artifact archive, or an error response.

The operation's schemas do not specify response details. The endpoint downloads the job artifacts; whether the response is returned as binary data is not shown in the provided source.

Links

Discussion