Get download URL
get_doc_urlRead-only
Get a time-limited signed URL that downloads the raw file of any doc the user has access to — HTML, PDF, Markdown, anything stored on docfarm. Use this when you need to hand the file off to another tool or LLM, when the user asks for a download link, or when the doc isn't HTML (where get_doc_html doesn't apply). URL expires after ttl_seconds (default 3600, max 86400).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| account | No | Email address of the farm to act on. Omit for the signed-in farm. Only a connected account is accepted; call list_accounts to see which. | |
| doc_name | No | ||
| ttl_seconds | No | Lifetime of the signed URL in seconds. Default 3600 (1h), max 86400 (24h). | |
| download_filename | No | If set, the URL forces a file download with this filename (Content-Disposition: attachment). |