Get a pre-signed URL to download an exported document without proxying through the agent.
Returns a short-lived (15-minute) GET URL plus a ready-to-run curl_example. An agent with shell access can run the curl_example directly to save the exported file to the working directory, so the bytes never pass through its context window; clients without shell execution (or callers who only want the link) can use the signed URL directly. Generates the document in the requested format and returns a time-limited signed download URL. Specify format as ‘pdf’, ‘docx’, ‘html’, ‘markdown’, or ‘txt’ (legacy ‘doc’ also accepted).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
Session ID whose current document should be exported and packaged for download.
256Export format (docx, pdf, html, markdown, txt).
docx, pdf, html, markdown, txt, doc Optional Content-Disposition filename for the download (without extension). Auto-detected from the document's first heading if not provided.
200Customization (paper, margins, filename, watermark, etc.). Mirrors ExportRequest.options.

