Zum Hauptinhalt springen

Export Viz Pdf

POST 

/v1/viz/:viz_id/exports/pdf

Print the published dashboard as a PDF document.

Returns at once with status: "pending"; read the outcome, and the download link, with get_viz_export. A server browser opens the published dashboard signed in as you, so the document shows exactly the rows you can see, at the viewState you pass (page, dates, filters), and prints it with the dashboard's own print styles: @media print rules, page breaks (break-before / break-after / break-inside) and the sheet an @page rule names. With no @page size the sheet is A4 portrait. The document is titled with the dashboard's name. A typical export takes 15 to 60 seconds.

Anybody who can open the dashboard can export it. A dashboard that was never published has nothing to print yet: 409.

Request​

Responses​

Successful Response