Skip to main content
GET
/
templates
/
{templateID}
/
files
/
{hash}
Get build upload link
curl --request GET \
  --url https://api.e2b.app/templates/{templateID}/files/{hash} \
  --header 'Authorization: Bearer <token>'
{
  "present": true,
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

templateID
string
required
hash
string
required

Hash of the files

Response

Upload link for the tar file containing build layer files

present
boolean
required

Whether the file is already present in the cache

url
string

Url where the file should be uploaded to