Newer Version Available

This content describes an older version of this product. View Latest

Analytics Download

Get an image or PDF for an Analytics dashboard, lens, or report (GET).

Syntax

URI
/services/data/<latest API version>/analytics/download/<asset type>/<Id>.<downloadType>
Formats
JSON
HTTP methods
Method Description
GET Downloads a .png or .pdf for a specific Analytics dashboard, lens, or report.
Parameters
Parameter Description
assetType Required for GET calls. Specifies what type of Analytics asset to download. Valid values are:
  • dashboard
  • lens
  • report
Id

Required for GET calls. Specifies the Analytics asset id to download.

downloadType Required for GET calls. Specifies what file type to download the Analytics asset as. Valid values are:
  • .png
  • .pdf

For a Lightning Experience dashboards and reports, the GET only works for .png. If .pdf is used, the request returns an error.

Note

GET Response Body

The response body is binary data of the .png or .pdf representation of the Analytics asset.