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:
my-neat-notebook.js?v=3

However, I always get an extension with .tgz instead of .js:
https://api.observablehq.com/d/67a1487e1e146f57@10.tgz?v=3

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.