Download
- Load the product ownership record for the requested session and file.
- Fetch HarnessRouter
/contentserver-side with the Bearer key. - Set a safe
Content-Dispositionfilename based on sanitized file path. - Use
/files/archivefor Download all.
Preview
- Render Markdown, PDF, images, code, data tables, and Office previews with type-specific components.
- Use the
/pdfpreview for supported Office files. - Render generated HTML in an isolated sandboxed iframe or equivalent containment.
Open standard
Relaying /content bytes and the /pdf preview through authenticated product routes builds on the container-scoped artifact download endpoints that UHP's Files chapter specifies. See artifact download in UHP's Files chapter.
Create API Key
Ready to run this against a live workspace? Keys take under a minute.

