Skip to content
Get started

Download document summary as PDF

document_summaries.download(strid, DocumentSummaryDownloadParams**kwargs) -> BinaryResponseContent
get/document-summaries/{id}/download

Download the document summary content in the specified format

ParametersExpand Collapse
id: str
format: Optional[Literal["pdf"]]

Output format for the download

Accepts one of the following:
"pdf"
ReturnsExpand Collapse
BinaryResponseContent
Download document summary as PDF
from withluminary import Luminary

client = Luminary()
response = client.document_summaries.download(
    id="id",
)
print(response)
content = response.read()
print(content)
Returns Examples