Create a scoped artifact access URL
POST /v1/artifacts/{artifactId}/access-urls · SDK createArtifactAccessUrl · CLI deployments artifact download
Requires artifacts:read. A suspended organization can still call it while its only holds are for payment.
AuthorizationBearer <token>Opaque bearer credential scoped to one service account and tenant.
artifactId*string^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-environment?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-organization?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-project?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$application/json- body
disposition?string"attachment""inline"expiresInSeconds?integer60 <= value <= 3600ArtifactAccessUrlResponse
application/json- response
expiresAt*string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timeurl*stringcurl -X POST "https://example.com/v1/artifacts/string/access-urls" \ -H "Content-Type: application/json" \ -d '{}'{ "expiresAt": "2019-08-24T14:15:22Z", "url": "string"}