Error
A valid request URL is required to generate request examples{
"results": {
"jobId": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}v2
Export dashboard content
Export dashboard content as an image, PDF, CSV or XLSX. Schedules a job;
poll GET /api/v1/schedulers/job/{jobId}/status until it is completed,
then download the file from details.url.
Embed tokens can call this with the Lightdash-Embed-Token header and a
projectUuid query param. The export uses the viewer’s access, filters,
parameters, date zoom and tabs. Each format needs an embed permission:
image:canExportImagesorview:EmbedImageExportpdf:canExportPagePdforview:EmbedPagePdfExportcsv/xlsx:canExportDashboardCsvorview:EmbedDashboardCsvExport
Poll the job status with the same token. The file URL is a signed link that expires.
POST
/
api
/
v2
/
dashboards
/
{dashboardUuid}
/
exports
Error
A valid request URL is required to generate request examples{
"results": {
"jobId": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Body
application/json
Was this page helpful?