Cannot get API url when try to make Notebooks as ES modules

In embeds/advanced#notebooks-as-es-modules, I should get a en with like:

However, I always get an extension with .tgz instead of .js:

I have also made it publicly available:

Could you please expand on this a bit more? I think you are referring to the documentation at:

What are you trying to achieve? The documentation describes downloading the notebook as a whole (which gives you a .tgz file).

If you want to access your notebook through the API and embed it somewhere, you can call the API server and render the cells as described here. The code for that is also shown when you use the embed option on the notebook and look at the JavaScript embed option.