Get an upload link for a tar file containing build layer files
cURL
curl --request GET \ --url https://api.e2b.app/templates/{templateID}/files/{hash} \ --header 'Authorization: Bearer <token>'
{ "present": true, "url": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Hash of the files
Upload link for the tar file containing build layer files
Whether the file is already present in the cache
Url where the file should be uploaded to
Was this page helpful?