GitLab API icon

GitLab API

Gitlab

Actions1062

Jobs → postApiV4JobsIdArtifactsAuthorize

AI-generated

Summary

Authorizes access to the artifacts of a specific GitLab job by sending a request to the GitLab API endpoint POST /api/v4/jobs/{id}/artifacts/authorize.

Inputs

  • id (required) — The numeric ID of the job whose artifacts to authorize.
  • skipAuthentication — If true, the request is made without using the GitLab API credentials; otherwise the gitlabApi credential is used.
  • baseUrl — Base URL of the GitLab instance (defaults to https://gitlab.com).
  • method — HTTP method to use for the request (default GET, but the GitLab API expects POST for this endpoint).
  • requestBody (required) — Payload required by the GitLab API for artifact authorization, as defined by the operation’s request body schema.

Output shape

object

The JSON response returned by GitLab, typically containing artifact download details such as a temporary URL, filename, size, and expiration.

Links

Discussion