Documentation Index
Fetch the complete documentation index at: https://docs.retab.com/llms.txt
Use this file to discover all available pages before exploring further.
Get a temporary signed URL to download the original file. The link expires after 60 minutes.
from retab import Retab
client = Retab()
link = client.files.get_download_link("file_a1b2c3d4e5f6")
print(f"URL: {link.download_url}")
print(f"Expires in: {link.expires_in}")
print(f"Filename: {link.filename}")
{
"download_url": "https://storage.googleapis.com/retab-files/...",
"expires_in": "60 minutes",
"filename": "invoice.pdf"
}
Path Parameters
The ID of the file to generate a download link for.
Response Fields
A signed URL to download the file. Valid for 60 minutes.
Human-readable expiration time (e.g., "60 minutes").
The filename of the file.
The signed URL to download the file
The expiration time of the signed URL