The notebooks download command doesn't support private notebooks. I tried modifying https://github.com/observablehq/notebook-kit/blob/main/bin/download.ts to include an API key that I use for downloading notebook JS (e.g. https://api.observablehq.com/NOTEBOOK_URI.js?v=3&api_key=123456) and it looks like the https://api.observablehq.com/document/ API doesn't support API keys. Is there an existing solution that I'm missing or can you add API key support to the document endpoint?
The
notebooks downloadcommand doesn't support private notebooks. I tried modifying https://github.com/observablehq/notebook-kit/blob/main/bin/download.ts to include an API key that I use for downloading notebook JS (e.g.https://api.observablehq.com/NOTEBOOK_URI.js?v=3&api_key=123456) and it looks like thehttps://api.observablehq.com/document/API doesn't support API keys. Is there an existing solution that I'm missing or can you add API key support to the document endpoint?