const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.atlan.com/knowledge/v1/bundles/{bundle_id}/bundle.tar.gz', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));