artifacts

Download a cache artifact

Changed on

Downloads a cache artifact indentified by its hash specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body.

get/v8/artifacts/{hash}

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v8/artifacts/{hash}
  • Auth: HTTP bearer

Path parameters

hashstring required

The artifact hash

Example:12HKQaOmR5t5Uy6vdcQsNIiZgHGB

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Headers

x-artifact-client-cistring

The continuous integration or delivery environment where this artifact is downloaded.

Example:VERCEL
x-artifact-client-interactiveinteger

1 if the client is an interactive shell. Otherwise 0

Response

string binary required

An octet stream response that will be piped to the response stream.

Changes

    • warning

      deleted the header request parameter 'x-Artifact-Client-Ci'

    • warning

      deleted the header request parameter 'x-Artifact-Client-Interactive'

    • info

      added the new optional header request parameter x-artifact-client-ci

    • info

      added the new optional header request parameter x-artifact-client-interactive

    • info

      added the non-success response with the status