Artifacts

Check if a cache artifact exists

Check that a cache artifact with the given `hash` exists. This request returns response headers only and is equivalent to a `GET` request to this endpoint where the response contains no body.

HEAD
/v8/artifacts/{hash}

Authorization

AuthorizationRequiredBearer <token>

Default authentication mechanism

In: header

Path Parameters

hashRequiredstring

The artifact hash

Query Parameters

teamIdstring

The Team identifier to perform the request on behalf of.

slugstring

The Team slug to perform the request on behalf of.

curl -X HEAD "https://api.vercel.com/v8/artifacts/12HKQaOmR5t5Uy6vdcQsNIiZgHGB?teamId=string&slug=string" \
  -H "Authorization: Bearer <token>"

The artifact was found and headers are returned