Skip to content

Authorize uploading job artifact

POST
/api/v4/jobs/{id}/artifacts/authorize
id
required
integer

Job’s ID

Media type application/json
object
token

Job’s authentication token

string
nullable
filesize

Size of artifact file

integer
nullable
artifact_type

The type of artifact

string
default: archive nullable
Allowed values: archive metadata trace junit sast dependency_scanning container_scanning dast codequality license_scanning performance metrics metrics_referee network_referee lsif dotenv cobertura terraform accessibility cluster_applications secret_detection requirements coverage_fuzzing browser_performance load_performance api_fuzzing cluster_image_scanning cyclonedx requirements_v2 annotations repository_xray jacoco sarif

Upload allowed

Bad Request

Forbidden

Not Found

Artifacts support not enabled

File too large

Too Many Requests